Releases: thoughtbot/clearance
Releases · thoughtbot/clearance
v0.8.6
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.
v0.8.5
Changed
- Removed
attr_accessible
fromClearance::User
. - Remove dependency on
root_path
, use'/'
instead. - Use
Clearance.configure
block to set mailer sender instead ofDO_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.
v0.8.4
v0.8.3
v0.8.2
v0.8.1
Changed
- Removed unnecessary
remember_token_expires_at
column.
Removed
- Removed
remember?
andforget_me!
user instance methods.
v0.8.0
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.
v0.7.0
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.
v0.4.4
Added
- Added a generator for Cucumber features.
Changed
- Standardized naming for "Sign up," "Sign in," and "Sign out".