active_attr breaking changes
active_attr 0.15.0 (June 12, 2019) is its newest release with breaking changes. The first: Numeric typecasters now cast nil and empty strings to nil in active_attr 0.15.0. Every breaking API change we have recorded in active_attr on RubyGems: 19 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.17.2. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
active_attr 0.15.0 breaking changes
- Behavior changed
Numeric typecasters now cast nil and empty strings to nil. Code that relied on the previous casting of these values should be checked. github.com
active_attr 0.14.0 breaking changes
- Removed
Ruby
Ruby versions below 1.9.2 are no longer supported. Upgrade Ruby before using this release. github.com - Behavior changed
Attributes.inspect
Attributes#inspect now hides attributes listed in filtered_attributes, which defaults to Rails filter_parameters in Rails apps. Code that parses inspect output may see fewer attributes. github.com - Behavior changed
HaveAttributeMatcher.with_default_value_of
The matcher now supports Procs as default values; existing non-Proc usage is unaffected, so this is listed only for completeness. github.com - Behavior changed
Typecasting.BooleanTypecaster
BooleanTypecaster now casts nil and empty strings to false instead of leaving them as nil. Check code that relies on nil being preserved for boolean attributes. github.com
active_attr 0.12.0 breaking changes
- Behavior changed
Typecasting.BooleanTypecaster
Strings starting with a zero character are now cast to true by BooleanTypecaster. Check code that relied on those strings casting to false. github.com
active_attr 0.9.0 breaking changes
- Default changed
ActiveModel.Serializers.Xml
Serialization no longer includes XML serialization by default. To keep XML output, include the ActiveModel::Serializers::Xml module, which requires the activemodel-serializers-xml gem. github.com
active_attr 0.8.0 breaking changes
- Removed
MassAssignmentSecurity
MassAssignmentSecurity was removed and its sanitizer support merged into MassAssignment. Include the ActiveModel::MassAssignmentSecurity module or ActiveModel::ForbiddenAttributesProtection depending on your Rails version. github.com - Behavior changed
HaveAttributeMatcher
Failure messages from the HaveAttributeMatcher now use an expected/got format, so tests that match on the old message text may need updating. github.com
active_attr 0.6.0 breaking changes
- Removed
Typecasting.typecast_value
Typecasting#typecast_value no longer exists. Code calling it must change to another approach. github.com - Signature changed
Typecasting.typecast_attribute
Typecasting#typecast_attribute takes a typecaster object rather than a type. Update callers that passed a type. github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
active_attr 0.5.0 breaking changes
- Removed
StrictMassAssignment
Use MassAssignmentSecurity with ActiveModel v3.2 and set mass_assignment_sanitizer to :strict on the class instead. github.com - Behavior changed
Defining an attribute that already exists now replaces the earlier definition. Code that relied on the old definition staying in place may behave differently. github.com
And 1 more in this version.
active_attr 0.3.0 breaking changes
- Behavior changed
[]
The [] reader now calls user-defined getter methods instead of reading the raw value directly. github.com - Behavior changed
[]=
The []= writer now calls user-defined setter methods instead of writing the raw value directly. github.com
And 3 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.