A summary of data about the Ruby ecosystem.

Recent Releases of https://github.com/thoughtbot/factory_bot

https://github.com/thoughtbot/factory_bot - v6.5.6

What's Changed

New Contributors

Full Changelog: https://github.com/thoughtbot/factory_bot/compare/v6.5.5...v6.5.6

- Ruby
Published by vburzynski 4 months ago

https://github.com/thoughtbot/factory_bot - v6.5.5

What's Changed

New Contributors

Full Changelog: https://github.com/thoughtbot/factory_bot/compare/v6.5.4...v6.5.5

- Ruby
Published by vburzynski 7 months ago

https://github.com/thoughtbot/factory_bot - v6.5.4

  • Fix bug where user-defined method named definition could not be set through method_missing in factories. (CodeMeister)

- Ruby
Published by neilvcarvalho 9 months ago

https://github.com/thoughtbot/factory_bot - v6.5.3

  • Fix: Factory sequences without blocks (CodeMeister)
  • Added: New methods for setting, generating and rewinding sequences (CodeMeister)

- Ruby
Published by neilvcarvalho 9 months ago

https://github.com/thoughtbot/factory_bot - 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 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)

- Ruby
Published by neilvcarvalho 9 months ago

https://github.com/thoughtbot/factory_bot - 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 https://github.com/thoughtbot/factory_bot/pull/1713

Full Changelog: https://github.com/thoughtbot/factory_bot/compare/v6.5.0...v6.5.1

- Ruby
Published by neilvcarvalho about 1 year ago

https://github.com/thoughtbot/factory_bot - v6.5.0

What's Changed

New Contributors

Full Changelog: https://github.com/thoughtbot/factory_bot/compare/v6.4.6...v6.5.0

- Ruby
Published by sarahraqueld over 1 year ago

https://github.com/thoughtbot/factory_bot - 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).

- Ruby
Published by mike-burns about 2 years ago

https://github.com/thoughtbot/factory_bot - 6.4.5

  • Changed: Support Ruby 3.0+, Rails 6.1+ (Mike Burns).

- Ruby
Published by mike-burns about 2 years ago

https://github.com/thoughtbot/factory_bot - 6.4.4

  • Internal: Remove observer dependency (Earlopain).

- Ruby
Published by mike-burns about 2 years ago

https://github.com/thoughtbot/factory_bot - 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).

- Ruby
Published by mike-burns about 2 years ago

https://github.com/thoughtbot/factory_bot - 6.4.2

  • Fix: top-level traits pass their class to ActiveSupport::Notifications (makicamel).

- Ruby
Published by mike-burns over 2 years ago

https://github.com/thoughtbot/factory_bot - 6.4.1

  • Fix: factories with traits pass their class to ActiveSupport::Notifications
    (makicamel).

- Ruby
Published by mike-burns over 2 years ago

https://github.com/thoughtbot/factory_bot - Version 6.4.0

  • Added: if build_stubbed detects a UUID primary key, generate the correct type (Peter Boling, Alexandre Ruban).
  • Docs: show examples of Ruby 3 syntactic sugars (Sean Doyle).
  • Internal: resolve test warning messages (Mike Burns).

- Ruby
Published by mike-burns over 2 years ago

https://github.com/thoughtbot/factory_bot - v6.3.0

  • Fix: link to changelog for RubyGems (Berkan Ünal).
  • Fix: integrate with Ruby 3.2's did_you_mean library (Daniel Colson).
  • Changed: explicitly define #destroyed? within the Stub strategy to return false to be consistent
    with ActiveRecord (Benjamin Fleischer).
  • Added: announce factory_bot.compile_factory notification (Sean Doyle).
  • Docs: clarify that custom strategies need to define #to_sym (Edmund Korley, Jonas S).
  • Docs: fix CI link in README (Mark Huk).
  • Docs: fix GitHub links (Robert Fletcher).
  • Docs: install this library with bundle add (Glauco Custódio).
  • Docs: re-write into mdBook (Mike Burns, Sara Jackson, Stefanni Brasil)
  • Docs: clarify that automatic trait definitions could introduce new linting errors (Lawrence Chou).
  • Internal: skip TruffleRuby on Rails 5.0, 5.1, 5.2 (Andrii Konchyn).
  • Internal: fix typoes throughout codebase (Yudai Takada).
  • Internal: run CI on actions/checkout v3 (Yudai Takada).
  • Internal: follow standardrb code style (Yudai Takada).
  • Internal: stop using Hound (Daniel Nolan).
  • Internal: only run simplecov on C Ruby (Daniel Colson).
  • Internal: quieter Cucumber (Daniel Colson).
  • Internal: Ruby 3.2 support (Daniel Colson).
  • Internal: Mike Burns is the CODEOWNER (Stefanni Brasil).

New Contributors

Full diff: https://github.com/thoughtbot/factory_bot/compare/v6.2.1...v6.3.0

- Ruby
Published by mike-burns over 2 years ago

https://github.com/thoughtbot/factory_bot -

  • Added: CI testing against truffleruby
  • Changed: Documentation improvements for sequences and traits
  • Fixed: ActiveSupport::Notifications reporting strategy through associations now report as symbols
  • Fixed: add_attribute with reserved keywords assigns values correctly

- Ruby
Published by joshuaclayton almost 4 years ago

https://github.com/thoughtbot/factory_bot -

  • Added: support for Ruby 3.0
  • Changed: Include factory or trait name in error messages for missing traits. d05a9a3c
  • Changed: Switched from Travis CI to GitHub Actions
  • Fixed: More Ruby 2.7 kwarg deprecation warnings

- Ruby
Published by composerinteralia almost 5 years ago

https://github.com/thoughtbot/factory_bot -

  • Added: public reader for the evaluation instance, helpful for building interrelated associations
  • Changed: raise a more helpful error when passing an invalid argument to an association
  • Fixed: Ruby 2.7 kwarg deprecation warnings

- Ruby
Published by composerinteralia over 5 years ago

https://github.com/thoughtbot/factory_bot -

Fixed: bug causing traits to consume more memory each time they were used

- Ruby
Published by composerinteralia over 5 years ago

https://github.com/thoughtbot/factory_bot -

Fixed: bug with constant resolution causing unexpected uninitialized constant errors

- Ruby
Published by composerinteralia over 5 years ago

https://github.com/thoughtbot/factory_bot -

  • Added: automatic definition of traits for Active Record enum attributes, enabled by default
  • Added: traits_for_enum method to define traits for non-Active Record enums
  • Added: build_stubbed_starting_id= option to define the starting id for build_stubbed
  • Removed: deprecated methods on the top-level FactoryBot module meant only for internal use
  • Removed: support for EOL versions of Ruby (2.3, 2.4) and Rails (4.2)
  • Removed: support for "abstract" factories with no associated class; use traits instead.

- Ruby
Published by composerinteralia over 5 years ago

https://github.com/thoughtbot/factory_bot -

  • 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

- Ruby
Published by composerinteralia almost 6 years ago

https://github.com/thoughtbot/factory_bot -

  • Fixed: Ruby 2.7 keyword deprecation warning in FactoryBot.lint

- Ruby
Published by composerinteralia almost 6 years ago

https://github.com/thoughtbot/factory_bot -

  • Improved: performance of traits
  • Fixed: registering strategies on JRuby

- Ruby
Published by composerinteralia over 6 years ago

https://github.com/thoughtbot/factory_bot -

  • Added: "Did you mean?" style error message to help with typos in association declarations
  • Changed: NoMethodError for static attributes now offers a "Did you mean?" style message
  • 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

- Ruby
Published by composerinteralia over 6 years ago

https://github.com/thoughtbot/factory_bot - v5.0.2

Bugfix: raise "Trait not registered" error when passing invalid trait arguments

- Ruby
Published by composerinteralia about 7 years ago

https://github.com/thoughtbot/factory_bot - v5.0.1

  • Bugfix: Do not raise error when two sequences have the same name
    in two traits that have the same name

- Ruby
Published by hellosweta about 7 years ago

https://github.com/thoughtbot/factory_bot - v5.0.0

  • Added: Verbose option to include full backtraces in the linting output
  • Changed: use_parent_strategy now defaults to true, so by default the build strategy will build, rather than create associations
  • Changed: Passing a block when defining associations now raises an error
  • Bugfix: use_parent_strategy is no longer reset by FactoryBot.reload
  • Bugfix: rewind_sequences will now rewind local sequences along with the global ones
  • Bugfix: the build_stubbed strategy now sets timestamps without changing the original behavior of the timestamp methods
  • Bugfix: avoid a stack error when referring to an "attributes" attribute in initialize_with
  • 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
  • Deprecated: allow_class_lookup configuration option

- Ruby
Published by composerinteralia about 7 years ago

https://github.com/thoughtbot/factory_bot - v5.0.0.rc2

  • Set use_parent_strategy default to true for all versions of Rails
  • Add missing *_pair documentation

- Ruby
Published by composerinteralia about 7 years ago

https://github.com/thoughtbot/factory_bot - v5.0.0.rc1

  • Added: Verbose option to include full backtraces in the linting output
  • Changed: use_parent_strategy now defaults to true, so by default the build strategy will build, rather than create associations
  • Changed: Passing a block when defining associations now raises an error
  • Bugfix: use_parent_strategy is no longer reset by FactoryBot.reload
  • Bugfix: rewind_sequences will now rewind local sequences along with the global ones
  • Bugfix: the build_stubbed strategy now sets timestamps without changing the original behavior of the timestamp methods
  • Bugfix: avoid a stack error when referring to an "attributes" attribute in initialize_with
  • 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
  • Deprecated: allow_class_lookup configuration option

- Ruby
Published by composerinteralia about 7 years ago

https://github.com/thoughtbot/factory_bot - v4.11.1

Documentation: Include .yardopts in the gem to fix broken RubyDoc links

- Ruby
Published by composerinteralia over 7 years ago

https://github.com/thoughtbot/factory_bot - v4.11.0

  • Bugfix: Do not raise error for valid build_stubbed methods: decrement, increment, and toggle
  • Bugfix: Do not add timestamps with build_stubbed for objects that shouldn't have timestamps
  • Deprecate static attributes

- Ruby
Published by composerinteralia over 7 years ago