Skip to content

Commit

Permalink
Release version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski committed Nov 12, 2019
1 parent 99f8d1f commit 114f70f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
clearance (2.0.0.beta2)
clearance (2.0.0)
actionmailer (>= 5.0)
activemodel (>= 5.0)
activerecord (>= 5.0)
Expand Down
27 changes: 4 additions & 23 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,53 +3,34 @@
The noteworthy changes for each Clearance version are included here. For a
complete changelog, see the git history for each version via the version links.

## [Unreleased]
## [2.0.0] - November 12, 2019

### Added

- Add support for Rails version 6
- Allow `cookie_domain` to be configured with a lambda for custom configuration
- Add ability to configure BCrypt computational cost of hash calculation.
- Add `same_site` configuration option for increased CSRF protection.

### Fixed

- Fix issue where invalid params could raise `NoMethodError` when updating and
resetting passwords.

[Unreleased]: https://github.com/thoughtbot/clearance/compare/v2.0.0.beta2...HEAD

## [2.0.0.beta2] - September 17, 2019

### Added

- Add support for Rails version 6
- Allow `cookie_domain` to be configured with a lambda for custom configuration

### Fixed

- The backdoor auth mechanism now supports scenarios where `Rails.env` has been
configured via env variables other than `RAILS_ENV` (`RACK_ENV` for example).

### Removed

- Removed support for Ruby versions older than 2.4
- Removed support for Rails versions older than 5.0

[2.0.0.beta2]: https://github.com/thoughtbot/clearance/compare/v2.0.0.beta1...v2.0.0.beta2

## [2.0.0.beta1] - April 12, 2019

### Removed

- Removed support for Ruby versions older than 2.3
- Removed support for Rails versions older than 4.2
- Removed all deprecated code from Clearance 1.x

### Changed

- Flash messages now use `flash[:alert]` rather than `flash[:notice]` as they
were used as errors more often than notices.

[2.0.0.beta1]: https://github.com/thoughtbot/clearance/compare/v1.17.0...v2.0.0.beta1
[2.0.0]: https://github.com/thoughtbot/clearance/compare/v1.17.0...v2.0.0

## [1.17.0] - April 11, 2019

Expand Down
2 changes: 1 addition & 1 deletion lib/clearance/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Clearance
VERSION = "2.0.0.beta2".freeze
VERSION = "2.0.0".freeze
end

0 comments on commit 114f70f

Please sign in to comment.