- Drop support for Ruby 2.5.1 and Rails 5.1: The minimum supported versions are now Ruby 2.6.2 and Rails 5.2. Ruby 2.5.1 reached end-of-life in March 2021 and is no longer available on modern CI infrastructure (Ubuntu 24.04).
- Fix Ruby 2.6 compatibility in
MethodAccessibleHashby converting method symbol to string before callingend_with?(Symbol#end_with?was added in Ruby 2.7) - Fix Ruby 2.5/2.6 compatibility by replacing argument forwarding syntax (
...) with explicit*args, &blockin schema validation mixin - Add inline documentation to Query, Query::Chainable, and RawSqlUtils classes
- Add MIGRATION.md guide with examples for migrating from raw ActiveRecord queries and upgrading between Inquery versions
- Refactor argument parsing in
Query::Chainablefor improved readability and maintainability while preserving backward compatibility - Increase test coverage from 87.1% to 90.97% by adding tests for error handling, relation validation edge cases, and schema validation
- Add integration tests for RawSqlUtils mixin (
sanandexec_querymethods) - Move all development dependencies from gemspec to Gemfile for cleaner separation of runtime and development dependencies
- Remove unused dependencies:
yard,haml, andredcarpet - Remove YARD documentation files and configuration
- Update RuboCop from version 1.25 to ~> 1.60 and fix new style violations
- Replace deprecated
OpenStructwithMethodAccessibleHashto ensure compatibility with Ruby 3.5+ - Remove debug code from
Query::Chainable#callmethod - Fix Ruby 3.0+ compatibility by explicitly requiring
logger - Constrain
sqlite3to version~> 1.4.0for Rails 6.1 and 7.0 to avoid version conflicts - Update
RUBY_VERSIONtoruby-3.3.5 - Add support for Rails 7.1, 7.2, 8.0, and 8.1
- Add support for Ruby 3.2, 3.3, and 3.4
- Update sqlite3 gem requirement to
>= 2.5for Rails 7.2+ to ensure Ruby 3.4 compatibility - Add explicit version constraints for runtime dependencies:
activesupportandactiverecordnow require>= 5.1,schemacopallows>= 3.0.8, < 4.0for better dependency resolution and compatibility
-
Add configuration option
config.default_schema_versionthat allows you to specify the schema version in effect when using theschemaDSL method. For backwards compatibility, this new setting defaults to2.Internal reference:
#115859.
- Update gem-internal ruby version and remove
bundlerfrom gemspec
-
Update
schemacopto version~> 3.0.8 -
Add the following ruby versions to travis testing:
2.5.12.6.22.7.13.0.0
-
Remove ruby
2.3.0from travis testing
- Improve support for schemacop 3.x
- Improve support for schemacop 3.x
- Improve support for schemacop 3.x
- Improve support for schemacop 3.x and document it
- Add support for schemacop 3.x (but still using 2.x schema version)
- Overwrite parameter hash with the casted version if using
casting inside the schemacop
schemablock
-
Add new mixin
RawSqlUtils, which provides two methods forInquery::Query:san: Sanitizes SQL and performs parameter substitutionexec_query: For directly executing SQL queries
- Pin
schemacopversion properly
- Initial release