Skip to content

Latest commit

 

History

History
185 lines (155 loc) · 7.44 KB

CHANGELOG.md

File metadata and controls

185 lines (155 loc) · 7.44 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • docker compose file for Earthly in order to give a project name

0.44.1 - 2023-08-02

Changed

  • Allows one to change what should be done with the slow query log message

0.44.0 - 2023-07-31

Added

  • Slow Queries Logger feature logging slow queries in a dedicated log file

Fixed

  • first_or_create with a polymorphic association #288

0.43.0 - 2022-06-16

Added

  • Implements polymorphic associations

0.42.0 - 2022-06-15

Added

  • Add support for partial compound index queries

0.41.1 - 2022-03-21

Fixed

  • Removing table_config duplicates after a runtime exception (caspiano)

0.41.0 - 2021-10-17

Added

  • ActiveRecord store_accessor helper method

Fixed

  • gemspec dependencies on activemodel and activesupport

0.40.0 - 2021-10-16

Fixed

  • Ruby 3 compatibility
  • Test Ruby 3 + Rails 7 alpha2 on Travis CI

0.36.0 - 2021-08-08

Added

  • Array and TypedArray types for validation and serialization

0.35.0 - 2021-08-08

Added

  • Dockerfile, docker-compose and Earthfile
  • Test Ruby 3 + Rails 6 on Travis CI
  • Implements the ReQL during command

0.34.1 - 2021-02-18

Fixed

  • Defining attributes at class level (Rails 6.1 compatibity)
  • Ruby 2.7 support

0.34.0 - 2019-10-15

Added

  • Rails 6 support
  • Support for the nonvoting_replica_tags table option

0.33.0 - 2016-11-27

Added

  • Allow a run_options to be configured globally
  • Support for username and password authentication

Changed

  • Use URI.decode() for user and password in the RethinkDB URL
  • Also comment active_record lines in the config/initializers/*.rb on gem installation
  • Removed .unscoped when fetching belongs_to associations
  • update_all() operates without ordering
  • has_many dependent refactoring
  • Default logger should be STDERR if the rails logger is not initialized
  • Locking: changes lock key type from string to text in order to support more than 255 characters keys by default, the key type needs to be Text.
  • field type for rql_function to :text

Fixed

  • Model reloading with Rails5
  • Rails 5 Strong Parameters: Strong parameters are not a Hash anymore in Rails 5, but support transforming into a hash

0.32.0 - 2016-06-05

Added

  • Compatiblity with Rails5
  • order() as an alias of order_by()
  • Provide attribute_will_change!() for compatibility

Changed

  • Comments more active_record related configs during install

Fixed

  • Rails 5 deprecation: Using ActiveSupport::Reloader instead of ActionDispatch::Reloader to be ready when Rails 5 hits
  • config syntax

Removed

  • JRuby and Rbx in travis-ci

0.31.0 - 2016-02-07

Added

  • Allow belongs_to association names to be used in upsert params
  • uniq shorthand for the belongs_to association
  • Allow self-referential belongs_to
  • Prevent double loading of the same model
  • Use index for where(XXX.defined => true)
  • Guard against bad virtual attribute expressions
  • Allow non existing attributes to be lazy fetched
  • Added back update_attributes()

Fixed

  • Fix join on keys that are undefined

Changed

  • where() leverages the association translation abstraction
  • Primary keys time offset should operate on fixed timezone

Removed

  • Removing locking around sync_table_config

0.30.0 - 2015-10-03

Added

  • Add rbx-2 to .travis.yml
  • Add the virtual attribute feature
  • Lock: Allow find() to get locks by key
  • Locks: Allow default expire/timeout values to be passed in new()
  • NoBrainer::ReentrantLock implementation
  • Allow compound indexes to be declared with an implicit name
  • Allow polymorphic queries with first_or_create under certain conditions

Changed

  • Prevent first_or_create() to accept block with arguments

Fixed

  • Fix rails issue with tests and profiler
  • Fix where() .include modifier with type checking
  • Virtual attribute option fix
  • Discard documents when join() encounter a nil join key
  • Locks: bug fix: allow small timeouts in lock()
  • Fix reentrant lock counter on steals