Skip to content

Commit

Permalink
update changelog for presume fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Gaultney committed Sep 29, 2021
1 parent ca09938 commit 8a440b4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
### 1.15.1

Fixes to `versioned_transact_write_items`:

1. `presume` will now apply the standard dynamodb_prewrite transform,
so that we don't get into situations where tuples aren't equal to
lists, or floats aren't equal to Decimals, for instance. Anything
presumed should look like an actual DynamoDB value, in other
words. This oversight was leading to certain situations where
presume was being used causing a superfluous write to the table.
2. The returned transaction will always include any items inserted
into the transaction by `presume`, even if no effects were
applied. This only occurred when a single item was presumed for the
whole transaction and no changes were made to it, but it makes the
API slightly easier to work with.

## 1.15.0

Changes to `versioned_transact_write_items`:
Expand Down
2 changes: 1 addition & 1 deletion xoto3/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""xoto3"""
__version__ = "1.15.0"
__version__ = "1.15.1"
__author__ = "Peter Gaultney"
__author_email__ = "[email protected]"

0 comments on commit 8a440b4

Please sign in to comment.