thoughtbot--factory_bot_rails/NEWS.md

97 lines
2.6 KiB
Markdown
Raw Permalink Normal View History

2020-06-19 02:30:01 +00:00
factory\_bot\_rails versioning is synced with factory\_bot releases. For this reason
there might not be any notable changes in new versions of this project.
# NEWS
2021-05-07 17:39:52 +00:00
## 6.2.0 (May 7, 2021)
* Changed: factory\_bot dependency to ~> 6.2.0
2020-07-08 17:02:58 +00:00
## 6.1.0 (July 8, 2020)
* Changed: factory\_bot dependency to ~> 6.1.0
2020-06-19 02:30:01 +00:00
## 6.0.0 (June 18, 2020)
* Fixed: generate a plural factory name when the --force-plural flag is provided
* Changed: factory\_bot dependency to ~> 6.0.0
* Removed: `"factory_bot.register_reloader"` initializer, now registering the
reloader after application initialization
* Removed: support for EOL versions of Ruby (2.3, 2.4) and Rails (4.2)
2020-08-14 13:24:17 +00:00
## 5.2.0 (April 26, 2020)
* Changed: factory\_bot dependency to ~> 5.2.0
2019-10-03 00:15:36 +00:00
## 5.1.1 (September 24, 2019)
2020-06-19 02:30:01 +00:00
2019-10-03 00:15:36 +00:00
* Fixed: Ensure definitions do not load before I18n is initialized
2019-09-24 04:29:59 +00:00
## 5.1.0 (September 24, 2019)
2020-06-19 02:30:01 +00:00
* Changed: factory\_bot dependency to ~> 5.1.0
2019-09-24 04:29:59 +00:00
2019-04-14 15:20:03 +00:00
## 5.0.2 (April 14, 2019)
2020-06-19 02:30:01 +00:00
2019-04-14 15:20:03 +00:00
* 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
## 5.0.1 (February 9, 2019)
2020-06-19 02:30:01 +00:00
* Bugfix: Avoid watching files and directories that don't exist (to avoid a
2019-02-08 15:44:51 +00:00
file watching bug in Rails https://github.com/rails/rails/issues/32700)
## 5.0.0 (February 1, 2019)
2020-06-19 02:30:01 +00:00
* Added: calling reload! in the Rails console will reload any factory definition files that have changed
* Added: support for custom generator templates
2019-04-14 15:20:03 +00:00
* 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
2019-01-06 03:54:07 +00:00
## 4.11.1 (September 7, 2018)
2020-06-19 02:30:01 +00:00
* Update generator to use dynamic attributes instead of deprecated static attributes
2018-09-07 20:48:06 +00:00
## 4.11.0 (August 16, 2018)
2020-06-19 02:30:01 +00:00
* No notable changes
2018-08-16 11:27:22 +00:00
## 4.10.0 (May 25, 2018)
2020-06-19 02:30:01 +00:00
* No notable changes
2018-05-25 14:45:23 +00:00
## 4.8.2 (October 20, 2017)
2020-06-19 02:30:01 +00:00
2019-04-14 15:20:03 +00:00
* Rename factory\_girl\_rails to factory\_bot\_rails
2017-10-20 22:25:04 +00:00
## 4.7.0 (April 1, 2016)
2020-06-19 02:30:01 +00:00
* No notable changes
2016-04-01 10:05:18 +00:00
## 4.6.0 (February 1, 2016)
2020-06-19 02:30:01 +00:00
* No notable changes
## 4.5.0 (October 17, 2014)
2020-06-19 02:30:01 +00:00
* Improved README
## 4.4.1 (February 26, 2014)
2020-06-19 02:30:01 +00:00
* Support Spring
2014-02-26 15:42:17 +00:00
## 4.2.1 (February 8, 2013)
2020-06-19 02:30:01 +00:00
* Fix bug when configuring FG and RSpec fixture directory
* Remove debugging
2019-04-14 15:20:03 +00:00
* Require factory\_girl\_rails explicitly in generator
## 4.2.0 (January 25, 2013)
2020-06-19 02:30:01 +00:00
* Add appraisal and get test suite working reliably with turn gem
* Support MiniTest
* Allow a custom directory for factories to be specified