Skip to content

Commit ddc7348

Browse files
committed
chore(release): prep v1.2.0
SQLite 3.52.0 → 3.53.0. Per the updated skill rule, SQLite minor bumps are at least MINOR for us: users reach new SQL functions, pragmas, and behavior changes (FP precision) through db.exec/db.prepare regardless of whether we expose a matching JS surface. Upstream sync: Node v25.x-staging ca2d6ea → ffa9b8f (fully contains v25.9.0). Skip test-sqlite-serialize.js — DatabaseSync.serialize() / deserialize() are not yet ported; the synced tests broke CI.
1 parent 69902dc commit ddc7348

5 files changed

Lines changed: 25 additions & 332 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.2.0]
6+
7+
API compatible with `node:sqlite` from Node.js v25.9.0.
8+
9+
### Changed
10+
11+
- **SQLite 3.53.0**: Updated from 3.52.0. Adds `json_array_insert()` / `jsonb_array_insert()` SQL functions, `ALTER TABLE` support for adding/removing `NOT NULL` and `CHECK` constraints, `REINDEX EXPRESSIONS` to rebuild expression indexes, `VACUUM INTO` `reserve=N` URI parameter, and new C APIs (`sqlite3_str_truncate`, `sqlite3_str_free`, `sqlite3_carray_bind_v2`, `SQLITE_PREPARE_FROM_DDL`, `SQLITE_DBCONFIG_FP_DIGITS`). Floating-point text conversion default changed from 15 to 17 significant digits. [Full release notes](https://www.sqlite.org/releaselog/3_53_0.html).
12+
- **Upstream sync**: Node.js `v25.x-staging@ca2d6ea``ffa9b8f` (includes content through Node.js v25.9.0). Upstream made a cosmetic lambda-capture fix in `ApplyChangeset`'s filter callback; our port already used equivalent by-value captures.
13+
14+
### Fixed
15+
16+
- **Docs**: corrected stale "DataView parameter binding is not currently supported" note; `BLOB` binding accepts `TypedArray` or `DataView` input and returns `Uint8Array`.
17+
18+
### Internal
19+
20+
- **Test sync**: skip `test-sqlite-serialize.js` — Node.js `DatabaseSync.prototype.serialize()` / `deserialize()` APIs are not yet ported.
21+
522
## [1.1.0]
623

724
### Changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![npm version](https://img.shields.io/npm/v/@photostructure/sqlite.svg)](https://www.npmjs.com/package/@photostructure/sqlite)
66
[![CI](https://github.com/photostructure/node-sqlite/actions/workflows/build.yml/badge.svg)](https://github.com/photostructure/node-sqlite/actions/workflows/build.yml)
77

8-
Native SQLite for Node.js 20+. Drop-in replacement for `node:sqlite`. Synced with Node.js v25.8.1 for the latest features including native `Symbol.dispose` resource management.
8+
Native SQLite for Node.js 20+. Drop-in replacement for `node:sqlite`. Synced with Node.js v25.9.0 for the latest features including native `Symbol.dispose` resource management.
99

1010
## Installation
1111

@@ -29,7 +29,7 @@ db.close();
2929

3030
## Features
3131

32-
- 100% compatible with Node.js v25.8.1 built-in `node:sqlite` module\*
32+
- 100% compatible with Node.js v25.9.0 built-in `node:sqlite` module\*
3333
- Zero dependencies - native SQLite implementation
3434
- Synchronous API - no async overhead
3535
- Performance comparable to better-sqlite3

doc/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Features and capabilities in @photostructure/sqlite.
1414

1515
## SQLite version
1616

17-
This package includes SQLite 3.51.3 with extensive compile-time options enabled. For complete build flag documentation, comparison with Node.js, and customization options, see [Build Flags & Configuration](./build-flags.md).
17+
This package includes SQLite 3.53.0 with extensive compile-time options enabled. For complete build flag documentation, comparison with Node.js, and customization options, see [Build Flags & Configuration](./build-flags.md).
1818

1919
## Enabled SQLite features
2020

scripts/sync-node-tests.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ const skipFiles = new Set([
3131

3232
// Tests webstorage behavior when sqlite is unavailable - not relevant for us
3333
"test-webstorage-without-sqlite.js",
34+
35+
// Tests DatabaseSync.prototype.serialize() / deserialize(), which are
36+
// Node.js node:sqlite APIs we have not yet ported. Remove this entry once
37+
// the APIs are implemented in src/sqlite_impl.cpp.
38+
"test-sqlite-serialize.js",
3439
]);
3540

3641
// Individual tests within files that cannot pass in our standalone package.

test/node-compat/test-sqlite-serialize.test.js

Lines changed: 0 additions & 329 deletions
This file was deleted.

0 commit comments

Comments
 (0)