All Versions
95
Latest Version
Avg Release Cycle
114 days
Latest Release
1125 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v1.12.0 Changes
November 17, 2015โ Added
- ๐ Users will now see a flash message when redirected to sign in by
require_login
. This I18n key for this message isflashes.failure_when_not_signed_in
and defaults to "Please sign in to continue". - โ Added significant API documentation. API documentation effort is ongoing.
๐ Fixed
- Fixed expectation in the generated
visitor_resets_password_spec.rb
file. - Corrected indentation of routes inserted by the routes generator.
- Corrected indentation of
include Clearance::User
when the install generator adds it to an existing user class.
- ๐ Users will now see a flash message when redirected to sign in by
-
v1.11.0 Changes
August 21, 2015โ Added
- Add
sign_in
andsign_in_as
helper methods to view specs. These helpers avoid errors from verified partial doubles that come from. See 462c009.
๐ Fixed
clearance:routes
generator now properly disables internal routes in your Clearance initializer.- Clearance now accesses the cookie jar via ActionDispatch::Request rather than
Rack::Request
. This is more consistent with what Rails does internally.
๐ Deprecated
- โ
Clearance::Testing::Helpers
has been deprecated in favor ofClearance::Testing::ControllerHelpers
. Most users are accessing these helpers by requiringclearance/rspec
orclearance/test_unit
and should be unaffected.
- Add
-
v1.10.1 Changes
May 15, 2015๐ Deprecated
- All clearance-provided password strategies other than BCrypt have been
deprecated. You can continue to use those strategies without a deprecation
warning by adding
clearance-deprecated_password_strategies
to your Gemfile.
- All clearance-provided password strategies other than BCrypt have been
deprecated. You can continue to use those strategies without a deprecation
warning by adding
-
v1.9.0 Changes
April 03, 2015โ Added
- The change password mailer now produces a multipart message which includes a
text part along with the previously existing HTML part. To override the text
part, add
change_password.text.erb
alongside yourchange_password.html.erb
file.
๐ Fixed
- ๐ง Custom
user_model
configured in a Rails initializer will now be reloaded in development mode. - ๐ Change password template now contains "Change my password" link text to address an issue linking the URL in some mail clients.
- The change password mailer now produces a multipart message which includes a
text part along with the previously existing HTML part. To override the text
part, add
-
v1.8.1 Changes
March 03, 2015๐ Security
- ๐ Enable cross-site request forgery protection on
sessions#create
. See 7f5d56e.
๐ Fixed
- All methods included by
Clearance::Controller
are now excluded fromaction_methods
.
- ๐ Enable cross-site request forgery protection on
-
v1.8.0 Changes
January 23, 2015โ Added
- The remember token cookie name is now customizable via
Clearance.configuration.cookie_name
.
๐ Fixed
- ๐ Fixed a redirect loop on the sign in page for applications that are still
using the deprecated
authorize
filter. - Signed in users that attempt to visit the sign in path are now redirected. The
redirect URL defaults to the same URL used for the redirect after sign in, but
can be customized by overriding
passwords_controller#url_for_signed_in_users
๐ Deprecated
users_controller#avoid_sign_in
is now deprecated in favor ofredirect_signed_in_users
which is more accurately named.
- The remember token cookie name is now customizable via
-
v1.7.0 Changes
๐ Fixed
- ๐ Fix the negation of the
deny_access
matcher in Rails 4.0.x on Ruby 2.2
๐ Deprecated
- โก๏ธ The
authorize
filter has been deprecated in favor ofrequire_login
. Update all reference to the filter including any calls toskip_before_filter
orskip_before_action
. - ๐ The
Clearance.root
method has been deprecated. It was used internally and unlikely to impact external users.
- ๐ Fix the negation of the
-
v1.6.1 Changes
January 06, 2015๐ Fixed
- Secure cookies are no longer overwritten when the user visits a non-HTTPS URL.
-
v1.6.0 Changes
December 20, 2014โ Added
- ๐
When using Rails 4.2, password reset emails are sent with the
ActiveJob-compatible
#deliver_later
method.
- ๐
When using Rails 4.2, password reset emails are sent with the
ActiveJob-compatible
-
v1.5.1 Changes
December 19, 2014๐ Fixed
- ๐ Blowfish password strategy fixed
- ๐
Specs generated with
rails generate clearance:specs
now work properly in RSpec 3 projects.