Skip to content

Update factory_bot to 5.2.0 - #51328

Closed
Hamms wants to merge 16 commits into
stagingfrom
factory_bot-5.2.0
Closed

Update factory_bot to 5.2.0#51328
Hamms wants to merge 16 commits into
stagingfrom
factory_bot-5.2.0

Conversation

@Hamms

@Hamms Hamms commented Apr 13, 2023

Copy link
Copy Markdown
Contributor

Specifically target the latest 5.x version as a transitional step toward v6.2, which adds support for Ruby 3.

Breaking changes in v5:

  • Removed support for EOL versions of Ruby and Rails
  • Removed static attributes (use dynamic attributes with a block instead)
  • Removed looking up factories by class
  • Removed ignore method (use transient instead)
  • Removed duplicate_attribute_assignment_from_initialize_with configuration option

Links

https://github.com/thoughtbot/factory_bot/releases/tag/v5.0.0

Testing story

TODO

Follow-up work

After this, we should plan to fix all the new deprecation warnings for 6.x which this version introduces, then apply #50912

Specifically target the latest 5.x version as a transitional step toward v6.2, which adds support for Ruby 3.

Breaking changes in v5:

- Removed support for EOL versions of Ruby and Rails
- Removed static attributes (use dynamic attributes with a block instead)
- Removed looking up factories by class
- Removed ignore method (use transient instead)
- Removed duplicate_attribute_assignment_from_initialize_with configuration option

https://github.com/thoughtbot/factory_bot/releases/tag/v5.0.0
@Hamms Hamms changed the title Update factory_bot To 5.2.0 Update factory_bot to 5.2.0 Apr 13, 2023
@Hamms Hamms added the Ruby Update Everything related to work to update the version of Ruby our codebase runs on label Apr 13, 2023
@Hamms

Hamms commented Apr 27, 2023

Copy link
Copy Markdown
Contributor Author

closing in favor of #50912

@Hamms Hamms closed this Apr 27, 2023
@Hamms
Hamms deleted the factory_bot-5.2.0 branch April 27, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ruby Update Everything related to work to update the version of Ruby our codebase runs on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant