All Versions
95
Latest Version
Avg Release Cycle
114 days
Latest Release
1125 days ago

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 is flashes.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.
  • v1.11.0 Changes

    August 21, 2015

    โž• Added

    • Add sign_in and sign_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 of Clearance::Testing::ControllerHelpers. Most users are accessing these helpers by requiring clearance/rspec or clearance/test_unit and should be unaffected.
  • 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.
  • 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 your change_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.
  • 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 from action_methods.
  • 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 of redirect_signed_in_users which is more accurately named.
  • 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 of require_login. Update all reference to the filter including any calls to skip_before_filter or skip_before_action.
    • ๐Ÿ—„ The Clearance.root method has been deprecated. It was used internally and unlikely to impact external users.
  • 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.
  • 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.