New
v4.0.0
Rails 7.0 Support
The primary change for this release is support for Rails 7.0, with one breaking change.
- Using
#encrypted_attributesis no longer supported. Instead, use#attr_encrypted_encrypted_attributesto avoid collision with Active Record 7 native encryption.
Dropping support for Rails 3 and 4
Support for Rails 3 and 4 was dropped as part of this release.
What's Changed
- Change version to 3.1.0 in Readme by @f3ndot in https://github.com/attr-encrypted/attr_encrypted/pull/297
- Add frozen_string_literal: true by @dillonwelch in https://github.com/attr-encrypted/attr_encrypted/pull/302
- Fix random OpenSSL::Cipher::CipherErrors/iv argument errors by @bfreese in https://github.com/attr-encrypted/attr_encrypted/pull/320
- Use a lazy load hook to configure Active Record by @eugeneius in https://github.com/attr-encrypted/attr_encrypted/pull/327
- Fixed a typo in docs by @bitsapien in https://github.com/attr-encrypted/attr_encrypted/pull/328
- Only load key if needed by @ankane in https://github.com/attr-encrypted/attr_encrypted/pull/310
- Make note about unique key/IV pair more prominent in docs by @ankane in https://github.com/attr-encrypted/attr_encrypted/pull/333
- Modern Ruby + ActiveRecord, Update Travis Config by @joshbranham in https://github.com/attr-encrypted/attr_encrypted/pull/416
- Add support for Ruby 2.7 and its kwargs by @igor-drozdov in https://github.com/attr-encrypted/attr_encrypted/pull/383
- Fixed bug where we were comparing versions as strings by @mvastola in https://github.com/attr-encrypted/attr_encrypted/pull/419
- Fix typo in README by @joshbranham in https://github.com/attr-encrypted/attr_encrypted/pull/421
- Fix typo in README by @joshbranham in https://github.com/attr-encrypted/attr_encrypted/pull/422
- Add (failable) tests to Travis for RoR 6/6.1/7 by @mvastola in https://github.com/attr-encrypted/attr_encrypted/pull/429
- Fix for set_attribute_was patch issue and Rails 7 support by @vimalvnair in https://github.com/attr-encrypted/attr_encrypted/pull/434
- Release 4.0.0 by @joshbranham in https://github.com/attr-encrypted/attr_encrypted/pull/435
- Drop gem signing by @joshbranham in https://github.com/attr-encrypted/attr_encrypted/pull/436
New Contributors
- @f3ndot made their first contribution in https://github.com/attr-encrypted/attr_encrypted/pull/297
- @dillonwelch made their first contribution in https://github.com/attr-encrypted/attr_encrypted/pull/302
- @bfreese made their first contribution in https://github.com/attr-encrypted/attr_encrypted/pull/320
- @eugeneius made their first contribution in https://github.com/attr-encrypted/attr_encrypted/pull/327
- @bitsapien made their first contribution in https://github.com/attr-encrypted/attr_encrypted/pull/328
- @ankane made their first contribution in https://github.com/attr-encrypted/attr_encrypted/pull/310
- @igor-drozdov made their first contribution in https://github.com/attr-encrypted/attr_encrypted/pull/383
- @vimalvnair made their first contribution in https://github.com/attr-encrypted/attr_encrypted/pull/434
Full Changelog: https://github.com/attr-encrypted/attr_encrypted/compare/3.1.0...v4.0.0