Releases: zio/zio-dynamodb
v1.0.0-RC8
Summary
Main changes are around narrow functionality and $$ function for working with OO style models with intermediate traits that only have abstract fields - note in these cases you should consider a FP style model with pure sum and product types and no inheritance, as shown in this new example
What's Changed
- breaking changes for zio-schema upgrade by @googley42 in #483
- Initial outline of documentation by @googley42 in #491
- fix mapping it test get example by @googley42 in #488
- get with narrow for sum types by @googley42 in #494
- put with narrow by @googley42 in #498
- Series/2.x relax To in narrow by @googley42 in #502
- Add a typed ProjectionExpression constructor by @pomadchin in #489
- example improvements by @googley42 in #503
Updates
- Update zio, zio-streams, zio-test, ... to 2.1.9 by @scala-steward in #479
- Update README.md by @github-actions in #482
- upgrade java and zio-prelude by @googley42 in #484
- Update zio-json to 0.7.3 by @scala-steward in #480
- Update fs2-core to 3.11.0 by @scala-steward in #478
- Update sbt-ci-release to 1.6.1 by @scala-steward in #472
- Update README.md by @github-actions in #492
- Update zio-prelude to 1.0.0-RC31 by @scala-steward in #486
- Update zio-schema, zio-schema-derivation to 1.5.0 by @scala-steward in #497
- Update README.md by @github-actions in #499
New Contributors
- @pomadchin made their first contribution in #489
Full Changelog: v1.0.0-RC7...v1.0.0-RC8
v1.0.0-RC7
This is maintenance release - the main change is around getting doc website generation working (which can only be tested with a release!)
What's Changed
- zio-sbt integration, update existing docs by @googley42 in #471
- Series/2.x minor doc fixes by @googley42 in #458
- minor TestDynamoDBExecutor improvements by @googley42 in #460
- test README.md gha automation by @googley42 in #474
- generate README.md by @github-actions in #475
Updated libraries
- Update zio, zio-streams, zio-test, ... to 2.1.6 by @scala-steward in #450
- Update sbt-bloop to 1.6.0 by @scala-steward in #449
- Update zio, zio-streams, zio-test, ... to 2.1.7 by @scala-steward in #459
- Update zio-aws-dynamodb, zio-aws-netty to 7.21.15.15 by @scala-steward in #463
- Update zio-prelude to 1.0.0-RC29 by @scala-steward in #468
- Update zio-interop-cats to 23.1.0.3 by @scala-steward in #464
- Update zio-json to 0.7.2 by @scala-steward in #465
- Update sbt-bloop to 2.0.0 by @scala-steward in #467
Full Changelog: v1.0.0-RC6...v1.0.0-RC7
v1.0.0-RC6
What's Changed
- propagate retry policy for auto-batching by @googley42 in #454
- single queries should not be auto-batched by @googley42 in #456
- fixed structuring of suites in IT test by @googley42 in #453
Updates
- Update zio-json to 0.7.1 by @scala-steward in #446
- Update zio-schema, zio-schema-derivation to 1.2.2 by @scala-steward in #447
- Update zio, zio-streams, zio-test, ... to 2.1.5 by @scala-steward in #445
- Update sbt-scoverage to 2.1.0 by @scala-steward in #448
- Update zio-schema, zio-schema-derivation to 1.3.0 by @scala-steward in #451
- update versions in readme for next release by @googley42 in #457
Full Changelog: v1.0.0-RC5...v1.0.0-RC6
v1.0.0-RC5
This release contains a fix for a defect I noticed in the previous release
What's Changed
- fix restrictions on partition and sort key expressions for complex cases by @googley42 in #444
Full Changelog: v1.0.0-RC4...v1.0.0-RC5
v1.0.0-RC4
This is a maintenance release with the main functional change being the relaxing of type checking around partition and sort keys to include optional fields - which is a requirement for local and global secondary indexes.
What's Changed
- doc fix by @googley42 in #427
- json pretty printing by @googley42 in #439
- relax IsPrimaryKey proof to include optional fields by @googley42 in #440
- improve transaction documentation by @googley42 in #442
Upgrades
- upgrade jvm and zio versions by @googley42 in #425
- upgrade zio-prelude version and fix doc by @googley42 in #426
- upgrade to scala 2.13.12 by @googley42 in #434
- Update scala-library, scala-reflect to 2.12.19 by @scala-steward in #389
- Update silencer-lib, silencer-plugin to 1.7.17 by @scala-steward in #417
- upgrade zio-schema to 1.2.1 by @googley42 in #437
- Update sbt-scoverage to 2.0.12 by @scala-steward in #421
- Update zio-aws-dynamodb, zio-aws-netty to 7.21.15.13 by @scala-steward in #428
- Update sbt-bloop to 1.5.18 by @scala-steward in #429
- Update zio-prelude to 1.0.0-RC27 by @scala-steward in #431
- Update zio-json to 0.7.0 by @scala-steward in #433
- upgrade to ZIO 2.1.4 by @googley42 in #443
Full Changelog: v1.0.0-RC3...v1.0.0-RC4
v1.0.0-RC3
What's Changed
- added GSI it test by @googley42 in #384
- decoder fix for empty Chunk by @googley42 in #396
- new optional ZIO DynamoDB JSON module by @googley42 in #397
- fix honouring of return values for PutItem and DeleteItem by @googley42 in #402
- High Level API cheat-sheet style documentation page by @googley42 in #416
library updates
- Update sbt-jmh to 0.4.7 by @scala-steward in #369
- Update silencer-lib, silencer-plugin to 1.7.16 by @scala-steward in #382
- Update sbt to 1.9.9 by @scala-steward in #383
- Update sbt-scoverage to 2.0.11 by @scala-steward in #386
- Update zio-aws-dynamodb, zio-aws-netty to 7.21.15.12 by @scala-steward in #411
- Update cats-effect to 3.5.4 by @scala-steward in #394
- Update sbt-buildinfo to 0.12.0 by @scala-steward in #405
- Update fs2-core to 3.10.2 by @scala-steward in #408
- Update sbt-bloop to 1.5.17 by @scala-steward in #409
- Update zio, zio-streams, zio-test, ... to 2.0.22 by @scala-steward in #412
- Update zio-interop-cats to 23.1.0.2 by @scala-steward in #413
- Update zio-prelude to 1.0.0-RC24 by @scala-steward in #415
Full Changelog: v1.0.0-RC2...v1.0.0-RC3
v1.0.0-RC2
What's Changed
- Series/2.x unify errors by @googley42 in #373
- add
maybeFound
convenience extension method by @googley42 in #376 - examples can be found here. Note you need this import
import zio.dynamodb.syntax._
- fix some IT test labels by @googley42 in #366
Library Updates
- Update fs2-core to 3.9.4 by @scala-steward in #374
- Update cats-effect to 3.5.3 by @scala-steward in #372
- Update zio-prelude to 1.0.0-RC22 by @scala-steward in #371
- Series/2.x upgrade zio, zio-aws-dynamodb by @googley42 in #367
Full Changelog: v1.0.0-RC1...v1.0.0-RC2
v1.0.0-RC1
What's Changed
- Replace @enumOfCaseObject with @simpleEnum by @grouzen in #323
- Cleanup simple enum by @grouzen in #338
- refactor IT tests to use a shared bootstrap layer by @googley42 in #336
- Type Safe API Crud Suite for get, put, update and delete operations by @googley42 in #352
- Address remaining IT tests for issue #340 by @googley42 in #355
- propagate unprocessed items/keys when auto batching to the error channel by @googley42 in #327
- implement codecs for no discriminator using the @noDiscriminator annotation in ZIO Schema by @googley42 in #345
- remove dead code by @googley42 in #353
- improve proof errors by @googley42 in #362
- fix create table scoping issues by @googley42 in #364
Library Updates
- Update scala-library, scala-reflect to 2.12.18 by @scala-steward in #220
- Update zio-schema, zio-schema-derivation to 0.4.16 by @scala-steward in #326
- Update zio-prelude to 1.0.0-RC21 by @scala-steward in #286
- Update silencer-lib, silencer-plugin to 1.7.14 by @scala-steward in #281
- Update sbt-scalafmt to 2.5.2 by @scala-steward in #276
- Update sbt to 1.9.7 by @scala-steward in #301
- Update zio, zio-streams, zio-test, ... to 2.0.19 by @scala-steward in #311
- Update dynamodb to 2.21.29 by @scala-steward in #334
- Update sbt-bloop to 1.5.12 by @scala-steward in #333
- Update sbt-jmh to 0.4.6 by @scala-steward in #277
- upgrade zio-schema by @googley42 in #365
New Contributors
Full Changelog: v0.2.13...v1.0.0-RC1
v0.2.13
Summary
The biggest change is the introduction of a Cats Effect interop module and there are examples in the example module and an upgrade to the Scala 3 version from 3.2 to 3.3
What's Changed
- Series/2.x CE interop module by @googley42 in #316
- Series/2.x fix filter bug, improve dynamodbLocal examples by @googley42 in #291
- add optional operands to
contains
andbeginsWith
for high level API by @googley42 in #300 - fix link in README by @googley42 in #303
Library Updates
- Update zio-schema, zio-schema-derivation to 0.4.14 by @scala-steward in #275
- Update zio-schema, zio-schema-derivation to 0.4.15 by @scala-steward in #306
Full Changelog: v0.2.12...v0.2.13
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.