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);