All Versions
13
Latest Version
Avg Release Cycle
48 days
Latest Release
1750 days ago

Changelog History
Page 1

  • v2.1.1 Changes

    February 11, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ›ฐ Stop trying to retrieve user from empty payload when no token is given
  • v2.1 Changes

    January 31, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ Parsing of token controller to handle namespaces correctly

    โž• Added

    • ๐Ÿ”ง Configurable default validations by adding verify_options parameter to AuthToken initializer
  • v2.0 Changes

    October 23, 2016

    โž• Added

    • ๐Ÿ”ง Configurable unauthorized response by overriding Authenticable#unauthorized_entity

    โœ‚ Removed

    • ๐Ÿ‘€ Deprecated features (see deprecated features in version 1.5)
  • v1.5 Changes

    May 29, 2016

    โž• Added

    • Exception configuration option Knock.not_found_exception_class_name
    • Multiple entity authentication (e.g. User, Admin, etc)
    • Possibility to have permanent tokens
    • โž• Adding config options for exception class
    • ๐Ÿš… Generator for token controller. E.g. rails g knock:token_controller user

    ๐Ÿ”„ Changed

    • ๐Ÿ—„ Deprecated Authenticable#authenticate in favor of Authenticable#authenticate_user
    • ๐Ÿ‘‰ Deprecated use of Knock.current_user_from_token in favor of User.from_token_payload
    • ๐Ÿ—„ Deprecated use of direct route to AuthTokenController in favor of generating a token controller
    • No need to mount the engine in config/routes.rb anymore
  • v1.4.2 Changes

    January 29, 2016

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Allow use of any or no prefix in authorization header.
      ๐Ÿ›  This fixes an unwanted breaking change introduced in 1.4.0 forcing the use
      of the Bearer prefix.
  • v1.4.1 Changes

    January 08, 2016

    ๐Ÿ›  Fixed

    • ๐Ÿ‘‰ Use lambda for audience verification
  • v1.4.0 Changes

    January 02, 2016

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ Allow use of rails versions above 4.2

    โž• Added

    • Travis integration
    • Contribution guidelines
    • URL authentication
    • ๐Ÿ‘ Allow use of different encoding algorithm
    • ๐Ÿ”ฆ Expose current_user in the controllers without authenticating

    ๐Ÿ›  Fixed

    • Audience verification in token
    • ๐Ÿ’Ž Use lambda syntax compatible with older ruby versions
    • โœ๏ธ A few typos
  • v1.3.0 Changes

    July 23, 2015

    โž• Added

    • ๐Ÿ”ง Configuration option for how the current_user is retrieved when signing in.
    • ๐Ÿ”ง Configuration option for the handle attribute (email by default).
  • v1.2.0 Changes

    July 16, 2015

    โž• Added

    • ๐Ÿ”ง Configuration option for how the current_user is retrieved when validating a token. (#1)

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Use "sub" claim to store the user id by default instead of "user_id". (#1)

    ๐Ÿ›  Fixed

    • Decode auth0_client_secret in default configuration for Auth0
  • v1.1.0

    July 15, 2015