Skip to content

Commit

Permalink
version 1.15 and document changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Gaultney committed Jul 22, 2021
1 parent 0fbee27 commit 761a53d
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.0

Changes to `versioned_transact_write_items`:

1. Any write to an item that leaves it in its pre-existing state
(`==`) will perform only a ConditionCheck and not an actual
Put/Delete on that item. This avoids having incrementing
`item_version` when nothing was actually changed.
2. Single-item `versioned_transact_write_items` where the item is
unchanged (`==`) performs no ConditionCheck and no spurious
write. If you're not operating on multiple items, then there is no
meaningful 'transactionality' to knowing whether the item was
changed _after_ your transaction started, because transactions
can't assert anything about the future - only about a conjunction
between multiple items at a point in time.

## 1.14.0

`StackContext` and `OnCallDefault` utilities for providing new ways of
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.14.0"
__version__ = "1.15.0"
__author__ = "Peter Gaultney"
__author_email__ = "[email protected]"

0 comments on commit 761a53d

Please sign in to comment.