Remove Rails 5.2 and 6.0 support
Remove Ruby 2.7 support
Add Rails 7.1 support
Add Ruby 3.2 and 3.3 support
Support different touch interval based on expiration time (Daniel André da Silva)
Fix invalid headers generated when model is namespaced (Ariel Agne da Silveira)
Add Rails 7.0 support
Add Ruby 3.1 support
Remove Ruby 2.6 support
Add ability to track additional info in tokens (Marcelo Silveira)
Remove Ruby 2.5 support
Add Rails 6.1 support
Add Ruby 3.0 support
Remove Rails 4.2 support
Remove Ruby 2.4 support
Add Rails 6 support
Fix warning on Ruby 2.7 (Andy Klimczak)
Skip CSRF clean up (Marcelo Silveira)
Support for Devise 4.6.
Relax dependency on Devise.
Support for Devise 4.5
Adds support for MongoDB.
New feature: optional token expiration after period of inactivity - #37
You have to add expires_in
field to the database table holding the tokens
to benefit from this feature.
No major changes - just a stable version release.
Adds support for Rails 5. Requires Devise 4.
Adds support for authentication keys other than email.
Breaking changes. Token digest is stored in the database, not the actual token. This will invalidate all your existing tokens (logging users out) unless you migrate existing tokens. In order to migrate execute:
AuthenticationToken.find_each do |token|
token.body = Devise.token_generator.digest(AuthenticationToken, :body, token.body)
token.save!
end
assuming that your model which stores tokens is called AuthenticationToken
.