Skip to content

Commit

Permalink
Bump version to 5.1.0 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
composerinteralia committed Sep 21, 2019
1 parent 5ccc564 commit ad7a58d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 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:
factory_bot (5.0.2)
factory_bot (5.1.0)
activesupport (>= 4.2.0)

GEM
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# News

## 5.1.0 (September 21, 2019)
* Added: "Did you mean?" style error message to help with typos in association declarations
* Changed: `NoMethodError` for static attributes now offers a "Did you mean?" style message
* Fixed: avoid undefining inherited evaluator methods
* Fixed: avoid stubbing id for records without a primary key
* Fixed: raise a helpful error for self-referencing traits to avoid a `SystemStackError`
* Deprecated: top-level methods meant only for internal use: `allow_class_lookup`, `allow_class_lookup`=, `register_trait`, `trait_by_name`, `traits`, `sequence_by_name`, `sequences`, `factory_by_name`, `register_factory`, `callback_names`, `register_callback`, `register_default_callbacks`, `register_default_strategies`, `strategies`

## 5.0.2 (February 22, 2019)
* Bugfix: raise "Trait not registered" error when passing invalid trait arguments

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

0 comments on commit ad7a58d

Please sign in to comment.