Repository navigation
v0.3.4
This version runs on Node.js 22.13 or later, and the adapter of sql.js operates after a save. The change is backward compatible.
- The
enginesfield asks for Node.js 22.13, not 22.16. CI runs the tests on Node.js 22.13 in a second job. transaction,readTransaction,checkpoint,clearDatabaseandeventLogread the transaction state through one function. A connection with noisTransactiongets the probe. Before, a connection fromnew DatabaseSync()on Node.js 22.13 to 22.15 had no state, so a failed work stayed in its transaction.eventLogandsalvageEventLogkeep a reference to the statement of a read. Before, Node.js 22.13 finalized that statement during some reads ("statement has been finalized").sqlJsConnectioncompiles a statement for each call and frees it after the call. Before, it kept one statement for each SQL text, and anexport()of sql.js frees each statement. So each call after the first save threw "Statement closed". The typeSqlJsStatementhas noreset, because the adapter does not use it. AStatementof sql.js still matches the type.- The tests do not use
isOpenor FTS5, because Node.js 22.13 has neither.
Runtime dependencies: none.