2016-12-02 10:25:09 -05:00
|
|
|
factory_bot_rails versioning is synced with factory_bot releases. For this reason
|
2016-05-18 04:04:04 -04:00
|
|
|
there might not be any notable changes in new versions of this project.
|
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
# NEWS
|
|
|
|
|
2020-04-26 12:10:59 -04:00
|
|
|
## 5.2.0 (April 26, 2020)
|
|
|
|
* Changed: factory_bot dependency to ~> 5.2.0
|
|
|
|
|
2019-10-02 20:15:36 -04:00
|
|
|
## 5.1.1 (September 24, 2019)
|
|
|
|
* Fixed: Ensure definitions do not load before I18n is initialized
|
|
|
|
|
2019-09-24 00:29:59 -04:00
|
|
|
## 5.1.0 (September 24, 2019)
|
|
|
|
* Changed: factory_bot dependency to ~> 5.1.0
|
|
|
|
|
2019-04-14 11:20:03 -04:00
|
|
|
## 5.0.2 (April 14, 2019)
|
|
|
|
* 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
|
|
|
|
|
2019-02-25 10:14:40 -05:00
|
|
|
## 5.0.1 (February 9, 2019)
|
2019-03-18 09:49:45 -04:00
|
|
|
* Bugfix: Avoid watching files and directories that don't exist (to avoid a
|
2019-02-08 10:44:51 -05:00
|
|
|
file watching bug in Rails https://github.com/rails/rails/issues/32700)
|
|
|
|
|
2019-02-25 10:14:40 -05:00
|
|
|
## 5.0.0 (February 1, 2019)
|
2019-03-18 09:49:45 -04: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 11:20:03 -04:00
|
|
|
* Added: `definition_file_paths` configuration option, making it easier to place factories in custom locations
|
2019-03-18 09:49:45 -04:00
|
|
|
* 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-05 22:54:07 -05:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.11.1 (September 7, 2018)
|
2019-03-18 09:49:45 -04:00
|
|
|
* Update generator to use dynamic attributes instead of deprecated static attributes
|
2018-09-07 16:48:06 -04:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.11.0 (August 16, 2018)
|
2019-03-18 09:49:45 -04:00
|
|
|
* No notable changes
|
2018-08-16 07:27:22 -04:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.10.0 (May 25, 2018)
|
2019-03-18 09:49:45 -04:00
|
|
|
* No notable changes
|
2018-05-25 10:45:23 -04:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.8.2 (October 20, 2017)
|
2019-04-14 11:20:03 -04:00
|
|
|
* Rename factory\_girl\_rails to factory\_bot\_rails
|
2017-10-20 18:25:04 -04:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.7.0 (April 1, 2016)
|
2019-03-18 09:49:45 -04:00
|
|
|
* No notable changes
|
2016-04-01 06:05:18 -04:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.6.0 (February 1, 2016)
|
2019-03-18 09:49:45 -04:00
|
|
|
* No notable changes
|
2016-12-02 10:25:09 -05:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.5.0 (October 17, 2014)
|
2019-03-18 09:49:45 -04:00
|
|
|
* Improved README
|
2016-05-18 04:04:04 -04:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.4.1 (February 26, 2014)
|
2019-03-18 09:49:45 -04:00
|
|
|
* Support Spring
|
2014-02-26 10:42:17 -05:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.2.1 (February 8, 2013)
|
2019-03-18 09:49:45 -04:00
|
|
|
* Fix bug when configuring FG and RSpec fixture directory
|
|
|
|
* Remove debugging
|
2019-04-14 11:20:03 -04:00
|
|
|
* Require factory\_girl\_rails explicitly in generator
|
2013-04-05 11:25:53 -04:00
|
|
|
|
2019-02-24 23:13:56 -05:00
|
|
|
## 4.2.0 (January 25, 2013)
|
2019-03-18 09:49:45 -04:00
|
|
|
* Add appraisal and get test suite working reliably with turn gem
|
|
|
|
* Support MiniTest
|
|
|
|
* Allow a custom directory for factories to be specified
|