A bug report triggered us to
- improve support of
angular_xss
for HAML6 and Rails 7.1 - find out that the gem is no longer needed for any of our projects in active development
angular_xss 1.0 is thus the final release, it's now marked as unmaintained
1.0 2024-07-02
Compatible changes
- Bump version to 1.0 as this gem has been production-ready for 10 years
- Declare the gem to be unmaintained
- Add compatibility with Rails 7.1
- Add compatibility with HAML 6
- NOTE: Don't use HAML 6.0.0. AngularXSS relies on a patch introduced in 6.0.1 Show archive.org snapshot . Anything newer should be fine - the gem is currently tested against HAML 6.3
- Refactor our patches to use
Module#prepend
instead ofModule#module_eval
- Refactor gem version comparisons to use
Gem::Version
instances - Refactor specs to use the
expect
syntax - Improve test coverage for more interpolation scenarios in ERB and HAML
- Add unit tests for patched methods
Posted by Michael Leimstädtner to makandra dev (2024-07-02 14:04)