Releases: guregu/dynamo
Multi-Key Index Support
Scan Metrics
What's Changed
- Add Scan Metrics to Query and Scans by @loganintech in #257
- Fix typo at README.md by @KIrie-0217 in #253
New Contributors
- @loganintech made their first contribution in #257
- @KIrie-0217 made their first contribution in #253
Full Changelog: v2.4.0...v2.5.0
v2.4.0
What's Changed
- Add
SetIgnoringNilto Update by @adrianlungu in #251 (see also: #250) - Update dependencies
New Contributors
- @adrianlungu made their first contribution in #251
Full Changelog: v2.3.0...v2.4.0
Query.One + Filter fix
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
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
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
Request count tracking
This release adds a new field to ConsumedCapacity that tracks the number of requests made. See: #241, #238.
What's Changed
Full Changelog: v2.0.2...v2.1.0
BatchGet grouping fix
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
Fixes a panic when a conditional put/delete/update using ConsumedCapacity fails.
What's Changed
New Contributors
Full Changelog: v2.0.0...v2.0.1