diff --git a/CHANGELOG.md b/CHANGELOG.md index ccfd2ef..6ecd38a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 2.4.1 (2024-01-08) + +* Fixed: Calling `#attributes` on the base record after a cast works now and does not throw a `MutationAfterCastError` + ## 2.4.0 (2023-12-22) * Added: You can implement an `#after_cast` that is called with the original record when calling `ActiveType.cast`. Thanks to @MaximilianoGarciaRoe. diff --git a/Gemfile.5.2.mysql2.lock b/Gemfile.5.2.mysql2.lock index 56fa360..6216f1c 100644 --- a/Gemfile.5.2.mysql2.lock +++ b/Gemfile.5.2.mysql2.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.4.0) + active_type (2.4.1) activerecord (>= 3.2) GEM diff --git a/Gemfile.5.2.pg.lock b/Gemfile.5.2.pg.lock index 8499ae9..12c8fca 100644 --- a/Gemfile.5.2.pg.lock +++ b/Gemfile.5.2.pg.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.4.0) + active_type (2.4.1) activerecord (>= 3.2) GEM diff --git a/Gemfile.5.2.sqlite3.lock b/Gemfile.5.2.sqlite3.lock index eda2f89..46ecc12 100644 --- a/Gemfile.5.2.sqlite3.lock +++ b/Gemfile.5.2.sqlite3.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.4.0) + active_type (2.4.1) activerecord (>= 3.2) GEM diff --git a/Gemfile.6.0.sqlite3.lock b/Gemfile.6.0.sqlite3.lock index caeb195..8e60cf5 100644 --- a/Gemfile.6.0.sqlite3.lock +++ b/Gemfile.6.0.sqlite3.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.4.0) + active_type (2.4.1) activerecord (>= 3.2) GEM diff --git a/Gemfile.6.1.pg.lock b/Gemfile.6.1.pg.lock index f823d6b..b604e1a 100644 --- a/Gemfile.6.1.pg.lock +++ b/Gemfile.6.1.pg.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.4.0) + active_type (2.4.1) activerecord (>= 3.2) GEM diff --git a/Gemfile.6.1.sqlite3.lock b/Gemfile.6.1.sqlite3.lock index 7437462..7bc0ac6 100644 --- a/Gemfile.6.1.sqlite3.lock +++ b/Gemfile.6.1.sqlite3.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.4.0) + active_type (2.4.1) activerecord (>= 3.2) GEM diff --git a/Gemfile.7.0.pg.lock b/Gemfile.7.0.pg.lock index 25dad7c..c0cba99 100644 --- a/Gemfile.7.0.pg.lock +++ b/Gemfile.7.0.pg.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.4.0) + active_type (2.4.1) activerecord (>= 3.2) GEM diff --git a/Gemfile.7.0.sqlite3.lock b/Gemfile.7.0.sqlite3.lock index 5bd8ec8..5d25275 100644 --- a/Gemfile.7.0.sqlite3.lock +++ b/Gemfile.7.0.sqlite3.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.4.0) + active_type (2.4.1) activerecord (>= 3.2) GEM diff --git a/lib/active_type/version.rb b/lib/active_type/version.rb index 0018c55..1b40965 100644 --- a/lib/active_type/version.rb +++ b/lib/active_type/version.rb @@ -1,3 +1,3 @@ module ActiveType - VERSION = '2.4.0' + VERSION = '2.4.1' end