Clarify deprecations in NEW.md [ci skip]

It looks like there may be some confusion about what was deprecated here. I am hoping this will clarify that only the `FactoryBot` module methods were deprecated—the related features are still around.
This commit is contained in:
Daniel Colson 2020-04-27 19:02:33 -04:00 committed by GitHub
parent 8ceea2f885
commit 5ba893831b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
## 5.2.0 (April 24, 2020)
* Added: Pass index to block for `*_list` methods
* Deprecated: top-level methods meant only for internal use: `callbacks`, `configuration`, `constructor`, `initialize_with`, `register_sequence`, `resent_configuration`, `skip_create`, `to_create`
* Deprecated: methods on the top-level `FactoryBot` module meant only for internal use: `callbacks`, `configuration`, `constructor`, `initialize_with`, `register_sequence`, `resent_configuration`, `skip_create`, `to_create`
## 5.1.2 (March 25, 2020)
* Fixed: Ruby 2.7 keyword deprecation warning in FactoryBot.lint
@ -17,7 +17,7 @@
* Fixed: avoid undefining inherited evaluator methods
* Fixed: avoid stubbing id for records without a primary key
* Fixed: raise a helpful error for self-referencing traits to avoid a `SystemStackError`
* Deprecated: top-level methods meant only for internal use: `allow_class_lookup`, `allow_class_lookup`=, `register_trait`, `trait_by_name`, `traits`, `sequence_by_name`, `sequences`, `factory_by_name`, `register_factory`, `callback_names`, `register_callback`, `register_default_callbacks`, `register_default_strategies`, `strategies`
* Deprecated: methods on the top-level `FactoryBot` module meant only for internal use: `allow_class_lookup`, `allow_class_lookup`=, `register_trait`, `trait_by_name`, `traits`, `sequence_by_name`, `sequences`, `factory_by_name`, `register_factory`, `callback_names`, `register_callback`, `register_default_callbacks`, `register_default_strategies`, `strategies`
## 5.0.2 (February 22, 2019)
* Bugfix: raise "Trait not registered" error when passing invalid trait arguments