From 6678aa1b15b7038e62c61cb9c91b58cf334b9d34 Mon Sep 17 00:00:00 2001 From: Andrii Konchyn Date: Mon, 30 Nov 2026 20:56:48 +0200 Subject: [PATCH 1/3] Add changelog entries --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c08bc8c..94be8640 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Removed +## 3.15.0 / 2026-11-30 + +### Fixed +* [#1084](https://github.com/Dynamoid/dynamoid/pull/1084) Fix emitting a warning when a generated `_before_type_cast` method is overridden +* [#1085](https://github.com/Dynamoid/dynamoid/pull/1085) Fix `Dynamoid::IdentityMap` to be thread-scoped +* [#1086](https://github.com/Dynamoid/dynamoid/pull/1086) Fix `#delete_all` to return the count of deleted items +* [#1087](https://github.com/Dynamoid/dynamoid/pull/1087) Fix `#destroy_all` to run `destroy` callbacks and return destroyed models +* [#1090](https://github.com/Dynamoid/dynamoid/pull/1090) Fix `#find_by_pages` to pass `models` and `options` as separate block arguments instead of a 2-element array +* [#1091](https://github.com/Dynamoid/dynamoid/pull/1091) Fix `#save` and `#import` (both transactional and non-transactional) to: + * auto-generate a UUID partition key only when its type is `:string` + * raise `MissingHashKey` or `MissingRangeKey` when the partition or sort key is `nil` +* [#1094](https://github.com/Dynamoid/dynamoid/pull/1094) Fix `#increment!` and `#decrement!` (both transactional and non-transactional) to run `touch` callbacks only when the `:touch` option is truthy +* [#1096](https://github.com/Dynamoid/dynamoid/pull/1096) Fix transactional `#import` to check primary key uniqueness and prevent overwriting existing items +* [#1097](https://github.com/Dynamoid/dynamoid/pull/1097) Fix `#update!` to raise `RecordNotSaved` (and `#update` to return `false` without clearing dirty changes) when an `update` callback throws `:abort` +### Added +* [#1049](https://github.com/Dynamoid/dynamoid/pull/1049) Add `http_proxy` config option +* [#1051](https://github.com/Dynamoid/dynamoid/pull/1051) Add `use_yaml_unsafe_load` and `yaml_permitted_classes` config options for `:serialized` fields +* [#1081](https://github.com/Dynamoid/dynamoid/pull/1081) Add `Dynamoid::TestHelper` module to simplify table management in application tests: + * `Dynamoid::TestHelper.create_tables` + * `Dynamoid::TestHelper.truncate_tables` + * `Dynamoid::TestHelper.drop_tables` +* [#1093](https://github.com/Dynamoid/dynamoid/pull/1093) Add high-level methods for PartiQL operations: + * `.find_by_partiql` + * `.execute_partiql` +### Changed +* [#1082](https://github.com/Dynamoid/dynamoid/pull/1082) Allow `:binary` partition and sort keys at table creation +* [#1083](https://github.com/Dynamoid/dynamoid/pull/1083) Allow calling `.with_index` directly on a model class +* [#1088](https://github.com/Dynamoid/dynamoid/pull/1088) Support `Module` as a field custom type +* [#1089](https://github.com/Dynamoid/dynamoid/pull/1089) Align generated `?` predicate methods with ActiveRecord: + * return `false` for `0` and `0.0` + * return `false` for blank values (empty or whitespace-only strings, empty arrays, sets, and maps) +* [#1092](https://github.com/Dynamoid/dynamoid/pull/1092) Allow `:binary` elements in typed `set` and `array` fields +* [#1095](https://github.com/Dynamoid/dynamoid/pull/1095) Support `:key_type` option without `:key` in `.table` + ## 3.14.0 / 2026-07-26 ### Fixed From 72e72729b420b2b7a93a09ad2cd7c7432678a24c Mon Sep 17 00:00:00 2001 From: Andrii Konchyn Date: Mon, 30 Nov 2026 20:57:07 +0200 Subject: [PATCH 2/3] Bump version to 3.15.0 --- lib/dynamoid/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dynamoid/version.rb b/lib/dynamoid/version.rb index 7a827f54..fd3d8a3d 100644 --- a/lib/dynamoid/version.rb +++ b/lib/dynamoid/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Dynamoid - VERSION = '3.14.0' + VERSION = '3.15.0' end From 0b00ce450c49c78fca96dcac61334596dcc79008 Mon Sep 17 00:00:00 2001 From: Andrii Konchyn Date: Mon, 30 Nov 2026 20:59:01 +0200 Subject: [PATCH 3/3] Update dynamoid version in Gemfile.lock --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 95564e4e..f8c055c7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dynamoid (3.14.0) + dynamoid (3.15.0) activemodel (>= 4) aws-sdk-dynamodb (~> 1.0) concurrent-ruby (>= 1.0)