Skip to content

build(deps-dev): bump sql.js from 1.14.2 to 1.15.2 - #246

Merged
atomantic merged 1 commit into
mainfrom
dependabot/npm_and_yarn/sql.js-1.15.1
Nov 10, 2026
Merged

atomantic merged 1 commit into
mainfrom
dependabot/npm_and_yarn/sql.js-1.15.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Bumps sql.js from 1.14.2 to 1.15.2.

Release notes

Sourced from sql.js's releases.

Release v1.15.2

Fixed

  • Database.export() now keeps the existing database connection open, preserving update hooks, custom functions and aggregates, prepared statements/cursors, PRAGMAs, TEMP objects, attached databases and change counters. (#644)
  • Export uses SQLite's backup API to fill a single JS-owned output buffer, avoiding a database-sized WASM allocation and repeated intermediate copies. WAL-mode databases produce standalone, reopenable snapshots.
  • Include generated documentation in GitHub Pages deployments. (#645)

Transaction behavior

Commit or roll back an active write transaction before calling export(). Export now throws during a write transaction instead of implicitly rolling it back. Read transactions are supported. Export does not end transactions or change savepoints, including on failure.

The exported file contains only the main database. Connection-local callbacks/settings, TEMP objects and attached databases remain usable on the original connection but are not included in the exported file.

Validation

CI covers all five WebAssembly variants, browser/worker distribution checks and the new export regressions. In the recorded same-runner comparison, exporting a 577.53 MiB database took 233 ms with 21 MiB WASM memory; a 108 MiB database also exported under an enforced 64 MiB WASM cap. Performance varies by environment.

Full changelog: sql-js/sql.js@v1.15.1...v1.15.2

Release v1.15.1

Fixes for SQL names and user-defined functions:

  • Preserve columns named __proto__ in Statement.getAsObject() and Database.each() while keeping ordinary object results.
  • Keep aggregate callbacks together so SQL names ending in __finalize cannot collide with another aggregate's internal finalizer.
  • Track function registrations by SQLite's ASCII case-insensitive name and argument count, allowing scalar and aggregate overloads to coexist and be replaced independently.

Regression tests reproduce all three failures on the previous implementation. Validation includes the full WebAssembly suite, distribution checks, lint, documentation generation, and the asm.js memory-growth suite.

Release v1.15.0

This release adds single-file WebAssembly builds and updates SQLite from 3.49.1 to 3.54.0.

  • Add sql-wasm-inline.js and worker.sql-wasm-inline.js, with debug variants. These embed the WebAssembly binary and need no companion .wasm file or locateFile configuration.
  • Deprecate asm.js builds. They remain in the npm package and sqljs-all.zip; use the inline WebAssembly builds for single-file integration.
  • Preserve embedded NUL characters when binding or reading TEXT and passing TEXT to or from JavaScript SQL functions (#634).
  • Allocate SQL strings on the heap in Database.run and Database.prepare, fixing failures with SQL larger than the WebAssembly stack (#482, #639).
  • Free statement iterator resources when a for...of loop exits early (#457, #632).
  • Reset the worker database after close so subsequent requests can initialize a fresh database (#638).
  • Update Emscripten to 6.0.12, development tooling, CI actions, documentation, and browser dependencies (#637).
  • Retain npm trusted publishing with provenance, and retry transient SQLite source download failures.

Node.js users need Node.js 18.3 or newer. WebAssembly support is required for the default and inline builds.

Full changes: sql-js/sql.js@v1.14.2...v1.15.0

Commits
  • 4f1c22d fix: preserve database state when exporting (#644)
  • b586e36 fix: include generated documentation in Pages deployments (#645)
  • fa1f0c1 fix: isolate SQL names and function callback registrations
  • 77cd027 fix: call aggregate init when there are no rows to aggregate (#641)
  • 4b638f7 fix: report the message of Errors thrown in user-defined functions (#640)
  • 2824d38 Bump version to 1.15.0
  • 8dae09f build: retry transient SQLite source download failures
  • 787e8ec ci(release): switch npm publish to trusted publishing
  • 761091a fix: free StatementIterator resources on early loop exit (#457) (#632)
  • 83331b5 Preserve embedded NUL characters in TEXT values (#634)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 25, 2026
@atomantic

Copy link
Copy Markdown
Owner

@dependabot rebase

1 similar comment
@atomantic

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot dependabot Bot changed the title build(deps-dev): bump sql.js from 1.14.2 to 1.15.1 build(deps-dev): bump sql.js from 1.14.2 to 1.15.2 Nov 10, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/sql.js-1.15.1 branch from b2a1ae6 to 37ac764 Compare November 10, 2026 15:03
@atomantic

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [sql.js](https://github.com/sql-js/sql.js) from 1.14.2 to 1.15.2.
- [Release notes](https://github.com/sql-js/sql.js/releases)
- [Commits](sql-js/sql.js@v1.14.2...v1.15.2)

---
updated-dependencies:
- dependency-name: sql.js
  dependency-version: 1.15.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/sql.js-1.15.1 branch from 37ac764 to 630936c Compare November 10, 2026 15:04
@atomantic
atomantic merged commit 51addb2 into main Nov 10, 2026
4 checks passed
@atomantic
atomantic deleted the dependabot/npm_and_yarn/sql.js-1.15.1 branch November 10, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant