jsonb_accessor
dropped support for Ruby 2 and Rails versions lower than 6.1. Support for ActiveRecord::Enum was also dropped because ActiveRecord 7.1 now requires each enum field to be backed by a database column. Enums will still work when using AR versions lower than 7.1. This is a limitation of Rails, not of this gem.
- Bug fix: An array of datetimes previously caused an error. #169. Thanks @bekicot.
- Rails 7.1 is officially supported and tested against.
A new release was necessary to fix the corrupted 1.3.9 Java release on RubyGems.
A new release was necessary to fix the corrupted 1.3.8 Java release on RubyGems.
- Support for ActiveRecord::Enum. #163
- jruby support. jsonb_accessor now depends on
activerecord-jdbcpostgresql-adapter
instead ofpg
when the RUBY_PLATFORM is java. #157
- Bug fix: Datetime values were not properly deserialized #155
- Bug fix: Attributes defined outside of jsonb_accessor are not written #149
- Bug fix: Raised ActiveModel::MissingAttributeError when model was initialized without the jsonb_accessor field #145
- Bug fix: DateTime objects are now correctly written without timezone information #137. Thanks @caiohsramos