diff --git a/Gemfile.lock b/Gemfile.lock index 68290daf9..aa60bcf5f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - clearance (1.3.0) + clearance (1.4.0) bcrypt email_validator (~> 1.4) rails (>= 3.1) diff --git a/NEWS.md b/NEWS.md index 26392e17c..c0931798b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,16 @@ Thank you to all the [contributors](https://github.com/thoughtbot/clearance/graphs/contributors)! +New for 1.4.0 (July 18, 2014) +* The sign out link in the default application layout has been replaced with a + semantically correct sign out button. This also removes an unnecessary + JavaScript dependency. +* Clearance now uses `original_fullpath` when redirecting to a saved URL after + login. This should improve the behavior in mounted engines. +* `user_params` method was added to `Clearance::UsersController` which provides + a convenient place to override the parameters used when creating users. +* Controllers now inherit from `Clearance::BaseController` to allow for easily + adding behavior to all of them. + New for 1.3.0 (March 14, 2014) * Installing Clearance with an existing User model will now create a migration that includes adding remember tokens to all existing user records. diff --git a/lib/clearance/version.rb b/lib/clearance/version.rb index a62c14e4d..45e4e1b10 100644 --- a/lib/clearance/version.rb +++ b/lib/clearance/version.rb @@ -1,3 +1,3 @@ module Clearance - VERSION = '1.3.0' + VERSION = '1.4.0' end