This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| dynamodb-toolbox (source) | ^1.14.5 -> ^2.0.0 |
Release Notes
dynamodb-toolbox/dynamodb-toolbox (dynamodb-toolbox)
v2.0.0: 🌈
V2
The v2 introduces some big changes in the schema syntax, and enables opting out of the internal entity attribute 🙌 Which makes it easier to migrate to DynamoDB-Toolbox.
Check the migration guide: https://www.dynamodbtoolbox.com/docs/v1/migration-guide
v1.16.3: 🌈
Changes
- fix release workflow @ThomasAribart (#1104)
v1.16.1: 🌈
Changes
- fix: include more special chars in path regex @ThomasAribart (#1081)
- Properly version documentation @ThomasAribart (#1080)
- Documentation timestamp options as const @lulessa (#1079)
v1.16.0: 🌈
Changes
- Add show entity attr option to queries and scans @ThomasAribart (#1075)
⚠️ SMALL BREAKING CHANGE HERE ⚠️
You should now use the showEntityAttr option instead of the $entity symbol to distinguish items following queries and scans:
BEFORE:
import { $entity } from 'dynamodb-toolbox/table/actions/query'
const { Items = [] } = await queryCommand.send()
for (const item of Items) {
switch (item[$entity]) {
case "pokemon":
// 🙌 Typed as Pokemon
...
case "trainer":
// 🙌 Typed as Trainer
...
}
}AFTER:
const { Items } = await PokeTable.build(QueryCommand)
.entities(TrainerEntity, PokemonEntity)
.query({ partition: 'ashKetchum' })
.options({ showEntityAttr: true })
.send()
for (const item of Items) {
switch (item.entity) {
case 'trainer':
// 🙌 Typed as Trainer
...
case 'pokemon':
// 🙌 Typed as Pokemon
...
}
}v1.15.6: 🌈
Changes
- fix: bug in logical condition combinations @ThomasAribart (#1074)
v1.15.5: 🌈
Changes
- export indexes in table DTOs @ThomasAribart (#1068)
v1.15.4: 🌈
Changes
- fix DTOs rework @ThomasAribart (#1065)
v1.15.3: 🌈
Changes
- rework DTOs @ThomasAribart (#1064)
v1.15.2: 🌈
Changes
- Add entity attr if needed in all commands @ThomasAribart (#1063)
- Add example referencing timestamp attributes @tgdn (#1060)
v1.15.1: 🌈
Changes
- fix bug when using binaries in conditions @ThomasAribart (#1062)
- fix mermaidjs graphs in docs @ThomasAribart (#1061)
v1.15.0: 🌈
Changes
- feature: Add transform method on any attribute @ThomasAribart (#1056)
v1.14.8: 🌈
Changes
- fix: Bug in anyOf formatter @ThomasAribart (#1055)
v1.14.7: 🌈
Changes
- fix: add warning to entity dto constructor @ThomasAribart (#1054)
- update docs @ThomasAribart (#1053)
v1.14.6: 🌈
Changes
- enable consistent reads on local secondary indexes @ThomasAribart (#1052)
- add dynamodb-toolshack announcement @ThomasAribart (#1047)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.