Skip to content

Latest commit

 

History

History
104 lines (74 loc) · 3.5 KB

File metadata and controls

104 lines (74 loc) · 3.5 KB

Change log

1.1.0 (2026-01-05)

  • 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 MethodAccessibleHash by converting method symbol to string before calling end_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, &block in 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::Chainable for 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 (san and exec_query methods)
  • Move all development dependencies from gemspec to Gemfile for cleaner separation of runtime and development dependencies
  • Remove unused dependencies: yard, haml, and redcarpet
  • Remove YARD documentation files and configuration
  • Update RuboCop from version 1.25 to ~> 1.60 and fix new style violations
  • Replace deprecated OpenStruct with MethodAccessibleHash to ensure compatibility with Ruby 3.5+
  • Remove debug code from Query::Chainable#call method
  • Fix Ruby 3.0+ compatibility by explicitly requiring logger
  • Constrain sqlite3 to version ~> 1.4.0 for Rails 6.1 and 7.0 to avoid version conflicts
  • Update RUBY_VERSION to ruby-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.5 for Rails 7.2+ to ensure Ruby 3.4 compatibility
  • Add explicit version constraints for runtime dependencies: activesupport and activerecord now require >= 5.1, schemacop allows >= 3.0.8, < 4.0 for better dependency resolution and compatibility

1.0.11 (2023-08-24)

  • Add configuration option config.default_schema_version that allows you to specify the schema version in effect when using the schema DSL method. For backwards compatibility, this new setting defaults to 2.

    Internal reference: #115859.

1.0.10 (2022-05-19)

  • Update gem-internal ruby version and remove bundler from gemspec

1.0.9 (2021-02-24)

  • Update schemacop to version ~> 3.0.8

  • Add the following ruby versions to travis testing:

    • 2.5.1
    • 2.6.2
    • 2.7.1
    • 3.0.0
  • Remove ruby 2.3.0 from travis testing

1.0.8 (2020-11-24)

  • Improve support for schemacop 3.x

1.0.7 (2020-11-24)

  • Improve support for schemacop 3.x

1.0.6 (2020-11-24)

  • Improve support for schemacop 3.x

1.0.5 (2020-11-24)

  • Improve support for schemacop 3.x and document it

1.0.4 (2020-11-24)

  • Add support for schemacop 3.x (but still using 2.x schema version)

1.0.3 (2020-05-12)

  • Overwrite parameter hash with the casted version if using casting inside the schemacop schema block

1.0.2 (2019-10-09)

  • Add new mixin RawSqlUtils, which provides two methods for Inquery::Query:

    • san: Sanitizes SQL and performs parameter substitution
    • exec_query: For directly executing SQL queries

1.0.1 (2017-05-17)

  • Pin schemacop version properly

1.0.0 (2017-05-16)

  • Initial release