js-bao 0.7.0-alpha.8 → 0.11.0
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 +16 -0
- package/dist/browser.cjs +2553 -537
- package/dist/browser.d.cts +1077 -138
- package/dist/browser.d.ts +1077 -138
- package/dist/browser.js +2551 -535
- package/dist/client.cjs +139 -2
- package/dist/client.d.cts +740 -109
- package/dist/client.d.ts +740 -109
- package/dist/client.js +137 -1
- package/dist/cloudflare-do.cjs +693 -111
- package/dist/cloudflare-do.d.cts +991 -95
- package/dist/cloudflare-do.d.ts +991 -95
- package/dist/cloudflare-do.js +691 -109
- package/dist/cloudflare.cjs +258 -19
- package/dist/cloudflare.d.cts +840 -110
- package/dist/cloudflare.d.ts +840 -110
- package/dist/cloudflare.js +256 -17
- package/dist/codegen-v2.cjs +221 -11
- package/dist/codegen.cjs +1 -1
- package/dist/format2-worker.js +895 -99
- package/dist/index.cjs +2570 -539
- package/dist/index.d.cts +1077 -138
- package/dist/index.d.ts +1077 -138
- package/dist/index.js +2555 -537
- package/dist/node.cjs +2563 -539
- package/dist/node.d.cts +1018 -138
- package/dist/node.d.ts +1018 -138
- package/dist/node.js +2550 -537
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1553,3 +1553,19 @@ See the `examples/` directory for complete working examples:
|
|
|
1553
1553
|
|
|
1554
1554
|
- `examples/simple-node-test.mjs` - Basic Node.js usage without models
|
|
1555
1555
|
- `examples/node-example.mjs` - Complete Node.js example with models
|
|
1556
|
+
|
|
1557
|
+
## Release notes
|
|
1558
|
+
|
|
1559
|
+
Changes to the on-disk behaviour of `js-bao/cloudflare/do` (`DurableObjectEngine`)
|
|
1560
|
+
that a store's owner can observe. Newest first.
|
|
1561
|
+
|
|
1562
|
+
- **`_indexes.created_at` reports the first registration** (#3875). Re-registering
|
|
1563
|
+
a field index whose `field_type` and `is_unique` are unchanged no longer
|
|
1564
|
+
rewrites its `_indexes` row: it writes no row, and `created_at` keeps the time
|
|
1565
|
+
of the first registration. A registration that changes either column still
|
|
1566
|
+
rewrites the row and refreshes `created_at`, as before.
|
|
1567
|
+
- **`replaceWithStringSets` is internal** (#3875). The engine gained
|
|
1568
|
+
`replaceWithStringSets` / `replaceWithStringSetsRaw`, a guarded replace used
|
|
1569
|
+
only by the platform's plain-document projection rebuild. They are marked
|
|
1570
|
+
`@internal` and are not a public API; saves keep the merging
|
|
1571
|
+
`insertWithStringSets`.
|