From 477431279e704d619f62b214a0dc25138c2712c4 Mon Sep 17 00:00:00 2001 From: Affan Khan Date: Mon, 22 Jun 2026 13:16:29 -0400 Subject: [PATCH] chore(release): bump version to v1.6.0 Bump all language ports and the SQLite extension from 1.5.0 to 1.6.0 for the buffer-reuse feature (new backward-compatible Builder API). Also fixes a stale runtime version: SQLITE_MSGPACK_VERSION was still "1.4.0" (the v1.5.0 bump missed it), so msgpack_version() now correctly reports 1.6.0 (1006000). Bumped: root + cpp CMakeLists, src/msgpack.c (header + version defines), js (package.json, package-lock.json, src/index.ts), rust (Cargo.toml, src/lib.rs), python (pyproject.toml, __init__.py), go (format.go). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CMakeLists.txt | 2 +- cpp/CMakeLists.txt | 2 +- go/format.go | 2 +- js/package-lock.json | 4 ++-- js/package.json | 2 +- js/src/index.ts | 2 +- python/msgpack_blob/__init__.py | 2 +- python/pyproject.toml | 2 +- rust/Cargo.toml | 2 +- rust/src/lib.rs | 2 +- src/msgpack.c | 6 +++--- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59ff563..69191ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(sqlite_msgpack VERSION 1.5.0 LANGUAGES C CXX) +project(sqlite_msgpack VERSION 1.6.0 LANGUAGES C CXX) # ── Options ────────────────────────────────────────────────────────────────── option(BUILD_SHARED_LIBS "Build msgpack as a loadable extension (.so/.dylib/.dll)" ON) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index b9cf1ab..c416140 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(msgpack_blob VERSION 1.5.0 LANGUAGES CXX) +project(msgpack_blob VERSION 1.6.0 LANGUAGES CXX) # ── Standalone C++ MessagePack Blob library (no SQLite dependency) ───────────── # A self-contained package — the C++ sibling of the python/, js/, rust/ and go/ diff --git a/go/format.go b/go/format.go index d34368f..93a32b8 100644 --- a/go/format.go +++ b/go/format.go @@ -14,7 +14,7 @@ const MaxDepth = 200 const MaxOutput = 64 * 1024 * 1024 // Version of the library. -const Version = "1.5.0" +const Version = "1.6.0" // MessagePack format bytes. const ( diff --git a/js/package-lock.json b/js/package-lock.json index fbf0154..4cdcf02 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -1,12 +1,12 @@ { "name": "msgpack-blob", - "version": "1.5.0", + "version": "1.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "msgpack-blob", - "version": "1.5.0", + "version": "1.6.0", "license": "MIT", "devDependencies": { "typescript": "^5.7.0" diff --git a/js/package.json b/js/package.json index 263ce81..af75ac9 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "msgpack-blob", - "version": "1.5.0", + "version": "1.6.0", "description": "Pure-TypeScript MessagePack Blob API — byte-identical to the sqlite-msgpack C++ library", "type": "module", "main": "./dist/index.js", diff --git a/js/src/index.ts b/js/src/index.ts index 3fc6714..7969c70 100644 --- a/js/src/index.ts +++ b/js/src/index.ts @@ -25,4 +25,4 @@ export { Builder } from "./builder.ts"; export { Iterator, EachRow } from "./iterator.ts"; export { MAX_DEPTH, MAX_OUTPUT } from "./format.ts"; -export const VERSION = "1.5.0"; +export const VERSION = "1.6.0"; diff --git a/python/msgpack_blob/__init__.py b/python/msgpack_blob/__init__.py index cae9a0b..f4799aa 100644 --- a/python/msgpack_blob/__init__.py +++ b/python/msgpack_blob/__init__.py @@ -26,7 +26,7 @@ from .iterator import EachRow, Iterator from .value import IntWidth, Type, Value, type_str -__version__ = "1.5.0" +__version__ = "1.6.0" __all__ = [ "Blob", diff --git a/python/pyproject.toml b/python/pyproject.toml index b4f05c5..5046edc 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "msgpack-blob" -version = "1.5.0" +version = "1.6.0" description = "Pure-Python MessagePack Blob API — byte-identical to the sqlite-msgpack C++ library" readme = "README.md" requires-python = ">=3.7" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index f944baa..2a396d7 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "msgpack_blob" -version = "1.5.0" +version = "1.6.0" edition = "2021" rust-version = "1.70" description = "Pure-Rust MessagePack Blob API — byte-identical to the sqlite-msgpack C++ library" diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 7a806d3..a7b36e9 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -61,4 +61,4 @@ pub const MAX_DEPTH: i32 = format::MAX_DEPTH; pub const MAX_OUTPUT: usize = format::MAX_OUTPUT; /// Crate version. -pub const VERSION: &str = "1.5.0"; +pub const VERSION: &str = "1.6.0"; diff --git a/src/msgpack.c b/src/msgpack.c index dd7a756..0c87559 100644 --- a/src/msgpack.c +++ b/src/msgpack.c @@ -1,5 +1,5 @@ /* -** SQLite MessagePack Extension — v1.5.0 +** SQLite MessagePack Extension — v1.6.0 ** ** A full-featured SQLite extension for creating, querying, and manipulating ** MessagePack binary data (stored as BLOBs), mirroring the JSON1 extension API. @@ -73,8 +73,8 @@ #include "sqlite3ext.h" SQLITE_EXTENSION_INIT1 -#define SQLITE_MSGPACK_VERSION "1.4.0" -#define SQLITE_MSGPACK_VERSION_NUMBER 1004000 /* major*1000000 + minor*1000 + patch */ +#define SQLITE_MSGPACK_VERSION "1.6.0" +#define SQLITE_MSGPACK_VERSION_NUMBER 1006000 /* major*1000000 + minor*1000 + patch */ #include #include