@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.
Files changed (2) hide show
  1. package/README.md +4 -8
  2. 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.3.0 → 0.4.0** changes the on-disk layout (the public API is unchanged):
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
- - **Store keys changed** to `PK = namespace[0]`, `SK = namespace[1..]#key` (was `PK = full namespace`, `SK = key`).
314
- - **Chat history is now one item per message** (`SK = MSG#<ULID>`) plus a `SESSION` metadata item, replacing the single per-session item.
315
- - Existing `0.3.0` data is **not readable** by `0.4.0` — recreate the table (the `PK`/`SK` schema itself is unchanged, so CDK/Terraform need no edits).
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farukada/aws-langgraph-dynamodb-ts",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "license": "MIT",
5
5
  "description": "AWS DynamoDB implementation for LangGraph Memory Store and Checkpoint Saver in TypeScript",
6
6
  "keywords": [