Skip to content

Releases: thoughtbot/factory_bot_rails

v5.2.0

26 Apr 16:18
v5.2.0
a4bba06

Choose a tag to compare

  • Changed: factory_bot dependency to ~> 5.2.0

v5.1.1

03 Oct 00:18
v5.1.1
c03aeb7

Choose a tag to compare

  • Fixed: Ensure definitions do not load before I18n is initialized

v5.1.0

24 Sep 04:32
v5.1.0
67965b2

Choose a tag to compare

Changed: factory_bot dependency to ~> 5.1.0

v5.0.2

14 Apr 15:57
v5.0.2
329d9a1

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

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

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

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

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

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

Choose a tag to compare

Bumped factory_bot version to 4.11.0