---
title: "sql.js 1.17.0 Breaking Changes on npm | Since.dev"
description: "What each sql.js release removed, renamed or changed: 17 breaking changes in 6 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/sql.js
last_updated: 2026-12-04
---

# sql.js breaking changes

sql.js 1.17.0 (November 19, 2026) is its newest release with breaking changes, 2 of them. The first: BigInt parameters are bound as 64-bit integers instead of text in sql.js 1.17.0. Every breaking API change we have recorded in sql.js on npm: 17 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.17.0`, released November 19, 2026. [Source repository](https://github.com/sql-js/sql.js)

Its 1.15.0 release requires Node.js 18.3 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.0.0](#v-1-0-0) to [1.17.0](#v-1-17-0): 14 breaking changes in 5 versions.

## sql.js 1.17.0 breaking changes

sql.js 1.17.0, released November 19, 2026: 2 breaking changes.

- **Behavior changed**  

A BigInt parameter is now stored as an INTEGER rather than converted to TEXT. Code that stored or compared these values as TEXT will now see INTEGER values. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.17.0)
- **Behavior changed**  

A BigInt parameter outside the signed 64-bit range now throws a RangeError instead of being passed through as text. Code that relied on such values must keep them within range. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.17.0)

## sql.js 1.16.0 breaking changes

sql.js 1.16.0, released November 10, 2026: 9 breaking changes.

- **Removed** `charindex`  

In native mode, charindex is unavailable, including in saved views and triggers. Register your own implementation. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.16.0)
- **Removed** `median`  

In native mode, median is unavailable, including in saved views and triggers. Register your own implementation. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.16.0)
- **Removed** `reverse`  

In native mode, reverse is unavailable, including in saved views and triggers. Register your own implementation. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.16.0)
- **Removed** `stdev`  

In native mode, stdev is unavailable, including in saved views and triggers. Register your own implementation. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.16.0)
- **Removed** `variance`  

In native mode, variance is unavailable, including in saved views and triggers. Register your own implementation. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.16.0)
- **Behavior changed**  

Some math functions return NULL for invalid inputs where the legacy versions returned zero. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.16.0)
- **Behavior changed** `log`  

With useOldExtensionFunctions: false, log(100) returns 2. Use ln() for the natural logarithm. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.16.0)
- **Behavior changed** `sign`  

Native sign() returns an integer, which can change results that depend on the return type. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.16.0)
- **Default changed** `useOldExtensionFunctions`  

Legacy functions remain enabled by default in this release. Test with useOldExtensionFunctions: false before the next major version. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.16.0)

## sql.js 1.15.2 breaking changes

sql.js 1.15.2, released October 26, 2026: 1 breaking change.

- **Behavior changed** `Database.export`  

Export no longer rolls back an open write transaction implicitly; it throws instead. Commit or roll back the write transaction before calling export(). Read transactions are still supported. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.15.2)

## sql.js 1.15.1 breaking changes

sql.js 1.15.1, released October 19, 2026: 1 breaking change.

- **Behavior changed**  

Function names are matched case-insensitively and by argument count, so scalar and aggregate functions with the same name can coexist and be replaced independently. Code that relied on re-registering a function under the same name with a... [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.15.1)

## sql.js 1.15.0 breaking changes

sql.js 1.15.0, released October 14, 2026: 1 breaking change.

- **Behavior changed**  

Node.js users must run Node.js 18.3 or newer to use this release. [github.com](https://github.com/sql-js/sql.js/releases/tag/v1.15.0)

## sql.js 1.0.0 breaking changes

sql.js 1.0.0, released April 29, 2019: 3 breaking changes.

- **Removed** `Database`  

Database was removed in sql.js 1.0.0 [npmjs.com](https://www.npmjs.com/package/sql.js/v/1.0.0)
- **Removed** `QueryResults`  

QueryResults was removed in sql.js 1.0.0 [npmjs.com](https://www.npmjs.com/package/sql.js/v/1.0.0)
- **Removed** `Statement`  

Statement was removed in sql.js 1.0.0 [npmjs.com](https://www.npmjs.com/package/sql.js/v/1.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
