- Add support for Ruby 3.4
- Add support for Rails 8.0
- Drop support for EOL Ruby 3.0 (EOL since April 1st 2024)
- Drop support for EOL Rails 6.1 (EOL since October 1st 2024)
- Add support for Rails 7.2
- Fix Dependabot updates
- Fix
NoMethodError
when callingselector_for?
oranonymise_for!
on a model class without ananonymise
config block - Include reference to anonymised record in
Anony::Result
to allow easier matching of results to records when using selectors.
- Update cops to use
Base
rather thanCop
as a base class as the latter has been deprecated
- Update gc_ruboconfig development dependency to v5.0.0
- Add support for Ruby 3.2, 3.3 and Rails 7.1
- Drop support for EOL Ruby 2.6, 2.7 and Rails 6.0
- Add support for configuring multiple superclasses for the
DefineDeletionStrategy
cop #98 - Introduce helpers (selectors) for anonymising all a subject's records #97
- Drop ruby 2.4 and 2.5 support
- Unpin ActiveSupport for Rails 7
- Unpin ActiveSupport for Rails 6
- Throw a more useful exception when calling .anonymise without config #53
- Create a result object when calling
anonymise!
#44
- Allow customising the model superclass for the
DefineDeletionStrategy
cop #36
- Add ability to prevent anonymisation with
skip_if
#25
- Fix breakage when applying a strategy multiple times #35
- *BREAKING- Switch to nesting field-level configuration in a
fields
block #32. This should just be a case of switchinganonymise { ... }
toanonymise { fields { ... } }
in most cases, but for more details please check the README. - *BREAKING-
Anony::Strategies.register
was renamed toAnony::FieldLevelStrategies.register
.
- Use ActiveRecord::Persistence#current_time_from_proper_timezone #34
- Make
valid_anonymisation?
a class method #24 - Allow dynamic registration of Anony::Strategies #23
- Only apply anonymisation strategies to columns that are defined #28
- Allow using a constant value as a strategy #19
- Fix
anonymised_at
column #13
- Support
anonymised_at
column #9
- Fix relative require in DefineDeletionStrategy cop #8
- Improve the README #5
- Use Rubocop for testing code style #6
- Add an RSpec helper for testing #7
Initial release.