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

Changelog History
Page 1

  • v2.1.1

    February 11, 2017

    🛠 Fixed

    • 🛰 Stop trying to retrieve user from empty payload when no token is given
  • v2.1

    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

    October 23, 2016

    ➕ Added

    • 🔧 Configurable unauthorized response by overriding Authenticable#unauthorized_entity

    ✂ Removed

    • 👀 Deprecated features (see deprecated features in version 1.5)
  • v1.5

    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

    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

    January 08, 2016

    🛠 Fixed

    • 👉 Use lambda for audience verification
  • v1.4.0

    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

    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

    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