From 06a90274379b5d788cd21e66bcc36e77ecdbc488 Mon Sep 17 00:00:00 2001 From: rom-bot Date: Fri, 19 Jan 2024 08:40:32 +0000 Subject: [PATCH] [devtools] sync --- CHANGELOG.md | 44 +++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a131f9c..4c8bb24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,35 +1,49 @@ -## 0.11.0 2022-11-11 +## 0.12.0 UNRELEASED -### Fixed -- Support for plural Faker generators (@wuarmin) +### Added + +- Support for many-to-many and one-to-one-through associations (via + + +[Compare v0.11.0...v0.12.0](https://github.com/rom-rb/rom-factory/compare/v0.11.0...v0.12.0) + +## 0.11.0 2022-11-11 + ### Added - Support for one-to-one associations (@ianks) - [internal] cache for Faker constants (@flash-gordon) +### Fixed + +- Support for plural Faker generators (@wuarmin) + ### Changed - [BREAKING] attributes are always passed as keywords (@alassek) - This may affect your code in places where attributes are passed as hashes. - Places like +This may affect your code in places where attributes are passed as hashes. +Places like + +```ruby +user_attributes = { name: 'Jane' } +Factory[:user, user_attributes] + +``` + +must be updated to + +```ruby +user_attributes = { name: 'Jane' } +Factory[:user, **user_attributes] +``` - ```ruby - user_attributes = { name: 'Jane' } - Factory[:user, user_attributes] - ``` - must be updated to - ```ruby - user_attributes = { name: 'Jane' } - Factory[:user, **user_attributes] - ``` - Upgraded to the latest versions of dry-rb dependencies, compatible with rom 5.3 (@flash-gordon) - Support for Faker 1.x was dropped (@alassek) - [Compare v0.10.2...v0.11.0](https://github.com/rom-rb/rom-factory/compare/v0.10.2...v0.11.0) ## 0.10.2 2020-04-05