v0.2.12
Non breaking Changes
- add a couple of fields to describeTable response by @googley42 in #266
- update project stage and add resources section by @googley42 in #271
- update examples in docs by @googley42 in #265
- added resources section by @googley42 in #273
Breaking Changes
- type safe unified API for primary key and key condition expressions by @googley42 in #256
- rename delete to deleteFrom by @googley42 in #264
- automatically derive projections from Schema by @googley42 in #270
Although these are breaking changes they are relatively straightforward to fix and there are plenty of examples in the zio-dynamodb-examples
sbt module under the zio/dynamodb/examples/dynamodblocal
package.
The main change is the way that primary key expressions are specified. Previously they were specified as an AttrMap
but now they are specified as $("email").partitionKey === "avi" && $("subject").sortKey === "maths"
for the low level API and as
Student.email.partitionKey === "avi" && Student.subject.sortKey === "maths"
for the high level API.