All Versions
18
Latest Version
Avg Release Cycle
58 days
Latest Release
2313 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_enummethod 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
FactoryBotmodule 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
*_listmethods - 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:
NoMethodErrorfor 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