bun-sqlite-for-rxdb 1.1.3 → 1.4.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/CHANGELOG.md DELETED
@@ -1,348 +0,0 @@
1
- # Changelog
2
-
3
- ## [1.1.0] - 2026-02-23
4
-
5
- ### Added
6
- - **schema.indexes Support** (v1.1.0)
7
- - Dynamic index creation from schema.indexes definitions
8
- - Supports single-field indexes: `['age']`
9
- - Supports compound indexes: `['age', 'status']`
10
- - Uses `json_extract()` for JSONB fields
11
- - Proper index naming: `idx_users_v0_age_status`
12
- - 9 lines of implementation code
13
- - Research validated: 4/5 RxDB storage plugins implement this
14
-
15
- ### Changed
16
- - **ORDER BY Optimization** (v1.1.0)
17
- - Removed redundant SQL `ORDER BY id` (we sort in-memory anyway)
18
- - Eliminates temp B-tree overhead in SQLite
19
- - Research finding: We already sort at line 226, SQL ORDER BY was redundant
20
-
21
- ### Performance
22
- - **29.8% faster queries** (165.43ms → 116.09ms avg on 100k docs)
23
- - Test 1 (age > 50): 20.6% faster
24
- - Test 2 (status = "active"): 22.1% faster
25
- - Test 3 (age > 30 AND status): 26.8% faster
26
- - Test 4 (age BETWEEN 25-35): 51.5% faster!
27
-
28
- ### Test Results
29
- - **Local tests: 138/138 pass (100%)** ✅
30
- - **Official RxDB tests: 122/122 pass (100%)** ✅
31
- - **Total: 260/260 tests pass (100%)** 🎉
32
-
33
- ### Research
34
- - **3 research agents deployed** (2 codebase + 1 web)
35
- - Verified implementation correctness vs other RxDB storages
36
- - Analyzed ORDER BY patterns in storage plugins
37
- - Researched SQLite covering indexes and optimization
38
- - **Key findings:**
39
- - Our implementation matches standard RxDB patterns
40
- - Better than official SQLite Trial (which has no indexes)
41
- - ORDER BY id was causing temp B-tree overhead
42
- - Removing it eliminated redundant sorting
43
-
44
- ### Documentation
45
- - Added Pattern #28: schema.indexes Support
46
- - Added Pattern #29: ORDER BY Optimization
47
- - Updated ROADMAP.md with implementation results
48
-
49
- ---
50
-
51
- ## [1.0.1] - 2026-02-23
52
-
53
- ### Added
54
- - **EXPLAIN QUERY PLAN Debug Mode** (Development Tool)
55
- - Activated via `DEBUG_QUERIES=1` environment variable
56
- - Logs query plans, SQL, and args to console
57
- - Helps verify query builder generates optimal SQL
58
- - Validates SQLite index usage
59
- - Zero production overhead (env var check only)
60
-
61
- ### Usage
62
- ```bash
63
- DEBUG_QUERIES=1 bun test
64
- ```
65
-
66
- ---
67
-
68
- ## [1.0.0] - 2026-02-23
69
-
70
- ### Added
71
- - **Attachments Support** (Phase 4)
72
- - Storage-level implementation with 4 comprehensive tests
73
- - `getAttachmentData()` returns base64 strings with digest validation
74
- - Preserves `_attachments` metadata in documents
75
- - Attachments table with composite keys (documentId||attachmentId)
76
- - 122/122 official RxDB tests passing (includes 5 attachment tests)
77
- - **RxDB Helper Functions** (Phase 4)
78
- - `categorizeBulkWriteRows()` - Battle-tested conflict detection + attachment extraction
79
- - `stripAttachmentsDataFromDocument()` - Remove attachment .data field, keep metadata
80
- - `stripAttachmentsDataFromRow()` - Strip attachments from bulk write rows
81
- - `attachmentWriteDataToNormalData()` - Convert attachment write format to storage format
82
- - `getAttachmentSize()` - Calculate attachment size from base64
83
-
84
- ### Changed
85
- - **bulkWrite Refactored** - Now uses `categorizeBulkWriteRows()` helper
86
- - Cleaner architecture with proper conflict handling
87
- - Automatic attachment extraction
88
- - Matches official adapter patterns (Dexie, MongoDB, SQLite)
89
-
90
- ### Test Results
91
- - **Local tests: 138/138 pass (100%)** ✅
92
- - **Official RxDB tests: 122/122 pass (100%)** ✅
93
- - **Total: 260/260 tests pass (100%)** 🎉
94
-
95
- ### Performance
96
- - Database operations: 1.06-1.68x faster than better-sqlite3
97
- - Query builder cache: 5.2-57.9x speedup for cached queries
98
- - All optimizations from v0.4.0 included
99
-
100
- ### Documentation
101
- - Updated ROADMAP.md - Phase 4 marked COMPLETE
102
- - Removed redundant Phase 4 TDD implementation details
103
- - All helper functions documented with line numbers
104
-
105
- ---
106
-
107
- ## [0.4.0] - 2026-02-23
108
-
109
- ### Added
110
- - **Query Builder LRU Cache** (Phase 2.5)
111
- - 5.2-57.9x speedup for repeated queries
112
- - High-frequency: 505K-808K queries/sec
113
- - Bounded at 500 entries (no memory leak)
114
- - True LRU eviction with canonical key generation (fast-stable-stringify)
115
- - Zero dependencies except fast-stable-stringify (5KB)
116
- - **RxDB Official Test Suite Integration** (Phase 3.1)
117
- - 112/112 official RxDB tests passing (100%)
118
- - StatementManager abstraction for automatic statement lifecycle
119
- - Connection pooling with reference counting for multi-instance support
120
- - Official `addRxStorageMultiInstanceSupport()` integration
121
- - Composite primary key support
122
- - Bun test suite compatibility (Mocha through Bun)
123
- - **Performance Benchmarks** (Phase 3.2)
124
- - Bun:sqlite 1.06-1.68x faster than better-sqlite3
125
- - Benchmarked at 1M documents with WAL + PRAGMA synchronous = 1
126
- - Query builder cache benchmarks
127
- - Raw database comparison benchmarks
128
- - **New Query Operators** (8 operators added)
129
- - `$exists` - Field existence check with IS NULL/IS NOT NULL
130
- - `$regex` - Pattern matching with LIKE translation and Mingo fallback
131
- - `$elemMatch` - Array element matching (Mingo fallback)
132
- - `$not` - Negation operator
133
- - `$nor` - Logical NOR
134
- - `$type` - Type checking with typeof()
135
- - `$size` - Array size with json_array_length()
136
- - `$mod` - Modulo operations
137
-
138
- ### Changed
139
- - **BREAKING**: Statement lifecycle management
140
- - Static SQL uses db.query() (cached, max 20)
141
- - Dynamic SQL uses db.prepare() + finalize() (no cache pollution)
142
- - StatementManager abstraction eliminates manual try-finally boilerplate
143
- - Connection pooling now mandatory for multi-instance support
144
- - Switched from custom multi-instance to RxDB's official implementation
145
-
146
- ### Fixed
147
- - Statement resource leaks (7 locations in instance.ts)
148
- - Collection isolation bug (events leaked across collections)
149
- - Composite primary key handling (string vs object format)
150
- - EventBulk.id generation (empty string → unique timestamp + random)
151
- - Multi-instance event propagation via BroadcastChannel
152
- - Bun test suite compatibility (node:sqlite import, test globals)
153
-
154
- ### Performance
155
- - Query builder cache: 5.2-57.9x speedup for cached queries
156
- - Database operations: 1.06-1.68x faster than better-sqlite3
157
- - No OOM errors (proper statement finalization)
158
- - Tests complete in 12.91s (no hangs)
159
-
160
- ### Test Results
161
- - **Local tests: 134/134 pass (100%)**
162
- - **Official RxDB tests: 112/112 pass (100%)**
163
- - **Total: 246/246 tests pass (100%)** 🎉
164
-
165
- ### Documentation
166
- - Added `docs/id1-testsuite-journey.md` - Complete debugging journey (15 iterations)
167
- - Added `docs/official-test-suite-setup.md` - Guide for running RxDB tests with Bun
168
- - Updated `docs/architectural-patterns.md` - Added patterns 15-24
169
- - Updated `ROADMAP.md` - Phase 2.5 and 3.2 marked COMPLETE, Phase 4 marked READY
170
-
171
- ### Technical Debt Resolved
172
- - Statement lifecycle properly managed (no leaks)
173
- - Connection pooling with reference counting
174
- - Test architecture at correct level (RxDatabase for integration, storage for low-level)
175
- - Proper separation of concerns (we handle DB pooling, RxDB handles event coordination)
176
-
177
- ---
178
-
179
- ## [0.3.1] - 2026-02-22
180
-
181
- ### Added
182
- - **JSONB Storage**: Implemented SQLite's native binary JSON format as default storage
183
- - 1.57x faster complex queries (657ms → 418ms at 1M docs)
184
- - 1.20x faster read + parse operations
185
- - 1.04x faster simple queries
186
- - Uses `jsonb()` on INSERT, `json()` on SELECT
187
- - **Smart Regex Optimization**: Convert simple regex patterns to SQL operators
188
- - 2.03x faster exact matches (^text$ → = operator)
189
- - 1.23x faster case-insensitive (COLLATE NOCASE vs LOWER())
190
- - Overall 1.24x speedup across all patterns
191
- - **Regression Tests**: Added tests for % and _ escaping edge cases
192
-
193
- ### Fixed
194
- - Critical bug: Missing % and _ escaping in case-insensitive exact match regex patterns
195
-
196
- ### Investigated
197
- - **FTS5 Trigram Indexes**: Benchmarked at 100k and 1M scales
198
- - Result: 1.5-1.79x SLOWER at our scale
199
- - Decision: NOT implemented (only beneficial at 10M+ rows)
200
- - Documented findings in architectural-patterns.md
201
-
202
- ### Performance
203
- - Complex queries: 1.57x faster (JSONB)
204
- - Exact match regex: 2.03x faster (smart optimization)
205
- - Read operations: 1.20x faster (JSONB)
206
-
207
- ---
208
-
209
- ## [0.3.0] - 2026-02-22
210
-
211
- ### Added
212
- - **Advanced Query Operators** (4 new operators)
213
- - `$in` - Value in array (80% usage in production)
214
- - `$nin` - Value not in array
215
- - `$or` - Logical OR with proper parentheses handling
216
- - `$and` - Explicit logical AND
217
- - NULL handling for `$in` / `$nin` operators
218
- - Recursive query builder with `logicalDepth` tracking
219
- - 13 new tests for advanced operators
220
-
221
- ### Performance
222
- - Benchmark results (10k documents):
223
- - Average query time: 27.39ms
224
- - Supports complex nested queries: `{$or: [{$and: [...]}, {field: {$in: [...]}}]}`
225
-
226
- ### Technical
227
- - DRY architecture: Pure operator functions, recursive builder
228
- - Type-safe: 0 `any` types, proper TypeScript throughout
229
- - Test coverage: 44/44 tests passing
230
-
231
- ## [0.2.0] - 2026-02-22
232
-
233
- ### Added
234
- - Conflict detection for concurrent writes
235
- - Catches UNIQUE constraint violations
236
- - Returns 409 status with existing document
237
- - Enables proper RxDB replication conflict handling
238
-
239
- ### Changed
240
- - **BREAKING**: `bulkWrite` now uses individual INSERT statements instead of INSERT OR REPLACE
241
- - Conflicts are now detected and returned as errors
242
- - Enables proper RxDB replication conflict resolution
243
-
244
- ### Performance
245
- - Benchmark results (10k documents, 10-run average):
246
- - **JSON + TEXT: 23.40ms** (WINNER)
247
- - Tested alternatives: MessagePack (137ms), bun:jsc (37ms)
248
- - **Verdict: Bun's SIMD-accelerated JSON is fastest**
249
-
250
- ### Research Notes
251
- - Extensively tested binary serialization formats (MessagePack, bun:jsc)
252
- - MessagePack: 5.6x slower than JSON (pure JS implementation)
253
- - bun:jsc (optimized): 1.58x slower than JSON (Structured Clone overhead)
254
- - **Conclusion: JSON + TEXT is optimal for Bun's architecture**
255
-
256
- ## [0.1.2] - 2026-02-22
257
-
258
- ### Added
259
- - Conflict detection for concurrent writes
260
- - Catches UNIQUE constraint violations
261
- - Returns 409 status with existing document
262
- - Enables proper RxDB replication conflict handling
263
-
264
- ### Changed
265
- - **BREAKING**: `bulkWrite` now uses individual INSERT statements instead of INSERT OR REPLACE
266
- - Conflicts are now detected and returned as errors
267
- - Enables proper RxDB replication conflict resolution
268
-
269
- ### Performance
270
- - Benchmark results (10k documents):
271
- - Simple equality: 15.40ms
272
- - Greater than: 22.05ms
273
- - Multiple conditions: 23.51ms
274
- - Range query: 24.89ms
275
- - Average: 21.46ms
276
-
277
- ## [0.1.2] - 2026-02-22
278
-
279
- ### Added
280
- - WAL mode for 3-6x write speedup and better concurrency
281
- - Automatically enabled for file-based databases
282
- - Skipped for in-memory databases (not supported by SQLite)
283
- - Proper checkpoint implementation in changeStream
284
- - Checkpoint structure: `{ id: documentId, lwt: timestamp }`
285
- - Enables efficient replication tracking
286
-
287
- ### Removed
288
- - **BREAKING**: Removed `conflictResultionTasks()` method (doesn't exist in RxDB interface)
289
- - **BREAKING**: Removed `resolveConflictResultionTask()` method (doesn't exist in RxDB interface)
290
- - Conflict resolution happens at RxDB replication level, not storage level
291
-
292
- ### Changed
293
- - WAL mode test now uses file-based database instead of in-memory
294
-
295
- ### Performance
296
- - Write operations: 3-6x faster with WAL mode
297
- - Concurrent reads during writes: No blocking with WAL mode
298
-
299
- ## [0.1.1] - 2026-02-22
300
-
301
- ### Added
302
- - SQL query builder for WHERE clause generation (10-100x speedup)
303
- - 6 Mango operators: `$eq`, `$ne`, `$gt`, `$gte`, `$lt`, `$lte`
304
- - Functional architecture (pure functions, no state)
305
- - Column mapping for RxDB internal fields
306
- - Fallback to in-memory filtering if WHERE fails
307
- - Benchmark script for performance testing
308
- - Comprehensive test suite (27 tests total)
309
- - 19 storage tests
310
- - 6 operator tests
311
- - 10 query builder tests
312
-
313
- ### Changed
314
- - **BREAKING**: Removed per-document error handling in `bulkWrite`
315
- - Now uses atomic transactions (all or nothing)
316
- - Entire batch fails if any document fails
317
- - Removed ALL `any` types (32 instances → 0)
318
- - Proper TypeScript types throughout
319
- - `RxStorage<BunSQLiteInternals, BunSQLiteStorageSettings>`
320
- - `RxStorageInstance` with proper type parameters
321
- - `PreparedQuery<RxDocType>` for queries
322
- - `RxStorageWriteError<RxDocType>` for errors
323
-
324
- ### Fixed
325
- - Type safety: Zero `any` types in entire codebase
326
- - Test isolation: Reference folder excluded from test runs
327
- - Schema types: Proper RxDB internal fields in all schemas
328
-
329
- ### Performance
330
- - Query performance: ~20ms average for 10k documents
331
- - Uses SQL WHERE clauses with indexed columns
332
- - Expected 10-100x speedup vs in-memory filtering
333
-
334
- ## [0.1.0] - 2026-02-20
335
-
336
- ### Added
337
- - Initial RxDB storage adapter for Bun's native SQLite
338
- - Basic CRUD operations (bulkWrite, query, findById, count)
339
- - Atomic transactions via `bun:sqlite`
340
- - In-memory Mango query filtering
341
- - Streak tracking support
342
- - Change stream for reactivity
343
- - 8 passing tests
344
-
345
- ### Features
346
- - SQLite via `bun:sqlite` (no external dependencies)
347
- - RxDB v16 and v17 beta support
348
- - MIT licensed
@@ -1 +0,0 @@
1
- {"version":3,"file":"connection-pool.d.ts","sourceRoot":"","sources":["../src/connection-pool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAUtC,wBAAgB,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAgB5E;AAED,wBAAgB,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAS1D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,YAAY,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../src/instance.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,UAAU,EAAE,MAAM,MA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,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAKnG;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,WAAW,GAAG,IAAI,CAEnF;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,WAAW,CAMtE;AAED,wBAAgB,YAAY,CAAC,UAAU,EAAE,GAAG,EAAE,GAAG,WAAW,CAiB3D;AAsBD,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAkB7E;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,WAAW,CAKtE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,WAAW,CAK/F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-mapper.d.ts","sourceRoot":"","sources":["../../src/query/schema-mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAEzD,MAAM,WAAW,UAAU;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;CAClD;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,GAAG,UAAU,CAkBlH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"smart-regex.d.ts","sourceRoot":"","sources":["../../src/query/smart-regex.ts"],"names":[],"mappings":"AAAA,MAAM,WA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G,OAAO;IAoB9C,KAAK,IAAI,IAAI;IAOb,OAAO,CAAC,WAAW;CAMnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../src/storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAmC,MAAM,MAAM,CAAC;AAEvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAG5E,wBAAgB,qBAAqB,CACpC,QAAQ,GAAE,wBAA6B,GACrC,SAAS,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,CAazD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,wBAAwB;IACxC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IAClC,EAAE,EAAE,QAAQ,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACpB"}