Skip to content

Commit

Permalink
V5.1.0 (#379)
Browse files Browse the repository at this point in the history
V5.1.0
  • Loading branch information
danwakefield authored Dec 5, 2019
2 parents b1cdca9 + 585b429 commit 3c370ad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## v5.1.0, 22th November 2019

- Correct `Statesman::Adapters::ActiveRecordQueries` error text [@Bramjetten](https://github.com/gocardless/statesman/pull/376)
- Removes duplicate `map` call [Isaac Seymour](https://github.com/gocardless/statesman/pull/362)
- Update changelog with instructions of how to use `ActiveRecordQueries` added
in v5.0.0
- Pass exception into `after_transition_failure` and `after_guard_failure` callbacks [@credric-cordenier](https://github.com/gocardless/statesman/pull/378)

## v5.0.0, 11th November 2019

- Adds new syntax and restrictions to ActiveRecordQueries [PR#358](https://github.com/gocardless/statesman/pull/358). With the introduction of this, defining `self.transition_class` or `self.initial_state` is deprecated and will be removed in the next major release.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protection.
To get started, just add Statesman to your `Gemfile`, and then run `bundle`:

```ruby
gem 'statesman', '~> 5.0.0'
gem 'statesman', '~> 5.1.0'
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion lib/statesman/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Statesman
VERSION = "5.0.0".freeze
VERSION = "5.1.0".freeze
end

0 comments on commit 3c370ad

Please sign in to comment.