Skip to content

Releases: guregu/dynamo

Multi-Key Index Support

04 Mar 00:09
95b96c9

Choose a tag to compare

Pre-release

This is a pre-release that adds initial support for composite key indexes.
Please try it out if you're interested in this feature.
See: #255 and #256

Scan Metrics

17 Dec 17:14
6eb9ed4

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.0...v2.5.0

v2.4.0

14 Aug 04:26
0b7190a

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.4.0

Query.One + Filter fix

17 Dec 20:06
ea7f332

Choose a tag to compare

This release fixes the behavior of Query.One in conjunction with filters (reported in #248). Previously, it could return ErrNotFound if the first result page was empty; now, it will iterate through pages until it finds a result. The old behavior can be retained by adding a SearchLimit or with RequestLimit(1).

Thank you @dharkness for reporting the issue.

What's Changed

Full Changelog: v2.2.1...v2.3.0

Fix encoding panic

29 Aug 13:56
7fc2a4f

Choose a tag to compare

This is a bugfix release.

  • Fixes a panic with omitempty and fields with embedded structs (#247)

Full Changelog: v2.2.0...v2.2.1

Get items from condition check failures

26 Aug 18:15
f0ac63c

Choose a tag to compare

This release adds CurrentValue to Put/Delete/Update that returns the current value if a condition fails (or the value you gave it if it succeeds). Alternatively, you can use IncludeItemInCondCheckFail and UnmarshalItemFromCondCheckFailed to grab the item from an error manually. There are also similar methods for transactions. See: #245, #246.

What's Changed

Full Changelog: v2.1.1...v2.2.0

v2.1.1

20 Jul 07:04
eed9493

Choose a tag to compare

This release improves the documentation. No code changes. Thank you to @tamccall for the contribution.

What's Changed

  • Added an example to the IterWithTable godocs by @tamccall in #243

New Contributors

Full Changelog: v2.1.0...v2.1.1

Request count tracking

16 Jul 10:55
f21d832

Choose a tag to compare

This release adds a new field to ConsumedCapacity that tracks the number of requests made. See: #241, #238.

What's Changed

  • Add request count by @guregu in #241
  • Update dependencies

Full Changelog: v2.0.2...v2.1.0

BatchGet grouping fix

03 Jul 17:09
434348c

Choose a tag to compare

This is a bugfix release that fixes a performance regression in v2 BatchGet.

  • Fix for: Batch Get making multiple calls even for smaller batches (#240)
    • Thank you @lzrf0cuz for the report and fix suggestion!

Full Changelog: v2.0.1...v2.0.2

Fix for ConsumedCapacity in conditional writes

30 Jun 06:19
06919cf

Choose a tag to compare

Fixes a panic when a conditional put/delete/update using ConsumedCapacity fails.

What's Changed

  • Added checks for nil output when adding consumed capacity by @sardap in #239

New Contributors

Full Changelog: v2.0.0...v2.0.1