Skip to content

Commit 7ef29bd

Browse files
donriddogianni-cor
andauthored
chore: release llm-llamacpp 0.41.0 (#3721)
Co-authored-by: gianni-cor <gianfranco.cordella@tether.io>
1 parent 14a6bb1 commit 7ef29bd

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

packages/llm-llamacpp/CHANGELOG.md

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

3+
## [0.41.0] - 2026-08-07
4+
5+
### Changed
6+
7+
- Migrated the runtime wrapper and type declarations to TypeScript. Sources now
8+
live under `src/` and the published root JavaScript entrypoints (`index.js`,
9+
`addon.js`, `batchHandler.js`, `addonLogging.js`) and their `.d.ts`
10+
declarations are generated from them and committed. Runtime behaviour and the
11+
CommonJS export shape are unchanged.
12+
- The package is exported with `export =` rather than a default export, which
13+
gives CommonJS consumers a real construct signature (`import LlmLlamacpp =
14+
require('@qvac/llm-llamacpp')` previously failed with TS2351). A consequence
15+
is that `import LlmLlamacpp from '@qvac/llm-llamacpp'` now requires
16+
`esModuleInterop` or `allowSyntheticDefaultImports`; without either,
17+
TypeScript reports TS1259.
18+
- `addon` is a public member of the published type instead of `protected`. An
19+
interface cannot express `protected`, and the property was already public at
20+
runtime, so this widens what the declarations support rather than changing
21+
behaviour.
22+
- `BatchResponse.on` accepts the inherited `EventEmitter` event map in addition
23+
to the `"output"` overload. Callback types for `"output"` are unchanged, but
24+
an unrecognised event name no longer fails to compile.
25+
- `./addonLogging` additionally exports `setLogger` and `releaseLogger` as named
26+
bindings, so ESM named imports resolve. The default export is unchanged.
27+
328
## [0.40.0] - 2026-08-06
429

530
One model instance can now serve several requests at once. Every `run()` call is

packages/llm-llamacpp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qvac/llm-llamacpp",
3-
"version": "0.40.0",
3+
"version": "0.41.0",
44
"description": "llama addon for qvac",
55
"addon": true,
66
"scripts": {

0 commit comments

Comments
 (0)