Skip to content

Bump the bundled SQLite to 3.53.4 - #197

Merged
mr-smidge merged 1 commit into
xsco:mainfrom
v1vendi:sqlite-3.53.4
Sep 1, 2026
Merged

Bump the bundled SQLite to 3.53.4#197
mr-smidge merged 1 commit into
xsco:mainfrom
v1vendi:sqlite-3.53.4

Conversation

@v1vendi

@v1vendi v1vendi commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

The bundled amalgamation in ext/sqlite-amalgamation was 3.33.0, released in August 2020. This replaces it with 3.53.4.

The files were taken from sqlite.org and checked against the SHA3-256 published alongside them (628a44cfe82c66aed1ccbbe85a562d2e33ebe64b3288981ed76285612227934e for sqlite-amalgamation-3530400.zip).

Only the two vendored files change; nothing in the build or the library is touched.

Why

Split out of #196, where it matters for a specific reason: reading an encrypted OneLibrary database goes through sqlite3_deserialize, which arrived in SQLite 3.36. Built with -DSYSTEM_SQLITE=OFF against 3.33, that library compiles and passes its tests and then refuses to open any such database at run time. It is useful on its own, though, so it is offered separately rather than buried in that branch.

Testing

Built and run on macOS (arm64, Apple clang) with both -DSYSTEM_SQLITE=ON and -DSYSTEM_SQLITE=OFF: clean build under the project's -Wall -Wpedantic -Werror, 12/12 tests passing in each.

The amalgamation was also compiled by GCC 12 on x86-64 under the same warning flags, since a newer SQLite is the sort of thing that can introduce warnings; it was clean there too.

One consequence worth noting: the amalgamation has grown from 8.1 MB to 9.5 MB, and compiling it takes about 15 seconds rather than 11 on the machine used above.

The bundled amalgamation was 3.33.0, released in August 2020.  It is
replaced here with 3.53.4, taken from sqlite.org and checked against the
SHA3-256 published alongside it.

Only the two vendored files change; nothing in the build or the library
is touched.

@mr-smidge mr-smidge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - this reminds me to review minimum versions for library dependencies more generally, and I've raised #198 to do that.

LGTM though!

@mr-smidge
mr-smidge merged commit 99b5130 into xsco:main Sep 1, 2026
14 checks passed
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