From ba943079b77800389cce83df720760f4fe4346f7 Mon Sep 17 00:00:00 2001 From: Jordan Hollinger Date: Wed, 12 Jun 2024 12:24:32 -0400 Subject: [PATCH] Version 1.2.0 Signed-off-by: Jordan Hollinger --- CHANGELOG.md | 8 ++++++++ lib/blueprinter-activerecord/version.rb | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3a89e8..9f734a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ +### 1.2.0 (2024-06-26) + +- [BUGFIX] Fixes an issue where an association wouldn't be preloaded if it used a dynamic blueprint. +- [BUGFIX] Fixes an infinite loop when [a Blueprint has an association to itself](https://github.com/procore-oss/blueprinter-activerecord/issues/13). +- Added the `max_recursion` option to customize the new default behavior for recursive/cyclic blueprints. +- Make `pre_render` compatible with all children of ActiveRecord::Relation ([#28](https://github.com/procore-oss/blueprinter-activerecord/pull/28)). + ### 1.1.0 (2024-06-10) + - [FEATURE] Ability to annotate a field or association for extra preloads (e.g. `field :category_name, preload: :category`) ### 1.0.2 (2024-05-21) diff --git a/lib/blueprinter-activerecord/version.rb b/lib/blueprinter-activerecord/version.rb index 46e96a7..4b90bd3 100644 --- a/lib/blueprinter-activerecord/version.rb +++ b/lib/blueprinter-activerecord/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module BlueprinterActiveRecord - VERSION = "1.1.0" + VERSION = "1.2.0" end