Skip to content

Commit db3f6fc

Browse files
lauripiisangNamelsKing
authored andcommitted
chore[skiplog|notask]: backmerge release-sdk-0.13.1 — bare-fetch ^3.0.1, decoder-audio ^0.4.0, decoder.ts sync run() (#2579)
* fix[notask]: adopt @qvac/decoder-audio 0.4 + bump bare-fetch ^3.0.1 / dev bare-subprocess ^6.1.0 (sdk + bare-sdk 0.13.1) decoder-audio@0.4.0 drops the deprecated @qvac/response (consolidated into @qvac/infer-base) and returns QvacResponse synchronously from run(), so server/utils/audio/decoder.ts no longer awaits decoder.run(). (cherry picked from commit ca8b494) * chore[notask]: sdk + bare-sdk 0.13.1 changelog (cherry picked from commit 3f6ac86) --------- Co-authored-by: Dmytro Medvinskyi <functionsilence@gmail.com>
1 parent 2f6326a commit db3f6fc

6 files changed

Lines changed: 36 additions & 8 deletions

File tree

packages/bare-sdk/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qvac/bare-sdk",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"license": "Apache-2.0",
55
"description": "Bare-targeted slim assembly of the QVAC SDK. Consumers install only the addon packages they need and register plugins explicitly. No addon dependencies pulled in by default.",
66
"repository": {
@@ -155,15 +155,15 @@
155155
"build": "rm -rf dist && bun run bundle && bun run check:no-addon-deps && bun run check:no-addon-leaks && bun run check:deps-vs-sdk"
156156
},
157157
"dependencies": {
158-
"@qvac/decoder-audio": "^0.3.7",
158+
"@qvac/decoder-audio": "^0.4.0",
159159
"@qvac/error": "^0.1.1",
160160
"@qvac/langdetect-text": "^0.1.2",
161161
"@qvac/logging": "^0.1.0",
162162
"@qvac/rag": "^0.6.2",
163163
"@qvac/registry-client": "^0.6.0",
164164
"bare-abort-controller": "^1.0.0",
165165
"bare-crypto": "^1.15.0",
166-
"bare-fetch": "^2.9.1",
166+
"bare-fetch": "^3.0.1",
167167
"bare-fs": "^4.5.1",
168168
"bare-net": "^2.3.2",
169169
"bare-os": "^3.6.2",

packages/sdk/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## [0.13.1]
4+
5+
📦 **NPM:** https://www.npmjs.com/package/@qvac/sdk/v/0.13.1
6+
7+
Dependency-maintenance patch. `@qvac/sdk` and `@qvac/bare-sdk` adopt `bare-fetch` 3.x and `@qvac/decoder-audio` 0.4.x, and move dev-only `bare-subprocess` to 6.x. This removes the deprecated `@qvac/response` and its exact `bare-events 2.4.2` pin from the dependency tree.
8+
9+
## Maintenance
10+
11+
Bump `bare-fetch` to `^3.0.1` (public fetch API unchanged) and dev `bare-subprocess` to `^6.1.0`. Bump `@qvac/decoder-audio` to `^0.4.0` (drops deprecated `@qvac/response`); `decoder-audio@0.4.0` returns its `QvacResponse` synchronously, so `server/utils/audio/decoder.ts` no longer `await`s `decoder.run()`. `@qvac/sdk`/`@qvac/bare-sdk` bumped in lockstep.
12+
313
## [0.13.0]
414

515
📦 **NPM:** https://www.npmjs.com/package/@qvac/sdk/v/0.13.0
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changelog v0.13.1
2+
3+
Release Date: 2026-06-12
4+
5+
## 🔧 Maintenance
6+
7+
- Adopt `bare-fetch@^3.0.1` (3.x major; public `fetch` API unchanged) and move the dev-only `bare-subprocess` to `^6.1.0`.
8+
- Bump `@qvac/decoder-audio` to `^0.4.0`, which drops the deprecated `@qvac/response` (consolidated into `@qvac/infer-base`). `decoder-audio@0.4.0` returns its `QvacResponse` from `decoder.run()` synchronously, so the SDK audio decoder no longer `await`s that call (`server/utils/audio/decoder.ts`).
9+
- Net effect on the dependency tree: the exact `bare-events 2.4.2` pin and the deprecated `@qvac/response` are removed; `bare-events` resolves to `^2.9.1` (via `@qvac/infer-base@0.4.2`) and `bare-fetch` to `3.x`. `@qvac/sdk` and `@qvac/bare-sdk` are bumped in lockstep.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changelog v0.13.1 (LLM)
2+
3+
Dependency-maintenance patch. No public API changes.
4+
5+
- `bare-fetch``^3.0.1` (transitive-only major; fetch API unchanged; only 3.0.1 header validation, all SDK headers are RFC-valid).
6+
- dev `bare-subprocess``^6.1.0` (not shipped to consumers).
7+
- `@qvac/decoder-audio``^0.4.0`: removes the deprecated `@qvac/response` package (folded into `@qvac/infer-base`) from the dependency tree, eliminating its exact `bare-events 2.4.2` pin. `decoder-audio@0.4.0`'s `run()` returns `QvacResponse` synchronously; `server/utils/audio/decoder.ts` updated to not `await` it.
8+
- `@qvac/sdk` + `@qvac/bare-sdk` bumped in lockstep.
9+
- Validated by a clean install: no `@qvac/response`, no `bare-events@2.4.2`, no `bare-fetch@2.x`, no `decoder-audio@0.3.x` resolve in the tree.

packages/sdk/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qvac/sdk",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",
@@ -208,7 +208,7 @@
208208
"dependencies": {
209209
"@qvac/bci-whispercpp": "^0.2.0",
210210
"@qvac/classification-ggml": "^0.3.1",
211-
"@qvac/decoder-audio": "^0.3.7",
211+
"@qvac/decoder-audio": "^0.4.0",
212212
"@qvac/diffusion-cpp": "^0.11.2",
213213
"@qvac/embed-llamacpp": "^0.19.1",
214214
"@qvac/error": "^0.1.1",
@@ -225,7 +225,7 @@
225225
"@qvac/vla-ggml": "^0.3.2",
226226
"bare-abort-controller": "^1.0.0",
227227
"bare-crypto": "^1.15.0",
228-
"bare-fetch": "^2.9.1",
228+
"bare-fetch": "^3.0.1",
229229
"bare-fs": "^4.5.1",
230230
"bare-net": "^2.3.2",
231231
"bare-os": "^3.6.2",
@@ -257,7 +257,7 @@
257257
"@types/semver": "^7.7.1",
258258
"@types/tar-stream": "^3.1.4",
259259
"bare-readline": "^1.2.0",
260-
"bare-subprocess": "^5.2.3",
260+
"bare-subprocess": "^6.1.0",
261261
"bare-url": "^2.4.3",
262262
"brittle": "^4.0.0",
263263
"chromadb": "^3.0.14",

packages/sdk/server/utils/audio/decoder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export async function decodeAudioToStream(
2828
await decoder.load();
2929

3030
const audioStream = fs.createReadStream(inputPath);
31-
const response = await decoder.run(audioStream);
31+
const response = decoder.run(audioStream);
3232

3333
const outputStream = new Readable({
3434
read() {},

0 commit comments

Comments
 (0)