@farukada/aws-langgraph-dynamodb-ts 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -308,15 +308,11 @@ When S3 offloading is enabled, on the bucket/objects: `s3:GetObject`, `s3:PutObj
|
|
|
308
308
|
|
|
309
309
|
## Migrating from earlier versions
|
|
310
310
|
|
|
311
|
-
**0.
|
|
311
|
+
**0.2.x → 0.3.0** is a complete, ground-up rewrite. The public API is similar, but the table schema, on-disk layout, and several options changed, so existing data is **not compatible** — create a new table.
|
|
312
312
|
|
|
313
|
-
- **
|
|
314
|
-
- **
|
|
315
|
-
-
|
|
316
|
-
|
|
317
|
-
The original ground-up rewrite also made these breaking changes versus the pre-rewrite `0.x` line:
|
|
318
|
-
|
|
319
|
-
- **Table schema is now `PK`/`SK` strings** (one table for all adapters) instead of per-adapter custom key names. Existing data is not compatible — create the new table.
|
|
313
|
+
- **Table schema is now `PK`/`SK` strings** (one table for all adapters) instead of per-adapter custom key names. The key attribute names changed, so CDK/Terraform definitions need updating.
|
|
314
|
+
- **Store keys** are `PK = namespace[0]`, `SK = namespace[1..]#key` (was `PK = full namespace`, `SK = key`).
|
|
315
|
+
- **Chat history is one item per message** (`SK = MSG#<ULID>`) plus a `SESSION` metadata item, replacing the single per-session item.
|
|
320
316
|
- **Single `tableName` option** per adapter (was `checkpointsTableName`/`writesTableName`, etc.).
|
|
321
317
|
- **One `ttl` option** — `{ days }` or `{ seconds }` — replaces `ttlDays`/`ttlSeconds`.
|
|
322
318
|
- **S3 config option renamed** `s3OffloadConfig` → `s3`.
|
package/package.json
CHANGED