From 39d1193d9a42e3b50bb20fbd27c841f90a830a43 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 07:30:02 +0000 Subject: [PATCH] chore(main): release 1.4.0 --- CHANGELOG.md | 19 +++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e42d165..e77eb20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [1.4.0](https://github.com/mysqljs/sql-escaper/compare/v1.3.3...v1.4.0) (2026-07-07) + + +### Features + +* add Set and Map support to `?` placeholder expansion ([#27](https://github.com/mysqljs/sql-escaper/issues/27)) ([a1dc888](https://github.com/mysqljs/sql-escaper/commit/a1dc8887d681cf54996cf93bf67e3a6091d591b8)) + + +### Bug Fixes + +* expand `SET ?` in multi-statement queries ([#34](https://github.com/mysqljs/sql-escaper/issues/34)) ([4638497](https://github.com/mysqljs/sql-escaper/commit/463849732da739decd1e05090592b42bcf0f9643)) +* extend SQL parsing to expand objects across `SET` assignment lists ([#37](https://github.com/mysqljs/sql-escaper/issues/37)) ([adaf338](https://github.com/mysqljs/sql-escaper/commit/adaf3381cd053fe5b195930097bc5feefd2b5a0b)) +* substitute placeholders near non-comment `--` and executable comments ([#31](https://github.com/mysqljs/sql-escaper/issues/31)) ([bcc11a2](https://github.com/mysqljs/sql-escaper/commit/bcc11a226861e5a1b1b5a930d6187c62c3cf27a4)) + + +### Performance Improvements + +* scan `SET` clauses per-token instead of per-char ([#38](https://github.com/mysqljs/sql-escaper/issues/38)) ([f953b9c](https://github.com/mysqljs/sql-escaper/commit/f953b9c206cff4e34312fd38b12936f6c1178315)) + ## [1.3.3](https://github.com/mysqljs/sql-escaper/compare/v1.3.2...v1.3.3) (2026-02-16) diff --git a/package-lock.json b/package-lock.json index 3dee86c..d65da46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sql-escaper", - "version": "1.3.3", + "version": "1.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sql-escaper", - "version": "1.3.3", + "version": "1.4.0", "license": "MIT", "devDependencies": { "@biomejs/biome": "^1.9.4", diff --git a/package.json b/package.json index 6b844ab..9ee3c29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sql-escaper", - "version": "1.3.3", + "version": "1.4.0", "description": "🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).", "main": "./lib/index.js", "module": "./lib/index.mjs",