Releases: thoughtbot/factory_bot_rails
Releases · thoughtbot/factory_bot_rails
v5.1.0
Changed: factory_bot dependency to ~> 5.1.0
v5.0.2
- Bugfix: Reload factory_bot whenever the application changes to avoid holding
onto stale object references - Bugfix: Avoid watching project root when no factory definitions exist
v5.0.1
Bugfix: Avoid watching files and directories that don't exist (to avoid a file watching bug in Rails rails/rails#32700). Thanks to @y-yagi for this fix!
v5.0.0
- Added: calling reload! in the Rails console will reload any factory definition files that have changed
- Added: support for custom generator templates
- Added: definition_file_paths configuration option, making it easier to place factories in custom locations
- Changed: namespaced models are now generated inside a directory matching the namespace
- Changed: added newline between factories generated into the same file
- Removed: support for EOL version of Ruby and Rails
v5.0.0.rc2
v5.0.0.rc2
v5.0.0.rc1
- Added: calling reload! in the Rails console will reload any factory definition files that have changed
- Added: support for custom generator templates
- Added: definition_file_paths configuration option, making it easier to place factories in custom locations
- Changed: namespaced models are now generated inside a directory matching the namespace
- Changed: added newline between factories generated into the same file
- Removed: support for EOL version of Ruby and Rails
v4.11.1
Update generator to use dynamic attributes instead of deprecated static attributes
v4.11.0
Bumped factory_bot version to 4.11.0
Version 4.9.0
This is the final release of factory_girl_rails
, which has been renamed to factory_bot_rails
.
Learn more about the name change here: https://robots.thoughtbot.com/factory_bot
Version 4.8.2
This is the first release of factory_bot_rails
, formerly known as factory_girl_rails
.
Learn more about the name change here: https://robots.thoughtbot.com/factory_bot