Skip to content

Releases: thoughtbot/clearance

v0.13.0

11 Sep 20:01
Compare
Choose a tag to compare

Changed

  • In Clearance's optional generated features, use pure Capybara instead of
    depending on Cucumber's removed web_steps, paths, and selectors.
  • Extract SHA-1-specific code out of User into PasswordStrategies module.
  • Extract sign in form so that other methods can be added easily.
  • Test against Rails 3.1. Required upgrades to Diesel and Appraisal.

Full Changelog

v0.12.0

11 Sep 20:02
Compare
Choose a tag to compare

Changed

  • Denying access redirects to root_url when signed in, sign_in_url when
    signed out.
  • Using flash :notice key everywhere now instead of :success and :failure.
    More in line with Rails conventions.
  • redirect_back_or on sign up.
  • Resetting password no longer redirects to sign in page. It displays a message
    telling them to look for an email.
  • Removed redundant flash messages. ("Signed in.", "Signed out.", and "You are
    now signed up.")

Full Changelog

v0.11.2

11 Sep 20:02
Compare
Choose a tag to compare

Added

  • Rails 3.1.rc compatible.
  • RSpec and Test::Unit compliant test matcher (should deny_access, etc)

Removed

  • No more Clearance shoulda_macros. Instead providing RSpec and
    Test::Unit-compliant test matchers (should deny_access, etc).

Full Changelog

v0.11.1

11 Sep 20:02
Compare
Choose a tag to compare

Added

  • Redirect to home page after sign up.

Fixed

  • Removing :case_sensitive option from validates_uniqueness_of. It was
    unnecessary and causes a small performance problem on some apps.

Removed

  • Remove dependency on dynamic_form. Replaced with flashes due to limited number
    of failure cases.

Full Changelog

v0.11.0

11 Sep 20:02
Compare
Choose a tag to compare

Added

  • New controller#authenticate(params) method. Redefine username & password or
    other styles of authentication.

Changed

  • before_filter :authenticate API replaced with more aptly-named before_filter :authorize.

Removed

  • Removing password confirmation.

Full Changelog

v0.10.5

11 Sep 20:02
Compare
Choose a tag to compare

Security

  • Closing CSRF hole for Rails >= 3.0.4 apps.

Full Changelog

v0.10.4

11 Sep 20:03
Compare
Choose a tag to compare

Added

  • Use HTML5 email fields.

Changed

  • Emails forced to be downcased (particularly for iPhone user case).

Fixed

  • Password reset requires a password.

Removed

  • Formtastic views generator removed.

Full Changelog

v0.10.3.2

11 Sep 20:03
Compare
Choose a tag to compare

Fixed

  • Fix gemspec to include all necessary files.

Full Changelog

v0.10.3.1

11 Sep 20:03
Compare
Choose a tag to compare

Fixed

  • Ensure everything within features inside any engine directory is included in
    the gemspec.

Full Changelog

v0.10.3

11 Sep 20:03
Compare
Choose a tag to compare

Fixed

  • Include features/engines in gemspec file list so generator works as
    expected.

Full Changelog