Skip to content

Releases: thoughtbot/clearance

v0.8.6

11 Sep 20:07
Compare
Choose a tag to compare

Added

  • Allow overridden user models to skip email/password validations
    conditionally. This makes username/facebook integration easier.

Fixed

  • Clearance features capitalization should match view text.
  • Skip :authenticate before_filter in controllers so apps can easily
    authenticate a whole site without subclassing.
  • Added randomness to token and salt generation,
  • Reset the remember_token on sign out instead of sign in. Allows for the same
    user to sign in from two locations at once.
  • Append the version number to generated update migrations.

Full Changelog

v0.8.5

11 Sep 20:07
Compare
Choose a tag to compare

Changed

  • Removed attr_accessible from Clearance::User.
  • Remove dependency on root_path, use '/' instead.
  • Use Clearance.configure block to set mailer sender instead of DO_NOT_REPLY
    constant.

Fixed

  • Replaced routing hack with Clearance::Routes.draw(map) to give more control
    to the application developer.
  • Fixed bug in password reset feature.

Full Changelog

v0.8.4

11 Sep 20:07
Compare
Choose a tag to compare

Fixed

  • Remove unnecessary require 'factory_girl' in generator.

Full Changelog

v0.8.3

11 Sep 20:08
Compare
Choose a tag to compare

Fixed

  • Avoid possible collisions in the remember me token.

Full Changelog

v0.8.2

11 Sep 20:08
Compare
Choose a tag to compare

Added

  • current_user= accessor method.
  • Set current_user in sign_in.

Full Changelog

v0.8.1

11 Sep 20:09
Compare
Choose a tag to compare

Changed

  • Removed unnecessary remember_token_expires_at column.

Removed

  • Removed remember? and forget_me! user instance methods.

Full Changelog

v0.8.0

11 Sep 20:09
Compare
Choose a tag to compare

Added

  • Documented Clearance::Authentication with YARD.
  • Documented Clearance::User with YARD.

Changed

  • Always remember me. Replaced session-and-remember-me authentication with
    always using a cookie with a long timeout.

Full Changelog

v0.7.0

11 Sep 20:10
Compare
Choose a tag to compare

Added

  • Added signed_out? convenience method for controllers, helpers, views.
  • Added clearance_views generator. By default, creates formtastic views which
    pass all tests and features.

Fixed

  • Redirect signed in user who clicks confirmation link again.
  • Redirect signed out user who clicks confirmation link again.

Full Changelog

v0.4.4

11 Sep 18:41
Compare
Choose a tag to compare

Added

  • Added a generator for Cucumber features.

Changed

  • Standardized naming for "Sign up," "Sign in," and "Sign out".

Full Changelog