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.
Releases are done in our "stable" branches, eg. 4-3-stable
so if you're
looking at master
and don't see a release here, it's because we forgot to
cherry-pick it from the stable branch into master.
- Breaking Changes
- #629 -
Drop validations deprecated in 4.4.0.
- See doc/use_normal_rails_validation.md
- #640 -
Drop
Authlogic::Regex
- #628 -
Drop
authenticates_many
, deprecated in 4.4.0 - #617 - Drop AES-256 crypto provider, deprecated in 4.2.0
- #617 - Drop restful_authentication, deprecated in 4.1.0
- #618 -
Uses
frozen_string_literal
, so assume all strings returned are frozen
- #629 -
Drop validations deprecated in 4.4.0.
- Added
- None
- Fixed
- #638 - Address Rails 5.1 changes to ActiveModel::Dirty
- Dependencies
- #632 - Add support for rails 6.0, drop support for rails < 5.2. See doc/rails_support_in_authlogic_5.0.md for details.
- Breaking Changes
- None
- Added
- None
- Fixed
- Improved instructions in deprecation warning for validations
- Breaking Changes
- None
- Added
- None
- Fixed
- The methods for disabling Authlogic's "special" validations,
eg.
validate_email_field = false
are actually deprecated, but should not produce a deprecation warning. - Only produce deprecation warning when configuring a validation, not when performing actual validation.
- The methods for disabling Authlogic's "special" validations,
eg.
- Breaking Changes
- None
- Added
- None
- Fixed
- None
- Deprecation
- #627 -
Deprecate
authenticates_many
without replacement - #623 - Deprecate unnecessary validation features, use normal rails validation instead. See doc/use_normal_rails_validation.md
- #627 -
Deprecate
- Breaking Changes
- None
- Added
- None
- Fixed
- None
- Dependencies
- Drop support for ruby 2.2, which reached EoL on 2018-06-20
- Breaking Changes
- None
- Added
- #611 - Deprecate AES256, guide users to choose a better crypto provider
- Fixed
- None
- Breaking Changes
- None
- Added
- None
- Fixed
- #606 - Interpreter warnings about undefined instance variables
- Breaking Changes
- None
- Added
- None
- Fixed
- None
- Deprecated
- crypto_providers/wordpress.rb, without replacement
- restful_authentication, without replacement
- Breaking Changes
- None
- Added
- None
- Fixed
- #590 - Fix "cannot modify frozen gem" re: ActiveRecord.gem_version
-
Breaking Changes, Major
- Drop support for ruby < 2.2
- Drop support for rails < 4.2
- HTTP Basic Auth is now disabled by default (use allow_http_basic_auth to enable)
- 'httponly' and 'secure' cookie options are enabled by default now
- maintain_sessions config has been removed. It has been split into 2 new options: log_in_after_create & log_in_after_password_change (@lucasminissale)
- #558 Passing an ActionController::Parameters into authlogic will now raise an error
-
Breaking Changes, Minor
- Methods in Authlogic::Random are now module methods, and are no longer instance methods. Previously, there were both. Do not use Authlogic::Random as a mixin.
- Our mutable constants (e.g. arrays, hashes) are now frozen.
-
Added
-
Fixed
- Random.friendly_token (used for e.g. perishable token) now returns strings of consistent length, and conforms better to RFC-4648
- ensure that login field validation uses correct locale (@sskirby)
- add a respond_to_missing? in AbstractAdapter that also checks controller respond_to?
- #561 authenticates_many now works with scope_cookies:true
- Allow tld up to 24 characters per https://data.iana.org/TLD/tlds-alpha-by-domain.txt
-
Breaking Changes
- None
-
Added
- #580 Deprecated
ActionController::Parameters
, will be removed in 4.0.0
- #580 Deprecated
-
Fixed
- None
-
Breaking Changes
- None
-
Added
- None
-
Fixed
- Allow TLD up to 24 characters per https://data.iana.org/TLD/tlds-alpha-by-domain.txt
- #561 authenticates_many now works with scope_cookies:true
-
Breaking Changes
- None
-
Added
- Support rails 5.1
-
Fixed
- ensure that login field validation uses correct locale (@sskirby)
-
new
- Rails 5.0 support! Thanks to all reporters and contributors.
-
changes
- increased default minimum password length to 8 (@iainbeeston)
- bind parameters in where statement for rails 5 support
- change callback for rails 5 support
- converts the ActionController::Parameters to a Hash for rails 5 support
- check last_request_at_threshold even if last_request_at_update_allowed returns true (@rofreg)
- changes
- add Regex.email_nonascii for validation of emails w/unicode (@rchekaluk)
- allow scrypt 2.x (@jaredbeck)
- changes
- security-hardening fix and cleanup in persistence_token lookup
- security-hardening fix in perishable_token lookup (thx @tomekr)
- changes
- extract rw_config into an Authlogic::Config module
- improved the way config changes are made in tests
- fix for Rails 4.2 by extending ActiveModel
- changes
- backfill CHANGELOG
- better compatibility with jruby (thx @petergoldstein)
- added scrypt as a dependency
- cleanup some code (thx @roryokane)
- reference 'bcrypt' gem instead of 'bcrypt-ruby' (thx @roryokane)
- fixed typo (thx @chamini2)
- fixed magic column validations for Rails 4.2 (thx @tom-kuca)
- changes
- fixed the missing scrypt/bcrypt gem errors introduced in 3.4.1
- implemented autoloading for providers
- added longer subdomain support in email regex
- changes
- undid an accidental revert of some code
-
Breaking Changes
- made scrypt the default crypto provider from SHA512 (https://github.com/binarylogic/authlogic#upgrading-to-authlogic-340) See UPGRADING.md.
-
Added
- officially support rails 4 (still supporting rails 3)
- added cookie signing
- added request store for better concurency for threaded environments
- added a rack adapter for Rack middleware support
-
Fixed
- ditched appraisal
- improved find_with_case default performance
- added travis ci support
- changes
- added safeguard against a sqli that was also fixed in rails 3.2.10/3.1.9/3.0.18
- imposed the bcrypt gem's mincost
- removed shoulda macros
-
new
- scrypt support
-
changes
- moved back to LOWER for find_with_case ci lookups
- changes
- removed jeweler
- changes
- mostly test fixes
- changes
- mostly doc fixes
- changes
- mostly small bug fixes
-
changes
- rails 3.1 support
-
new
- http auth support
- changes
- doc fixes
- changes
- switch from LOWER to LIKE for find_with_case ci lookups
-
new
- ssl cookie support
- httponly cookie support
- added a session generator
-
changes
- rails 3 support
- ruby 1.9.2 support