Skip to content

Releases: thoughtbot/factory_bot_rails

v5.1.0

24 Sep 04:32
v5.1.0
67965b2
Compare
Choose a tag to compare

Changed: factory_bot dependency to ~> 5.1.0

v5.0.2

14 Apr 15:57
v5.0.2
329d9a1
Compare
Choose a tag to compare
  • 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

08 Feb 15:53
v5.0.1
9c90d6b
Compare
Choose a tag to compare

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

01 Feb 01:22
v5.0.0
df44185
Compare
Choose a tag to compare
  • 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

11 Jan 20:41
v5.0.0.rc2
79a53a7
Compare
Choose a tag to compare
v5.0.0.rc2 Pre-release
Pre-release
v5.0.0.rc2

v5.0.0.rc1

06 Jan 06:05
v5.0.0.rc1
75806f3
Compare
Choose a tag to compare
v5.0.0.rc1 Pre-release
Pre-release
  • 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

07 Sep 20:50
v4.11.1
Compare
Choose a tag to compare

Update generator to use dynamic attributes instead of deprecated static attributes

v4.11.0

16 Aug 11:48
v4.11.0
Compare
Choose a tag to compare

Bumped factory_bot version to 4.11.0

Version 4.9.0

28 Feb 16:35
13ecff9
Compare
Choose a tag to compare

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

28 Feb 16:34
Compare
Choose a tag to compare

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