Skip to content

bump better-sqlite3 to v12 for Node 24 prebuilt support#25

Closed
galsakuri wants to merge 2 commits into
tinacms:mainfrom
galsakuri:fix/better-sqlite3-node24-prebuilt
Closed

bump better-sqlite3 to v12 for Node 24 prebuilt support#25
galsakuri wants to merge 2 commits into
tinacms:mainfrom
galsakuri:fix/better-sqlite3-node24-prebuilt

Conversation

@galsakuri
Copy link
Copy Markdown

Ran into tinacms/tinacms#6686 on a fresh Windows + Node 24 setup. npm install tinacms stalls trying to compile better-sqlite3 natively because ^11.8.1 (resolves to 11.10.0) has no prebuilt binary for win32/x64 on ABI 137. Bumping to ^12.9.0 picks up the prebuilt and the install completes cleanly.

No API changes needed in the sqlite-level source. The Database, prepare, exec, and iterate calls are all identical in v12. The lockfile just points to the new resolution.

One thing worth flagging: better-sqlite3@12 drops Node 18 support (requires 20+). Node 18 went EOL in April 2025 so it probably doesn't matter, but flagging it in case TinaCMS still has users on it.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 19, 2026

🦋 Changeset detected

Latest commit: 54992aa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sqlite-level Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 19, 2026

CLA assistant check
All committers have signed the CLA.

@galsakuri galsakuri closed this by deleting the head repository May 10, 2026
kulesy added a commit that referenced this pull request May 19, 2026
Pinning the floor to the version we actually tested and resolved
against. The previous ^12.9.0 was inherited from #25 with no strong
reason; consumers always resolve to the highest matching version
(12.10.0) anyway, so the floor only matters for honest signalling.

Updates package.json, lockfile importer spec, and the changeset text.
No behavioural change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants