Releases: thoughtbot/top_secret
Releases · thoughtbot/top_secret
v0.4.0
What's Changed
- Cache
Mitie::NERinitialization by @stevepolitodesign in #86 - Prepare for
v0.4.0release by @stevepolitodesign in #87
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
- Update README by @stevepolitodesign in #63
- Optimize initialization by @stevepolitodesign in #64
- Allow NER filtering to be disabled by @stevepolitodesign in #65
- Improve - move default model path to constants class by @rossme in #73
- Introduce
TopSecret::Text.scanby @stevepolitodesign in #70 - Introduce action to close stale issues and PRs by @stevepolitodesign in #76
- Support Rails 7.0+ by @clarissalimab in #74
- Refactor
TopSecret::Text.filter_allby @stevepolitodesign in #80 - Introduce
TopSecret::Text::{BatchResult, Result}#{sensitive?, safe?}by @stevepolitodesign in #77 - Prepare for
v0.3.0release by @stevepolitodesign in #81
New Contributors
- @rossme made their first contribution in #73
- @clarissalimab made their first contribution in #74
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Full Changelog: v0.1.1...v0.2.0
Added
- Added
TopSecret::Text.filter_allfor batch processing multiple messages with globally consistent redaction labels - Added
TopSecret::Text::BatchResultclass to hold results from batch operations - Added
TopSecret::FilteredTextclass for restoring filtered text by substituting placeholders with original values - Added
TopSecret::FilteredText::Resultclass to track restoration success and failures
Changed
- BREAKING: Moved
TopSecret::ResulttoTopSecret::Text::ResultandTopSecret::BatchResulttoTopSecret::Text::BatchResultfor better namespace organization - BREAKING: Refactored configuration system to use individual filter accessors instead of nested
default_filters - Updated
TopSecret::Text.filterto accept keyword arguments for filter overrides andcustom_filtersarray - Each default filter now has its own configuration accessor (e.g.,
TopSecret.email_filter,TopSecret.people_filter)
Migration Guide
- Replace
TopSecret::ResultwithTopSecret::Text::ResultandTopSecret::BatchResultwithTopSecret::Text::BatchResult - Replace
TopSecret.configure { |c| c.default_filters.email_filter = filter }withTopSecret.configure { |c| c.email_filter = filter } - Replace
TopSecret::Text.filter(text, filters: { email_filter: filter })withTopSecret::Text.filter(text, email_filter: filter) - For new filters, use
TopSecret::Text.filter(text, custom_filters: [filter])instead of adding todefault_filters
v0.1.1
What's Changed
- Ensure
min_confidence_scoreis respected by @stevepolitodesign in #39 - Prepare for
0.1.1release by @stevepolitodesign in #41
Full Changelog: v0.1.0...v0.1.1
Initial Release
Initial release