serializable-bptree 8.4.2 → 9.0.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 CHANGED
@@ -82,6 +82,7 @@ Additionally, this library supports asynchronous operations and rule-based query
82
82
  - **Serializable**: Save and load the B+Tree state to/from any storage (File, DB, Memory, etc.).
83
83
  - **Duplicate Values**: Naturally handles duplicate values.
84
84
  - **Async/Sync Support**: Provides both synchronous and asynchronous APIs.
85
+ - **Pure Tree (No MVCC/Cache)**: Provides `BPTreePureSync` and `BPTreePureAsync` for users who only want core B+Tree logic without transaction overhead.
85
86
  - **Query Optimization**: Rule-based optimizer to choose the best index for complex queries.
86
87
  - **TypeScript**: Fully typed for a better developer experience.
87
88
  - **Auto Rollback**: Automatically cleans up internal memory buffers on commit failures, preventing memory leaks without manual intervention.
@@ -100,6 +101,8 @@ npx jsr add @izure/serializable-bptree
100
101
  import {
101
102
  BPTreeSync,
102
103
  BPTreeAsync,
104
+ BPTreePureSync,
105
+ BPTreePureAsync,
103
106
  SerializeStrategySync,
104
107
  SerializeStrategyAsync,
105
108
  NumericComparator,
@@ -114,12 +117,14 @@ import {
114
117
  import {
115
118
  BPTreeSync,
116
119
  BPTreeAsync,
120
+ BPTreePureSync,
121
+ BPTreePureAsync,
117
122
  InMemoryStoreStrategySync,
118
123
  InMemoryStoreStrategyAsync,
119
124
  ValueComparator,
120
125
  NumericComparator,
121
126
  StringComparator
122
- } from 'https://cdn.jsdelivr.net/npm/serializable-bptree@8/+esm'
127
+ } from 'https://cdn.jsdelivr.net/npm/serializable-bptree@9/+esm'
123
128
  </script>
124
129
  ```
125
130
 
@@ -134,6 +139,7 @@ Explore the detailed guides and concepts of `serializable-bptree`:
134
139
  - [Query Conditions](./docs/QUERY.md): Detailed explanation of the `where()` operators.
135
140
  - [Asynchronous Usage](./docs/ASYNC.md): How to use the tree in an async environment.
136
141
  - **Advanced Topics**
142
+ - [Pure Tree (No MVCC/Cache)](./docs/PURE_TREE.md): Use cases and limitations for `BPTreePureSync` and `BPTreePureAsync`.
137
143
  - [Transaction System (MVCC)](./docs/TRANSACTION.md): ACID transactions, Snapshot Isolation, and Optimistic Locking.
138
144
  - [Best Practices](./docs/BEST_PRACTICES.md): Tips for bulk insertion and performance optimization.
139
145
  - [Duplicate Value Handling](./docs/DUPLICATE_VALUES.md): Strategies for managing large amounts of duplicate data.
@@ -167,7 +173,7 @@ console.log('Found: ', keys)
167
173
 
168
174
  ## Migration
169
175
 
170
- Instructions for migrating between major versions (e.g., v8.0.0, v6.0.0) can be found in the [Migration Guide](./docs/MIGRATION.md).
176
+ Instructions for migrating between major versions (e.g., v9.0.0, v8.0.0, v6.0.0) can be found in the [Migration Guide](./docs/MIGRATION.md).
171
177
 
172
178
  ## LICENSE
173
179