Guregu Dynamo Versions Save

expressive DynamoDB library for Go

v1.23.0

2 weeks ago

This release includes a small new feature and an important bug fix.

  • New feature: RequestLimit for Query and Scan for finer control of internal pagination (#231)
  • Bug fix: Panic on saving struct with pointer to anonymous struct (#233)

v1.22.3

3 weeks ago
  • Support nested recursion in types (A → B → A and so on) (#227)

v1.22.2

4 weeks ago

This release fixes these issues:

Many thanks to everyone who reported the issues. Note: v1.22.0 has been retracted. Please upgrade to the latest version if you're on it.

v1.22.1

4 weeks ago

This is a bugfix release for the following issues related to the new encoding in v1.22.0:

Please note the following issues are still around:

v1.22.0

3 months ago

What's Changed

  • Optimize encoding by @guregu in https://github.com/guregu/dynamo/pull/224
    • Much faster encoding and decoding, see above for benchmarks (~1.5x faster, ~2x less allocs)
  • Support multiple tables in BatchWrite and BatchGet by @guregu in https://github.com/guregu/dynamo/pull/226
    • (*BatchWrite).PutIn for putting items in other tables
    • (*BatchWrite).DeleteIn and (*BatchWrite).DeleteInRange for deleting items in other tables
    • (*BatchWrite).Merge for merging batch writes together
    • (*BatchGet).From and (*BatchGet).FromRange for getting items from other tables
    • (*BatchGet).Merge for merging batch gets together
    • (*BatchGet).ProjectTable for specifying table-specific projections
    • (*BatchGet).IterWithTable for creating an iterator that keeps track of which table each item comes from
  • Add automated testing against DynamoDB local using GitHub Actions
    • Integration tests are easier to run now, see README

Full Changelog: https://github.com/guregu/dynamo/compare/v1.21.0...v1.22.0

Bonus: v2 preview available

dynamo v2 will target aws-sdk-go v2 and is (finally) nearing completion. You can test it by depending on the v2-dev branch:

go get github.com/guregu/dynamo/v2@v2-dev

Feedback is welcome at #206.

v1.22.0-rc

5 months ago

Includes #224 which greatly improves the speed and memory usage of marshaling/unmarshaling. See benchmarks in #224, or try running them locally. If you've got a test suite that uses dynamo, it would help me a lot if you run this pre-release against it and let me know if you find anything weird. Thanks and please look forward to a release soon. I've been running this on one of my services for a little while and it's looking good so far.

v1.21.0

7 months ago

What's Changed

Full Changelog: https://github.com/guregu/dynamo/compare/v1.20.2...v1.21.0

v1.20.2

9 months ago

Bugfix release.

  • Fix nil pointer panic in DescribeTable for LSIs in Global Tables (#220)
    • Thanks @chyi-code for the bug report

Full Changelog: https://github.com/guregu/dynamo/compare/v1.20.1...v1.20.2

v1.20.1

10 months ago

This is a minor bugfix release.

  • Don't return ErrTooMany in Query.One when Limit is set to 1
  • Update dependencies

Full Changelog: https://github.com/guregu/dynamo/compare/v1.20.0...v1.20.1

v1.20.0

10 months ago

This release adds new methods for Scan to create parallel iterators (#20): Scan.IterParallel, Scan.AllParallel and paginating versions. The parallel iterators handle the concurrency and segmenting of parallel scan requests automatically.

What's Changed

Full Changelog: https://github.com/guregu/dynamo/compare/v1.19.0...v1.20.0