Skip to content

Commit

Permalink
Update readme and version for 1.4.0 release
Browse files Browse the repository at this point in the history
Tweak formatting of changelog
  • Loading branch information
jcypret committed Oct 31, 2019
1 parent 9b9cf3b commit 160f21b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.4.0 (2019-10-30)
- Add support for disabling the overriding of `to_param` ([#68](https://github.com/jcypret/hashid-rails/pull/68))
- Fix exception raised when calling `hashid` on an model with a `nil` id
([#63](https://github.com/jcypret/hashid-rails/pull/63) by [fauxparse](https://github.com/fauxparse))

## 1.3.0 (2019-10-29)
- Add support for model-level config ([#67](https://github.com/jcypret/hashid-rails/pull/67))

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ Hashid::Rails.configure do |config|
# Whether to override the `find` method
config.override_find = true

# Whether to override the `to_param` method
config.override_to_param = true

# Whether to sign hashids to prevent conflicts with regular IDs (see https://github.com/jcypret/hashid-rails/issues/30)
config.sign_hashids = true
end
Expand Down
2 changes: 1 addition & 1 deletion lib/hashid/rails/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Hashid
module Rails
VERSION = "1.3.0"
VERSION = "1.4.0"
end
end

0 comments on commit 160f21b

Please sign in to comment.