factory_bot v5.0.0.rc1 Release Notes
Release Date: 2019-01-06 // about 5 years ago-
- โ Added: Verbose option to include full backtraces in the linting output
- Changed: use_parent_strategy now defaults to true, so by default the build strategy will build, rather than create associations
- ๐ Changed: Passing a block when defining associations now raises an error
- Bugfix: use_parent_strategy is no longer reset by FactoryBot.reload
- ๐ Bugfix: rewind_sequences will now rewind local sequences along with the global ones
- ๐ Bugfix: the build_stubbed strategy now sets timestamps without changing the original behavior of the timestamp methods
- ๐ Bugfix: avoid a stack error when referring to an "attributes" attribute in initialize_with
- โ Removed: support for EOL versions of Ruby and Rails
- โ Removed: static attributes (use dynamic attributes with a block instead)
- โ Removed: looking up factories by class
- โ Removed: ignore method (use transient instead)
- Removed: duplicate_attribute_assignment_from_initialize_with configuration option
- Deprecated: allow_class_lookup configuration option