serializable-bptree 7.0.3 → 8.0.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 +4 -6
- package/dist/cjs/index.cjs +2804 -2443
- package/dist/esm/index.mjs +2804 -2443
- package/dist/types/BPTreeAsync.d.ts +2 -5
- package/dist/types/BPTreeSync.d.ts +1 -2
- package/dist/types/SerializeStrategyAsync.d.ts +0 -2
- package/dist/types/SerializeStrategySync.d.ts +0 -2
- package/dist/types/base/{BPTree.d.ts → BPTreeTransaction.d.ts} +25 -36
- package/dist/types/base/SerializeStrategy.d.ts +0 -12
- package/dist/types/index.d.ts +1 -1
- package/dist/types/transaction/BPTreeAsyncTransaction.d.ts +44 -48
- package/dist/types/transaction/BPTreeMVCCStrategyAsync.d.ts +15 -0
- package/dist/types/transaction/BPTreeMVCCStrategySync.d.ts +15 -0
- package/dist/types/transaction/BPTreeSyncTransaction.d.ts +44 -48
- package/dist/types/types/index.d.ts +8 -0
- package/package.json +3 -2
- package/dist/types/base/BPTreeAsyncBase.d.ts +0 -41
- package/dist/types/base/BPTreeSyncBase.d.ts +0 -39
- package/dist/types/transaction/BPTreeAsyncSnapshotStrategy.d.ts +0 -18
- package/dist/types/transaction/BPTreeSyncSnapshotStrategy.d.ts +0 -18
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
ValueComparator,
|
|
116
116
|
NumericComparator,
|
|
117
117
|
StringComparator
|
|
118
|
-
} from 'https://cdn.jsdelivr.net/npm/serializable-bptree@
|
|
118
|
+
} from 'https://cdn.jsdelivr.net/npm/serializable-bptree@8/+esm'
|
|
119
119
|
</script>
|
|
120
120
|
```
|
|
121
121
|
|
|
@@ -159,13 +159,11 @@ for (const [pk, val] of driver.tree.whereStream(driver.condition)) {
|
|
|
159
159
|
}
|
|
160
160
|
```
|
|
161
161
|
|
|
162
|
-
## Migration
|
|
162
|
+
## Migration
|
|
163
163
|
|
|
164
|
-
|
|
164
|
+
Instructions for migrating between major versions (e.g., v8.0.0, v6.0.0) can be found in the [Migration Guide](./docs/MIGRATION.md).
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
> **Breaking Changes & Incompatibility**
|
|
168
|
-
> v6.0.0 enforces strict value sorting. **Data structures created with v5.x.x or earlier are incompatible** with v6.0.0. It is highly recommended to rebuild your tree from scratch. For more details, see the [Concurrency & Synchronization](./docs/CONCURRENCY.md) guide.
|
|
166
|
+
## LICENSE
|
|
169
167
|
|
|
170
168
|
## LICENSE
|
|
171
169
|
|