diff --git a/Cargo.lock b/Cargo.lock index 663e1eb8..15ef421c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -315,7 +315,7 @@ dependencies = [ [[package]] name = "transcribe-cpp" -version = "0.2.1" +version = "0.2.2" dependencies = [ "hound", "log", @@ -325,7 +325,7 @@ dependencies = [ [[package]] name = "transcribe-cpp-sys" -version = "0.2.1" +version = "0.2.2" dependencies = [ "cmake", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index 9074c351..e085c9e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ [package] name = "transcribe-cpp-sys" -version = "0.2.1" +version = "0.2.2" edition = "2021" rust-version = "1.74" description = "Native FFI bindings for transcribe.cpp, a C/C++ speech-to-text library built on ggml" diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index 62dcb30a..c9c204b2 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "transcribe-cpp" -version = "0.2.1" +version = "0.2.2" description = "Python bindings for transcribe.cpp" readme = "README.md" # 3.8 is EOL (2024-10); 3.9 is the floor. The binding is ctypes-only, so there @@ -34,13 +34,13 @@ classifiers = [ # packaging fix still resolves); the import-time version/header-hash check in # _library.py is the runtime backstop. check_version_sync.py gates this pin # against include/transcribe.h. -dependencies = ["transcribe-cpp-native==0.2.1.*"] +dependencies = ["transcribe-cpp-native==0.2.2.*"] [project.optional-dependencies] # Opt-in accelerator providers — ADDITIVE: they install alongside the default # provider and the best one wins at runtime. Same base-version pin contract # as the hard dependency (gated by check_version_sync.py). -cu12 = ["transcribe-cpp-native-cu12==0.2.1.*"] +cu12 = ["transcribe-cpp-native-cu12==0.2.2.*"] # Test-only deps. Run with: uv run --extra test pytest (from bindings/python). # numpy is here so the numpy PCM-input tests run in every lane instead of # silently skipping wherever numpy happens to be absent. diff --git a/bindings/python/src/transcribe_cpp/__init__.py b/bindings/python/src/transcribe_cpp/__init__.py index c0e8bca6..e52adb8c 100644 --- a/bindings/python/src/transcribe_cpp/__init__.py +++ b/bindings/python/src/transcribe_cpp/__init__.py @@ -46,7 +46,7 @@ raise_for_status, ) -__version__ = "0.2.1" +__version__ = "0.2.2" # String-enum types, exported so callers (and type checkers) can name them. Backend = Literal["auto", "cpu", "metal", "vulkan", "cpu_accel", "cuda", "rocm"] diff --git a/bindings/python/uv.lock b/bindings/python/uv.lock index 15a90642..5d20f281 100644 --- a/bindings/python/uv.lock +++ b/bindings/python/uv.lock @@ -386,7 +386,7 @@ wheels = [ [[package]] name = "transcribe-cpp" -version = "0.2.1" +version = "0.2.2" source = { editable = "." } [package.optional-dependencies] @@ -402,8 +402,8 @@ test = [ requires-dist = [ { name = "numpy", marker = "extra == 'test'" }, { name = "pytest", marker = "extra == 'test'", specifier = ">=7" }, - { name = "transcribe-cpp-native", specifier = "==0.2.1.*" }, - { name = "transcribe-cpp-native-cu12", marker = "extra == 'cu12'", specifier = "==0.2.1.*" }, + { name = "transcribe-cpp-native", specifier = "==0.2.2.*" }, + { name = "transcribe-cpp-native-cu12", marker = "extra == 'cu12'", specifier = "==0.2.2.*" }, ] [[package]] diff --git a/bindings/rust/transcribe-cpp/Cargo.toml b/bindings/rust/transcribe-cpp/Cargo.toml index 119ae946..30a4aeca 100644 --- a/bindings/rust/transcribe-cpp/Cargo.toml +++ b/bindings/rust/transcribe-cpp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "transcribe-cpp" -version = "0.2.1" +version = "0.2.2" edition = "2021" rust-version = "1.74" description = "Rust bindings for transcribe.cpp, a C/C++ speech-to-text library built on ggml" @@ -41,7 +41,7 @@ dynamic-backends = ["shared", "transcribe-cpp-sys/dynamic-backends"] # `transcribe-cpp --no-default-features`, silently re-enabling Metal. The backend # features below forward explicitly, so the default (`metal`) still reaches sys # via `metal = ["transcribe-cpp-sys/metal"]`. -transcribe-cpp-sys = { version = "0.2.1", path = "../../..", default-features = false } +transcribe-cpp-sys = { version = "0.2.2", path = "../../..", default-features = false } thiserror = "2" log = "0.4" diff --git a/bindings/swift/Sources/TranscribeCpp/TranscribeCpp.swift b/bindings/swift/Sources/TranscribeCpp/TranscribeCpp.swift index 6dccf444..05b61bfe 100644 --- a/bindings/swift/Sources/TranscribeCpp/TranscribeCpp.swift +++ b/bindings/swift/Sources/TranscribeCpp/TranscribeCpp.swift @@ -17,7 +17,7 @@ public enum Transcribe { /// Version this binding was built against. Pinned here for the pre-1.0 /// base-version load gate; the version-sync milestone will generate it from /// `include/transcribe.h` (the single source of truth) rather than hardcode. - public static let compiledVersion = "0.2.1" + public static let compiledVersion = "0.2.2" /// `MAJOR.MINOR.PATCH` of the linked native library. public static func version() -> String { String(cString: transcribe_version()) } diff --git a/bindings/typescript/package-lock.json b/bindings/typescript/package-lock.json index ff381be2..c3268040 100644 --- a/bindings/typescript/package-lock.json +++ b/bindings/typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "transcribe-cpp", - "version": "0.2.1", + "version": "0.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "transcribe-cpp", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "dependencies": { "koffi": "^3.0.2" @@ -19,11 +19,11 @@ "node": ">=22" }, "optionalDependencies": { - "@transcribe-cpp/darwin-arm64-metal": "0.2.1", - "@transcribe-cpp/darwin-x64-cpu": "0.2.1", - "@transcribe-cpp/linux-arm64-cpu-vulkan": "0.2.1", - "@transcribe-cpp/linux-x64-cpu-vulkan": "0.2.1", - "@transcribe-cpp/win32-x64-cpu-vulkan": "0.2.1" + "@transcribe-cpp/darwin-arm64-metal": "0.2.2", + "@transcribe-cpp/darwin-x64-cpu": "0.2.2", + "@transcribe-cpp/linux-arm64-cpu-vulkan": "0.2.2", + "@transcribe-cpp/linux-x64-cpu-vulkan": "0.2.2", + "@transcribe-cpp/win32-x64-cpu-vulkan": "0.2.2" } }, "node_modules/@koromix/koffi-darwin-arm64": { @@ -250,71 +250,6 @@ "url": "https://liberapay.com/Koromix" } }, - "node_modules/@transcribe-cpp/darwin-arm64-metal": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@transcribe-cpp/darwin-arm64-metal/-/darwin-arm64-metal-0.2.1.tgz", - "integrity": "sha512-StvvbrSGNDwMN8UC03muvZkECdchyW8CRjtpj3eP1Wi9JGfxQcUE8PRCH1raDMdAorp0L9lmXMnNKt/aMIo+mA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@transcribe-cpp/darwin-x64-cpu": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@transcribe-cpp/darwin-x64-cpu/-/darwin-x64-cpu-0.2.1.tgz", - "integrity": "sha512-dk+snKC7ENo4nQfSwjkWW9Ptv2aSmJA02LRDX26FERc+K6bL9R7eiQst+JET/JfT1sVn8UESnrBOF1oBKyxUJQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@transcribe-cpp/linux-arm64-cpu-vulkan": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@transcribe-cpp/linux-arm64-cpu-vulkan/-/linux-arm64-cpu-vulkan-0.2.1.tgz", - "integrity": "sha512-c/wSkZfbQmsjqHnu2AXZT81uUpHPJW1Hxu35xp8hZiHpVbUw94zds0xbBtY8c66Nw5dFU2Y+XwhgEDil28cXqA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@transcribe-cpp/linux-x64-cpu-vulkan": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@transcribe-cpp/linux-x64-cpu-vulkan/-/linux-x64-cpu-vulkan-0.2.1.tgz", - "integrity": "sha512-0sCMolWceToa9QYN5AizAn0cCserEPM7hRf1zETHKY4UQgVZzeRaFJETLrz6YLhgEiIRpr9d7osV8mp7O4e/Ww==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@transcribe-cpp/win32-x64-cpu-vulkan": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@transcribe-cpp/win32-x64-cpu-vulkan/-/win32-x64-cpu-vulkan-0.2.1.tgz", - "integrity": "sha512-wHaKJY2XRjL/J2p6YNvLE1Oy+b0MejdyHmx1PvksRQssIivkWSITdHMpd6VseokJsYO+pKj+OwqVrIycJas0yw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, "node_modules/@types/node": { "version": "22.19.21", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.21.tgz", diff --git a/bindings/typescript/package.json b/bindings/typescript/package.json index 0506523b..dae88da4 100644 --- a/bindings/typescript/package.json +++ b/bindings/typescript/package.json @@ -1,6 +1,6 @@ { "name": "transcribe-cpp", - "version": "0.2.1", + "version": "0.2.2", "description": "TypeScript/Node.js bindings for transcribe.cpp — a C/C++ speech-to-text library built on ggml", "type": "module", "exports": { @@ -38,11 +38,11 @@ "koffi": "^3.0.2" }, "optionalDependencies": { - "@transcribe-cpp/darwin-arm64-metal": "0.2.1", - "@transcribe-cpp/darwin-x64-cpu": "0.2.1", - "@transcribe-cpp/linux-x64-cpu-vulkan": "0.2.1", - "@transcribe-cpp/linux-arm64-cpu-vulkan": "0.2.1", - "@transcribe-cpp/win32-x64-cpu-vulkan": "0.2.1" + "@transcribe-cpp/darwin-arm64-metal": "0.2.2", + "@transcribe-cpp/darwin-x64-cpu": "0.2.2", + "@transcribe-cpp/linux-x64-cpu-vulkan": "0.2.2", + "@transcribe-cpp/linux-arm64-cpu-vulkan": "0.2.2", + "@transcribe-cpp/win32-x64-cpu-vulkan": "0.2.2" }, "devDependencies": { "@types/node": "^22.0.0", diff --git a/include/transcribe.h b/include/transcribe.h index 5c81f93a..702d5259 100644 --- a/include/transcribe.h +++ b/include/transcribe.h @@ -153,7 +153,7 @@ */ #define TRANSCRIBE_VERSION_MAJOR 0 #define TRANSCRIBE_VERSION_MINOR 2 -#define TRANSCRIBE_VERSION_PATCH 1 +#define TRANSCRIBE_VERSION_PATCH 2 #define TRANSCRIBE_VERSION_STRINGIZE_(x) #x #define TRANSCRIBE_VERSION_STRINGIZE(x) TRANSCRIBE_VERSION_STRINGIZE_(x)