chore(release): sync upstream & update deps for next release#101
Closed
chore(release): sync upstream & update deps for next release#101
Conversation
- SQLite: bump amalgamation to 3.53.0 (from 3.51.3)
- Node.js: sync node_sqlite.{h,cc} and sqlite.js from v25.x-staging
(ffa9b8f); only upstream change is a minor filter-callback capture
fix which is already correct in our port
- Node compat tests: re-sync from upstream; skip the new
test-sqlite-serialize.js (serialize/deserialize APIs not yet ported)
and the new "session supports ERM" test (uses `using` which Node.js
22 CJS cannot parse); pin `typescript` to 5.x via .ncurc.js because
typedoc 0.28 doesn't yet support typescript 6
- Dependencies: bump jest, ts-jest, node-addon-api,
eslint-plugin-regexp; regenerate package-lock
- Docs: update CHANGELOG with an Unreleased section and refresh the
SQLite version referenced in features.md
Our upstream sync is from v25.x-staging@ffa9b8f, which is post-v25.9.0 (staging is currently tagged 25.9.1-pre-release). v25.9.0 is the latest released v25.x whose node:sqlite source we have fully incorporated. The sync-from-node script only auto-bumps the README for release tags, so staging syncs need a manual bump.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release-prep sync of upstream sources, dependency bumps, and docs refresh.
Upstream sync
node_sqlite.{h,cc},sqlite.js): synced fromv25.x-stagingatffa9b8f. Only substantive upstream change is a capture-by-value fix on theApplyChangesetfilter lambda; our port insrc/sqlite_impl.cppalready uses the safe capture pattern, so no code port was required.npm run sync:tests. Two new upstream tests added skip entries inscripts/sync-node-tests.ts:test-sqlite-serialize.js— skipped in its entirety;DatabaseSync.serialize()/deserialize()are not yet ported. Filed implicitly as a follow-up.session supports ERM(intest-sqlite-session.js) — skipped; uses ausingdeclaration which Node.js 22 CJS cannot parse. The sync script now rewritesusing→constso the file still parses, and the matching test is transformed totest.skip(...).Dependency updates
jest30.2 → 30.3ts-jest29.4.6 → 29.4.9node-addon-api8.6 → 8.7eslint-plugin-regexp3.0 → 3.1typescriptto^5.9.3via.ncurc.js(typedoc 0.28 doesn't yet support TypeScript 6).Docs
CHANGELOG.md: added an[Unreleased]section capturing the SQLite bump, upstream sync, and dep updates.doc/features.md: SQLite version bumped to 3.53.0.doc/working-with-data.md: prettier-only whitespace tweaks.Verification
npm run build:native✓ (SQLite 3.53.0 amalgamation compiles cleanly)npm run build:dist✓npm run lint✓ (tsc + eslint clean)npm run test:node: 293 passed / 6 skipped / 0 failednpm run test:api: 1 pre-existing failure on Node 22.22 (the "extra SQLITE_OPEN_* constants" test compares against the much smallernode:sqliteconstants set exposed by Node 22; this failure is unrelated to the changes in this PR — confirmed bygit stash+ rerun on the baseline).Test plan
npm run test:all(CJS + ESM) green on CI runnersnpm run test:apipasses on a Node 25+ runner (pre-existing Node 22 limitation aside)https://claude.ai/code/session_01RuRZdvQxHnKfcqwiA12SNN