From 62ac846d1a259c4f52d4853d698a285dde12d816 Mon Sep 17 00:00:00 2001 From: Marco Bambini Date: Fri, 13 Nov 2026 13:34:14 +0100 Subject: [PATCH] release: 1.4.2 SQLITE_JS_VERSION is what the release is tagged with and what sqlitejs_version() reports, so this is the whole of it: the release job reads make version, finds it differs from the latest release, and tags, publishes and releases under it. The changelog's Unreleased section becomes 1.4.2 and gains a note on the one change that can alter the behavior of JavaScript that works on 1.4.1. A patch release: one behavior change, narrow and in a corner that never worked as it looked -- a db.exec result set read after the call that created it returned -- and five fixes, two of them for crashes. Nothing added and nothing removed, so not 1.5.0. The built library reports 1.4.2 and the suite passes 16 of 16 on macOS arm64. Co-Authored-By: Claude Opus 5 --- CHANGELOG.md | 8 +++++++- src/sqlitejs.h | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb92602..74797e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [Unreleased] +## [1.4.2] - 2026-11-13 + +One change in this release can alter the behavior of JavaScript that works on 1.4.1: a `db.exec()` +result set no longer outlives the call into JavaScript that created it, so reading one in a later +call throws where it reported the end of its rows. See **Changed**. The rest is fixes, two of them +for crashes: a result set dropped partway through a query that computes a JavaScript window +function, and runaway recursion on a stack the check had measured wrongly. ### Changed diff --git a/src/sqlitejs.h b/src/sqlitejs.h index 048d62b..fb0172d 100644 --- a/src/sqlitejs.h +++ b/src/sqlitejs.h @@ -16,7 +16,7 @@ #include "sqlite3.h" #endif -#define SQLITE_JS_VERSION "1.4.1" +#define SQLITE_JS_VERSION "1.4.2" int sqlite3_js_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi); const char *sqlitejs_version (void);