- Test with Ruby 3.5
- Remove deprecation message, put into passive maintenance mode
- Test with Ruby 3.4
- Repo moved
- Add deprecation message
- Breaking change: require Ruby 3.2+. If you need support for older Rubies, stay on version 6
- Set Railties dependency to
< 9 - Test with Rails 8
- Do not test with Ruby 3.0 and 3.1
- Breaking change: drop support for Ruby < 3. If you need to support older Rubies, stay on v5. If you'd like to support even older stuff, v4.5.0 is your choice as it plays nicely with Rails 5.1 and Ruby 2.5.
- Test only with Rails 7
- Fix some failing tests, minor tweaks
- Add support for Rails 7.
- Test against Rails 6.1 and Rails 7.0.
- Test against Ruby 3.0.
- Rails 5.1 is not supported officially anymore (but should still work fine).
- Ruby < 2.7 is not supported anymore (has reached end of life) but should still work.
- Added a new
HttpOnlyoption (thanks, @Lubo-mir) - Introduced some code refactorings
- Make the gem play nicely with controllers that do not have
protect_against_forgery?method defined — for example, certain Doorkeeper controllers (thanks, @amenz) - Updated dependencies and cops
- Ruby version 2.4 is no longer officially supported (though it still should work) - this is also due to the fact that v2.4 is abanoded by Ruby core team as well. Required Ruby version is now 2.5+ according to version compatibility.
- Dropped backwards compatibility with older versions of Rails (v4 and below). If you require Rails 4 support, use angular_rails_csrf v3.
- Increased test coverage up to 100%.
- Added a new
angular_rails_csrf_same_siteoption which defaults to:lax(thanks, @timobleeker)- This option is introduced to comply with the latest changes: https://www.chromium.org/updates/same-site
- Update cops
- Added a new
angular_rails_csrf_secureoption (thanks, @DougKeller) - Tested against Ruby 2.7
- Updated dependencies, tested against more recent Rubies and Rails
- Updated Gemfile for Bundler 2
- Added Rubocop and SimpleCov
Updated:
- Added support for Rails 6.0
- Drop support for Rails 4
New feature:
- Allow cookie's name to be customized (thanks, @timobleeker)
Updated:
- Added support for Rails 5.2.0
Testing:
- Tested against more recent Ruby/Rails versions
New feature:
- Allow cookie domain to be set via
Rails.application.config(thanks, @gingermusketeer)
Updated:
- Dropped support for Rails < 4
- Dropped official support for Ruby 2.2 though it should still work
Testing:
- Test against more recent versions of Ruby and Rails
Updated:
- Added support for Rails 5.1.1
Testing:
- Test against more recent versions of Ruby
- Test against Rails 5.1.1
Updated:
- Added support for Rails 5.1
Testing improvements:
- Tested against Rails 5.1
- Tested against Ruby 2.4.0
- We are no longer testing against Rails < 4.2
Breaking changes:
- Revert to
after_actionagain (fixes issues with Devise and similar solutions) - Introduced a new
exclude_xsrf_token_cookieclass method to exclude setting CSRF token for certain controllers. This is done to take care of problems with streaming.
Updated:
- Added support for Rails 5
railsdependency changed torailties
Testing improvements:
- Tested against Rails 5
- Tested against Ruby 2.2.5 and 2.3.0