Skip to content

Releases: thoughtbot/factory_bot

v6.5.3

02 Jun 13:22
v6.5.3
1124a27
Compare
Choose a tag to compare
  • Fix: Factory sequences without blocks (CodeMeister)
  • Added: New methods for setting, generating and rewinding sequences (CodeMeister)

v6.5.2

30 May 18:11
v6.5.2
532a1a1
Compare
Choose a tag to compare
  • Changed: Updated "verbose linting" test to allow for backtrace changes in Ruby 3.4 (CodeMeister)
  • Fix: Set the same timestamps for created_at and updated_at on build_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

31 Jan 14:10
v6.5.1
8e5bd14
Compare
Choose a tag to compare

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

06 Sep 10:05
c000b9e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.4.6...v6.5.0

6.4.6

30 Jan 15:45
v6.4.6
377d699
Compare
Choose a tag to compare
  • 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

30 Dec 00:35
v6.4.5
087eff1
Compare
Choose a tag to compare
  • Changed: Support Ruby 3.0+, Rails 6.1+ (Mike Burns).

6.4.4

27 Dec 16:36
v6.4.4
9f8bc0b
Compare
Choose a tag to compare
  • Internal: Remove observer dependency (Earlopain).

6.4.3

26 Dec 18:15
v6.4.3
138ae7d
Compare
Choose a tag to compare
  • 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

22 Nov 13:45
v6.4.2
bd0a10c
Compare
Choose a tag to compare
  • Fix: top-level traits pass their class to ActiveSupport::Notifications (makicamel).

6.4.1

20 Nov 17:32
v6.4.1
b3dcdb5
Compare
Choose a tag to compare
  • Fix: factories with traits pass their class to ActiveSupport::Notifications
    (makicamel).