Skip to content

Releases: datasprayio/single-table

2.3.6

01 Dec 03:44
2.3.6
9e970b8
Compare
Choose a tag to compare

Changes:

  • Add paging logic to QueryBuilder to simplify code (executeStream and executeStreamBatch)

2.3.5

30 Nov 06:44
2.3.5
90328d2
Compare
Choose a tag to compare

Changes:

  • Support custom type and collection converters

Fixes:

  • Fix non-field obj to attrVal mapping for collections falls back to Gson marshaller

2.3.3

30 Nov 01:29
2.3.3
ffa2475
Compare
Choose a tag to compare

Fixes:

  • Multiple field mappings conflict with each other, replacing own value
    e.g. .conditionFieldEquals("rulesLastUpdated",expected).set("rulesLastUpdated", Instant.now())

2.3.2

30 Nov 01:27
2.3.2
df71272
Compare
Choose a tag to compare

Changes:

  • Setting a property with a path accepts an Object rather than AttributeValue (e.g. .set(List.of("my","path"), myObject))

2.3.1

28 Nov 17:02
2.3.1
c27f246
Compare
Choose a tag to compare

Changes:

  • Put request builder executeGetUpdated returns item directly without Optional wrapping
  • Put request logs warning if you attempt to update without checking for conditionExists which may result in a corrupted entry.

2.3.0

28 Nov 16:32
2.3.0
1e2fa97
Compare
Choose a tag to compare

Changes:

  • Breaking change for the execute methods which are now split up into:
    • execute() for all builders will now return the actual AWS SDK response object (e.g. GetItemResponse, PutItemResponse)
    • executeGet() for GetBuilder
    • executeGetPrevious(), executeGetUpdated() for UpdateBuilder
    • executeGetPrevious() and executeGetNew() for PutBuilder
    • executeGetDeleted() for DeleteBuilder

2.2.6

26 Nov 03:27
2.2.6
9bb4d9b
Compare
Choose a tag to compare

Features:

  • Expose fetchShardNextPage query consumer
  • Added getTableName method
  • Accept a tableName instead of tablePrefix during init, depracated tablePrefix

Fixes:

  • When calling create table, for minimizing number of requests, a describe TTL request was sent to determine whether TTL is correctly set and whether table exists. But LocalStack has a bug that it returns a TTL response for a non-existent table. To fix this, we call create table always

0.0.12

26 Nov 03:26
0.0.12
716035e
Compare
Choose a tag to compare

Fixes:

  • When calling create table, for minimizing number of requests, a describe TTL request was sent to determine whether TTL is correctly set and whether table exists. But LocalStack has a bug that it returns a TTL response for a non-existent table. To fix this, we call create table always

2.2.1

28 Oct 06:32
2.2.1
c9c19ce
Compare
Choose a tag to compare
  • Allow modify Query Request during fetchShardNextPage
  • Fix Query Request set index name

2.2.0

28 Oct 06:07
2.2.0
c1cb43b
Compare
Choose a tag to compare

Improvements:

  • Handy utility methods to quickly create most common requests Get, Query, Put, Update, Delete.
  • Updated Readme to reflect current logic