factory_bot_rails versioning is synced with factory_bot releases. For this reason there might not be any notable changes in new versions of this project.
- Changed: Bump Factory Bot 6.5.0
- Changed: allow sequence definitions for ActiveRecord primary keys (Mike Burns).
- Changed: Support Ruby 3.0+, Rails 6.1+ (Mike Burns)
- Documentation improvements (obregonia1).
- Internal: GitHub Actions improvements (Lorenzo Zabot, ydah).
- Internal: RubyGems points to changelog (Tilo Sloboda).
- Internal: Bump standard, rake, activerecord, appraisal, rspec-rails (Mike Burns).
- Fixed: Fix Rails 7.1.2 + monkey-patched ActiveRecord compatibility (Adif Sgaid, Benoit Tigeot)
- Internal: Test against Rails 7.1 (y-yagi)
- Internal: Fix links to old files after renaming the main branch to
main
(y-yagi)
- Releasing this for consistency with the factory_bot dependency.
- Changed: reject sequence definitions for ActiveRecord primary keys (Sean Doyle).
- Changed: factory_bot dependency to ~> 6.4 (Mike Burns).
- Changed: upgrade dependencies (Daniel Colson).
- Add:
projections.json
for Rails.vim (Caleb Hearth). - Docs: fix broken link (Edu Depetris).
- Docs: mention Rails generator in docs (Edu Depetris).
- Docs: fix typo (Yudai Takada).
- Internal: skip Spring version 2.1.1 due to a bug in that release (Christina Entcheva, Daniel Colson).
- Internal: test against Rails 6.1 (Antonis Berkakis).
- Internal: test against Ruby 3 (Daniel Colson).
- Internal: fewer warnings in Cucumber tests (Daniel Colson).
- Internal: use GitHub Actions for CI (Mathieu Jobin).
- Internal: a whole bunch of cleanup (Daniel Colson).
- Internal: fix CI due to a Bundler output change (Mike Burns).
- Changed: factory_bot dependency to ~> 6.2.0
- Changed: factory_bot dependency to ~> 6.1.0
- Fixed: generate a plural factory name when the --force-plural flag is provided
- Changed: factory_bot dependency to ~> 6.0.0
- Removed:
"factory_bot.register_reloader"
initializer, now registering the reloader after application initialization - Removed: support for EOL versions of Ruby (2.3, 2.4) and Rails (4.2)
- Changed: factory_bot dependency to ~> 5.2.0
- Fixed: Ensure definitions do not load before I18n is initialized
- Changed: factory_bot dependency to ~> 5.1.0
- Bugfix: Reload factory_bot whenever the application changes to avoid holding onto stale object references
- Bugfix: Avoid watching project root when no factory definitions exist
- Bugfix: Avoid watching files and directories that don't exist (to avoid a file watching bug in Rails rails/rails#32700)
- Added: calling reload! in the Rails console will reload any factory definition files that have changed
- Added: support for custom generator templates
- Added:
definition_file_paths
configuration option, making it easier to place factories in custom locations - Changed: namespaced models are now generated inside a directory matching the namespace
- Changed: added newline between factories generated into the same file
- Removed: support for EOL version of Ruby and Rails
- Update generator to use dynamic attributes instead of deprecated static attributes
- No notable changes
- No notable changes
- Rename factory_girl_rails to factory_bot_rails
- No notable changes
- No notable changes
- Improved README
- Support Spring
- Fix bug when configuring FG and RSpec fixture directory
- Remove debugging
- Require factory_girl_rails explicitly in generator
- Add appraisal and get test suite working reliably with turn gem
- Support MiniTest
- Allow a custom directory for factories to be specified