Skip to content

Latest commit

 

History

History
347 lines (262 loc) · 8.99 KB

CHANGELOG.md

File metadata and controls

347 lines (262 loc) · 8.99 KB

Changelog

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.

5.0.0 (Unreleased)

  • Breaking Changes
    • #629 - Drop validations deprecated in 4.4.0.
    • #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
  • Added
    • None
  • Fixed
    • #638 - Address Rails 5.1 changes to ActiveModel::Dirty
  • Dependencies

4.4.2 (2018-09-23)

  • Breaking Changes
    • None
  • Added
    • None
  • Fixed
    • Improved instructions in deprecation warning for validations

4.4.1 (2018-09-21)

  • 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.

4.4.0 (2018-09-21)

  • Breaking Changes
    • None
  • Added
    • None
  • Fixed
    • None
  • Deprecation

4.3.0 (2018-08-12)

  • Breaking Changes
    • None
  • Added
    • None
  • Fixed
    • None
  • Dependencies
    • Drop support for ruby 2.2, which reached EoL on 2018-06-20

4.2.0 (2018-07-18)

  • Breaking Changes
    • None
  • Added
    • #611 - Deprecate AES256, guide users to choose a better crypto provider
  • Fixed
    • None

4.1.1 (2018-05-23)

  • Breaking Changes
    • None
  • Added
    • None
  • Fixed
    • #606 - Interpreter warnings about undefined instance variables

4.1.0 (2018-04-24)

  • Breaking Changes
    • None
  • Added
    • None
  • Fixed
    • None
  • Deprecated
    • crypto_providers/wordpress.rb, without replacement
    • restful_authentication, without replacement

4.0.1 (2018-03-20)

  • Breaking Changes
    • None
  • Added
    • None
  • Fixed
    • #590 - Fix "cannot modify frozen gem" re: ActiveRecord.gem_version

4.0.0 (2018-03-18)

  • 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

    • Authlogic.gem_version
    • #586 Support for SameSite cookies
    • #581 Support for rails 5.2
    • Support for ruby 2.4, specifically openssl gem 2.0
    • #98 I18n for invalid session error message. (@eugenebolshakov)
  • 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

3.8.0 2018-02-07

  • Breaking Changes

    • None
  • Added

    • #582 Support rails 5.2
    • #583 Support openssl gem 2.0
  • Fixed

    • None

3.7.0 2018-02-07

  • Breaking Changes

    • None
  • Added

    • #580 Deprecated ActionController::Parameters, will be removed in 4.0.0
  • Fixed

    • None

3.6.1 2017-09-30

3.6.0 2017-04-28

  • Breaking Changes

    • None
  • Added

    • Support rails 5.1
  • Fixed

    • ensure that login field validation uses correct locale (@sskirby)

3.5.0 2016-08-29

  • 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)

3.4.6 2015

  • changes
    • add Regex.email_nonascii for validation of emails w/unicode (@rchekaluk)
    • allow scrypt 2.x (@jaredbeck)

3.4.5 2015-03-01

  • changes
    • security-hardening fix and cleanup in persistence_token lookup
    • security-hardening fix in perishable_token lookup (thx @tomekr)

3.4.4 2014-12-23

  • 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

3.4.3 2014-10-08

  • 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)

3.4.2 2014-04-28

  • changes
    • fixed the missing scrypt/bcrypt gem errors introduced in 3.4.1
    • implemented autoloading for providers
    • added longer subdomain support in email regex

3.4.1 2014-04-04

  • changes
    • undid an accidental revert of some code

3.4.0 2014-03-03

  • Breaking Changes

  • 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

3.3.0 2014-04-04

  • 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

3.2.0 2012-12-07

  • new

    • scrypt support
  • changes

    • moved back to LOWER for find_with_case ci lookups

3.1.3 2012-06-13

  • changes
    • removed jeweler

3.1.2 2012-06-01

  • changes
    • mostly test fixes

3.1.1 2012-06-01

  • changes
    • mostly doc fixes

3.1.0 2011-10-19

  • changes
    • mostly small bug fixes

3.0.3 2011-05-17

  • changes

    • rails 3.1 support
  • new

    • http auth support

3.0.2 2011-04-30

  • changes
    • doc fixes

3.0.1 2011-04-30

  • changes
    • switch from LOWER to LIKE for find_with_case ci lookups

3.0.0 2011-04-30

  • new

    • ssl cookie support
    • httponly cookie support
    • added a session generator
  • changes

    • rails 3 support
    • ruby 1.9.2 support