lint_rolleris removed as dependency. It is not needed
- Add RuboCop plugin system via LintRoller for RuboCop >= 1.72
- Add Rails 8.1 support
- Set minimum Ruby version to 3.2 and minimum Rails version to 7.2
- Remove Rails 5 compatibility code
- Loosen gemspec development dependency version constraints
- Modernize CI configuration and add dedicated RuboCop workflow
- Consolidate database configuration into
config/database.yml - Add local development database setup with Docker Compose
- Fix RuboCop integration. Thank to Evgeny Matveyev for fixing it.
- Add SQLite support for
db_belongs_tovalidation - Add SQLite support for
validates_db_uniqueness_ofoptions:index_name,where, and complex indexes
- Skip checking of foreign keys and unique indexes presence for abstract classes.
- Add
rescue: :default|:alwaysoption toDbUniquenessValidator.
- Add support of Ruby 3. Thanks John Duff for the contribution.
- Remove deprecation warning when
connection_configis used in Rails 6.1 (Use connection_db_config instead). Thanks Alfonso Uceda for the contribution.
- Respect
validate: falseoption when usingsave/save!for Rails 5+. Thanks Arkadiy Zabazhanov for the contribution.
- Add support of different
modetoDbUniquenessValidator. Thanks Arkadiy Zabazhanov for the contribution.
- Fix a warning message from newest Ruby version
- Fix support of newest MySQL version
- Add case sensitive option to
validate_db_uniqueness_ofRSpec matcher
- Change the way of storing database validations
- Improve performance
- Refactor
- New syntax sugar
- Internal improvements
- We raise an error if
scopeorwhereoptions are missed for thevalidates_db_uniqueness_of
- Hot-fix for
validate_db_uniqueness_ofRSpec matcher
- Hot-fix for
validates_db_uniqueness_of
- Refactor and performance improvement
- Refactor and slight performance improvement
- Fix a behavior for 3rd parties such as
simple_form
- Fix a bug for
db_belongs_to, validation should checkblank?notnil?
- Fix bug for
db_belongs_towhen we skip other validations if the relation is missing
- Fix RuboCop cop for
validates_db_uniqueness_ofto catchvalidates_uniqueness_ofdefinition too.
- Add RuboCop cop for
db_belongs_toandvalidates_db_uniqueness_of
- Add
db_belongs_to
- Add support of
case_sensitiveoption forvalid?forPostgreSQL
- Extend RSpec matcher to accept instance of model
- Fix rake task issue for rails
- Adjust RSpec matcher to support
index_nameoption
- Add support of
index_nameoption toPostgreSQLandMySQLdatabases