Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<name>_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 `<name>?` 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
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/dynamoid/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Dynamoid
VERSION = '3.14.0'
VERSION = '3.15.0'
end
Loading