All Versions
18
Latest Version
Avg Release Cycle
58 days
Latest Release
1182 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v6.1.0 Changes
July 08, 2020- โ 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
-
v6.0.2 Changes
June 20, 2020๐ Fixed: bug causing traits to consume more memory each time they were used
-
v6.0.1 Changes
June 19, 2020๐ Fixed: bug with constant resolution causing unexpected uninitialized constant errors
-
v6.0.0 Changes
June 19, 2020- โ 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 forbuild_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)
-
v5.2.0 Changes
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
- โ Added: Pass index to block for
-
v5.1.2 Changes
March 25, 2020- ๐ Fixed: Ruby 2.7 keyword deprecation warning in FactoryBot.lint
-
v5.1.1 Changes
October 02, 2019- ๐ Improved: performance of traits
- ๐ Fixed: registering strategies on JRuby
-
v5.1.0 Changes
September 21, 2019- โ 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
-
v5.0.2 Changes
February 22, 2019๐ Bugfix: raise "Trait not registered" error when passing invalid trait arguments
-
v5.0.1 Changes
February 15, 2019- ๐ Bugfix: Do not raise error when two sequences have the same name
in two traits that have the same name
- ๐ Bugfix: Do not raise error when two sequences have the same name