Releases: thoughtbot/factory_bot
Releases · thoughtbot/factory_bot
v6.5.3
v6.5.2
- Changed: Updated "verbose linting" test to allow for backtrace changes in Ruby 3.4 (CodeMeister)
- Fix: Set the same timestamps for
created_at
andupdated_at
onbuild_stubbed
(Kim Emmanuel) - Fix: Refactored sequences to ensure cloned traits use parent sequences. (CodeMeister)
- Docs: Fix definition_file_paths comment (Milo Winningham)
- Docs: Add ruby-lsp extensions to Useful Tools in README.md (johansenja)
- Docs: Fix docs about definition file paths (Ryo Nakamura)
- Docs: Update has_many-associations.md to mention that traits can use inline associations (Matthew Zagaja)
- Docs: Fix "Transitioning from Factory Girl" guide link (Neil Carvalho)
v6.5.1
What's Changed
- Changed: execute linting tests within ActiveRecord transactions when available (Sean Doyle)
- Fix: Random test failure when tracking compilation time (CodeMeister)
- Fix: Bump the minimum required activesupport version to 6.1 (Earlopain)
- Internal: Update development dependencies (Neil Carvalho)
New Contributors
@CodeMeinster made their first contribution on #1713
Full Changelog: v6.5.0...v6.5.1
v6.5.0
What's Changed
- fix: issue 1621 broken links in ref/factory.md by @elasticspoon in #1623
- Add standard settings by @ydah in #1625
- Call dynamic-readme reusable workflow by @stefannibrasil in #1628
- Update README again by @stefannibrasil in #1630
- Only run this workflow if the README has been updated by @stefannibrasil in #1635
- Automatically Generated: Update Dynamic Section in README by @github-actions in #1637
- Added a case for build_class to handle class names with underscores passed as a string by @m-gizzi in #1642
- Add Ruby 3.3 to CI by @berkos in #1615
- Update Dependabot configuration by @smaboshe in #1655
- Add new maintainers to CODEOWNERS by @sarahraqueld in #1651
- Improve docs formatting and fix filename conflicts by @sarahraqueld in #1666
- Add a dynamic security workflow and a SECURITY.md file by @sarahraqueld in #1677
- Automatically Generated: Update Dynamic Section in SECURITY by @github-actions in #1678
- Ensure rails 7.2 compatibility by @Earlopain in #1686
- Fix the factory definition in traits documentation by @ddieulivol in #1688
New Contributors
- @elasticspoon made their first contribution in #1623
- @github-actions made their first contribution in #1637
- @m-gizzi made their first contribution in #1642
- @berkos made their first contribution in #1615
- @smaboshe made their first contribution in #1655
- @sarahraqueld made their first contribution in #1651
- @dependabot made their first contribution in #1689
- @ddieulivol made their first contribution in #1688
Full Changelog: v6.4.6...v6.5.0
6.4.6
- Fix: Bump minimum required Ruby in gemspec (Earlopain).
- Fix: Broken link in
FactoryBot.modify
docs (Matt Brictson). - Fix: Broken link in
FactoryBot.lint
docs (Anton Dieterle).
6.4.5
- Changed: Support Ruby 3.0+, Rails 6.1+ (Mike Burns).
6.4.4
- Internal: Remove observer dependency (Earlopain).
6.4.3
- Fix: Support models without ID setters in build_stubbed (Olivier Bellone).
- Fix: Explicit observer dependency (Oleg Antonyan).
- Internal: Add Rails 7.1 to CI (Olivier Bellone).
- Internal: Bump github actions/checkout to v4 (Lorenzo Zabot)
- Internal: Stop passing disable-error_highlight in CI (Mike Burns).
- Internal: Relax the exception message check (Mike Burns).
6.4.2
- Fix: top-level traits pass their class to ActiveSupport::Notifications (makicamel).
6.4.1
- Fix: factories with traits pass their class to ActiveSupport::Notifications
(makicamel).