|
1 | | -# attr_encrypted # |
| 1 | +# attr_encrypted |
| 2 | + |
| 3 | +## Unreleased |
| 4 | + |
| 5 | +* Reduce gem size by excluding test files |
| 6 | + |
| 7 | +## 4.2.0 |
| 8 | + |
| 9 | +* Changed: Set minimum Ruby version as 2.7. |
| 10 | +* Added: Rails 7.2 and 8.0 support. |
| 11 | +* Fixed: Further removal of `datamapper` support. |
| 12 | + |
| 13 | +## 4.1.1 |
| 14 | + |
| 15 | +* Fixed: Fix SystemStackError when extending the reload method with Module#prepend. |
| 16 | + |
| 17 | +## 4.1.0 |
| 18 | + |
| 19 | +* Changed: Dropped support for `datamapper` which has not had a release since October 2011. This is in an attempt to make |
| 20 | + maintenance and testing easier moving forward. |
| 21 | + |
| 22 | +## 4.0.0 |
| 23 | + |
| 24 | +* Added: Support for Ruby >= 3.0. |
| 25 | +* Added: Rails 7 support. |
| 26 | +* Changed: Using `#encrypted_attributes` is no longer supported. Instead, use `#attr_encrypted_encrypted_attributes` to avoid |
| 27 | + collision with Active Record 7 native encryption. |
| 28 | + |
| 29 | +## 3.1.0 |
2 | 30 |
|
3 | | -## 3.1.0 ## |
4 | 31 | * Added: Abitilty to encrypt empty values. (@tamird) |
5 | 32 | * Added: MIT license |
6 | 33 | * Added: MRI 2.5.x support (@saghaulor) |
|
11 | 38 | * Fixed: Only check empty on strings, allows for encrypting non-string type objects |
12 | 39 | * Fixed: Fixed how accessors for db columns are defined in the ActiveRecord adapter, preventing premature definition. (@nagachika) |
13 | 40 |
|
14 | | -## 3.0.3 ## |
| 41 | +## 3.0.3 |
| 42 | + |
15 | 43 | * Fixed: attr_was would decrypt the attribute upon every call. This is inefficient and introduces problems when the options change between decrypting an old value and encrypting a new value; for example, when rotating the encryption key. As such, the new approach caches the decrypted value of the old encrypted value such that the old options are no longer needed. (@johnny-lai) (@saghaulor) |
16 | 44 |
|
17 | | -## 3.0.2 ## |
| 45 | +## 3.0.2 |
| 46 | + |
18 | 47 | * Changed: Removed alias_method_chain for compatibility with Rails v5.x (@grosser) |
19 | 48 | * Changed: Updated Travis build matrix to include Rails 5. (@saghaulor) (@connorshea) |
20 | 49 | * Changed: Removed `.silence_stream` from tests as it has been removed from Rails 5. (@sblackstone) |
21 | 50 |
|
22 | | -## 3.0.1 ## |
| 51 | +## 3.0.1 |
| 52 | + |
23 | 53 | * Fixed: attr_was method no longer calls undefined methods. (@saghaulor) |
24 | 54 |
|
25 | | -## 3.0.0 ## |
| 55 | +## 3.0.0 |
| 56 | + |
26 | 57 | * Changed: Updated gemspec to use Encryptor v3.0.0. (@saghaulor) |
27 | 58 | * Changed: Updated README with instructions related to moving from v2.0.0 to v3.0.0. (@saghaulor) |
28 | 59 | * Fixed: ActiveModel::Dirty methods in the ActiveRecord adapter. (@saghaulor) |
29 | 60 |
|
30 | | -## 2.0.0 ## |
| 61 | +## 2.0.0 |
| 62 | + |
31 | 63 | * Added: Now using Encryptor v2.0.0 (@saghaulor) |
32 | 64 | * Added: Options are copied to the instance. (@saghaulor) |
33 | 65 | * Added: Operation option is set during encryption/decryption to allow options to be evaluated in the context of the current operation. (@saghaulor) |
|
48 | 80 | * Removed: Support for Rails < 3.x (@saghaulor) |
49 | 81 | * Removed: Unnecessary use of `alias_method` from ActiveRecord adapter. (@saghaulor) |
50 | 82 |
|
51 | | -## 1.4.0 ## |
| 83 | +## 1.4.0 |
| 84 | + |
52 | 85 | * Added: ActiveModel::Dirty#attribute_was (@saghaulor) |
53 | 86 | * Added: ActiveModel::Dirty#attribute_changed? (@mwean) |
54 | 87 |
|
55 | | -## 1.3.5 ## |
| 88 | +## 1.3.5 |
| 89 | + |
56 | 90 | * Changed: Fixed gemspec to explicitly depend on Encryptor v1.3.0 (@saghaulor) |
57 | 91 | * Fixed: Evaluate `:mode` option as a symbol or proc. (@cheynewallace) |
58 | 92 |
|
59 | | -## 1.3.4 ## |
| 93 | +## 1.3.4 |
| 94 | + |
60 | 95 | * Added: ActiveRecord::Base.reload support. (@rcook) |
61 | 96 | * Fixed: ActiveRecord adapter no longer forces attribute hashes to be string-keyed. (@tamird) |
62 | 97 | * Fixed: Mass assignment protection in ActiveRecord 4. (@tamird) |
63 | 98 | * Changed: Now using rubygems over https. (@tamird) |
64 | 99 | * Changed: Let ActiveRecord define attribute methods. (@saghaulor) |
65 | 100 |
|
66 | | -## 1.3.3 ## |
| 101 | +## 1.3.3 |
| 102 | + |
67 | 103 | * Added: Alias attr_encryptor and attr_encrpted. (@Billy Monk) |
68 | 104 |
|
69 | | -## 1.3.2 ## |
| 105 | +## 1.3.2 |
| 106 | + |
70 | 107 | * Fixed: Bug regarding strong parameters. (@S. Brent Faulkner) |
71 | 108 | * Fixed: Bug regarding loading per instance IV and salt. (@S. Brent Faulkner) |
72 | 109 | * Fixed: Bug regarding assigning nil. (@S. Brent Faulkner) |
73 | 110 | * Added: Support for protected attributes. (@S. Brent Faulkner) |
74 | 111 | * Added: Support for ActiveRecord 4. (@S. Brent Faulkner) |
75 | 112 |
|
76 | | -## 1.3.1 ## |
| 113 | +## 1.3.1 |
| 114 | + |
77 | 115 | * Added: Support for Rails 2.3.x and 3.1.x. (@S. Brent Faulkner) |
78 | 116 |
|
79 | | -## 1.3.0 ## |
| 117 | +## 1.3.0 |
| 118 | + |
80 | 119 | * Fixed: Serialization bug. (@Billy Monk) |
81 | 120 | * Added: Support for :per_attribute_iv_and_salt mode. (@rcook) |
82 | 121 | * Fixed: Added dependencies to gemspec. (@jmazzi) |
83 | 122 |
|
84 | | -## 1.2.1 ## |
| 123 | +## 1.2.1 |
| 124 | + |
85 | 125 | * Added: Force encoding when not marshaling. (@mosaicxm) |
86 | 126 | * Fixed: Issue specifying multiple attributes on the same line. (@austintaylor) |
87 | 127 | * Added: Typecasting to String before encryption (@shuber) |
88 | 128 | * Added: `"#{attribute}?"` method. (@shuber) |
89 | 129 |
|
90 | | -## 1.2.0 ## |
| 130 | +## 1.2.0 |
| 131 | + |
91 | 132 | * Changed: General code refactoring (@shuber) |
92 | 133 |
|
93 | | -## 1.1.2 ## |
| 134 | +## 1.1.2 |
| 135 | + |
94 | 136 | * No significant changes |
95 | 137 |
|
96 | | -## 1.1.1 ## |
| 138 | +## 1.1.1 |
| 139 | + |
97 | 140 | * Changled: Updated README. (@shuber) |
98 | 141 | * Added: `before_type_cast` alias to ActiveRecord adapter. (@shuber) |
0 commit comments