Skip to content

Releases

JavaScript SDK 0.3.0

Choose a tag to compare

@Liuziyu77 Liuziyu77 released this 31 Oct 01:36

0.3.0 — 2026-10-31

  • Browser video decoding now uses the optional mediabunny peer (npm install mediabunny@1.62.1). HTTP-only installs have no runtime dependencies and avoid unrelated WebCodecs global type conflicts.

  • Validate typed answers against request names, kinds, candidates and finite probability distributions. Raw predict remains available. Malformed responses previously accepted now fail explicitly.

  • Add total request budgets, Retry-After with jitter, stable timeout/response errors and metadata-only event hooks.

  • Add local loading stages, runtime information and representative-request warmup; document concurrency and ownership.

  • Add versioned cross-language protocol/formula fixtures and installed-package smoke tests.

  • Infer SystemOne question names, answer kinds and Choice literals; infer Decisions tuple answer kinds and candidate values.

  • Remove abort listeners after retry waits, preserve cancellation reasons and make public close idempotent.

Compatibility: typed calls reject malformed responses; raw predict remains available. See contracts/README.md for timeout and resource ownership guarantees.

Valen JavaScript SDK 0.2.0

Choose a tag to compare

@Liuziyu77 Liuziyu77 released this 26 Oct 07:13

Stable 0.2.0 GitHub distribution of the Valen HTTP and modular ONNX SDK. No request/response schema break from the 0.2.0 development API. See the bilingual README, CHANGELOG.md and RELEASING.md for installation, optional dependencies and backend-specific compatibility.

Packaged Python: 28 contract tests. Packaged JavaScript: 12 contract tests and TypeScript declarations checked. Both final distributions passed Linux CPU cached 0.8B ONNX FP32 text inference; Python stable/development baseline and JavaScript probabilities matched exactly. Assets, licenses, metadata and credentials were checked before publication.

This release distributes the packages as GitHub artifacts. The JavaScript package is published on npm as @valen-team/sdk in the npm-v0.2.0 release, and the Python package on PyPI as valen-sdk.

Install this release using the GitHub artifact URL in README. Verify SHA256SUMS. Full test evidence: validation.json.

@valen-team/sdk 0.2.0 — npm stable release

Choose a tag to compare

@Liuziyu77 Liuziyu77 released this 26 Oct 09:03

Published on npm as @valen-team/sdk@0.2.0, with latest pointing to 0.2.0.

Install: npm install @valen-team/sdk@0.2.0. Import: import { Valen } from '@valen-team/sdk'.

Package: https://www.npmjs.com/package/@valen-team/sdk/v/0.2.0

The original @valen scope was unavailable. This new tag preserves the reviewed source for the @Valen-Team scope; the earlier GitHub v0.2.0 release and tag remain unchanged. Update dependency names and imports to @valen-team/sdk.

Inference source, WASM and runtime dependency versions are unchanged. The renamed package passed 12 contract tests, TypeScript checks, packaged self-import and a credential/content scan. Registry SRI/SHA1 match the reviewed tarball; existing real-model evidence was reused, with no model or dependency downloads. See validation/npm-0.2.0-prepublication.json in this tag and validation/npm-0.2.0.json on main for registry verification.

The GitHub tarball is the npm package and matches the reviewed SHA256. See SHA256SUMS before installing the GitHub artifact. The Python package, valen-sdk 0.2.0, is published on PyPI.