All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased - TBD
1.13.0 - 2022-05-13
- Added a matcher for
replace_newlines
(#62) - Added Ruby 3.1 support
1.12.0 - 2021-12-20
1.11.0 - 2020-04-02
- Prevent stripping frozen values (#53)
1.10.1 - 2020-04-02
- Fix strip behavior for frozen values (#53)
NOTE: This fix is backwards incompatible, but a future version will avoid stripping frozen values altogether.
1.10.0 - 2020-03-31
- Clean up and remove (now) redundant #respond_to? calls (#49)
- Legacy and deprecation cleanup (#50)
- Update matcher to take list of arguments; alias it as #strip_attributes (#52)
1.9.2 - 2020-02-16
- Fix regression in 1.9.1: Arrays & Hashes now become nil (#48)
1.9.1 - 2020-02-14
- Add official Ruby 2.7 support (#45)
- Zero-width space doesn't result in nil after stripping (#46)
- Fix zero width space strip to nil (#47)
1.9.0 - 2019-02-24
- Adds
:if
and:unless
options (#37)
1.8.1 - 2019-01-22
- Add Rails 6 compatibility (#36)
1.8.0 - 2016-06-02
Added multibyte whitespace support to :collapse_spaces
option (#32)
1.7.1 - 2015-08-24
- Avoid Encoding::CompatibilityError when handling binary column (#29)
1.7.0 - 2015-02-10
- Added option to remove all newlines (#27)
:replace_newlines
1.6.0 - 2015-01-23
- Refactored to expose
StripeAttributes.strip
- Added fallback to
String#strip
for non-multibyte support
1.5.1 - 2014-03-25
- Updated matcher signatures to account for RSpec 3