v0.3.0

emscripten-core/emscriptenv0.3.0Oct 2, 2026by github-actions[bot]

Upgrading?

AI Summary

Selectively brings upstream Laya runtime fixes into the native MLX port, focusing on preserving conversation context, improving input validation, and enhancing language detection.

Key Highlights

  • Preserves the newest conversation turns under truncation, including prefix-cached inference.
  • Supports custom noul labels and boolean criteria keys; rejects criteria keys that would be silently ignored.
  • Adds answer_confidence while retaining existing confidence semantics.
  • Preserves Unicode in structured instructions and improves named input-validation errors.
  • Future vX.Y.Z tag pushes now run the test/build/publish workflow automatically.

New Features

  • answer_confidence attribute
  • Support for custom noul labels and boolean criteria keys
  • Unicode preservation in structured instructions
  • Automated test/build/publish workflow for future tags

Full Release Notes

This release selectively brings upstream Laya runtime fixes through `4aa6761` into the native MLX port. The neural architecture parity reference remains `573e5b6`; this is not full upstream API parity.

Changes:
- Preserve the newest conversation turns under truncation, including prefix-cached inference; fix the zero-room left-truncation edge case.
- Support custom noul labels and boolean criteria keys; reject criteria keys that would otherwise be silently ignored.
- Preserve Unicode in structured instructions and improve named input-validation errors.
- Add `answer_confidence` while retaining the existing `confidence` semantics.
- Report state truncation and options whose token spans collapse under the question budget.
- Update language detection and email cleaning to preserve real requests and improve multilingual routing.
- Preserve resident checkpoints during incremental preload and handle empty or language-neutral hints correctly.
- Protect the prompt-prefix LRU under concurrent preparation and bound cosine similarity results.

Validation: 176 local tests passed, plus 162 upstream email checks and 38 upstream language-statistics checks adapted to the MLX implementation. Lint, formatting, wheel/source-distribution builds, and strict distribution checks passed. Real-checkpoint accuracy and long-running memory benchmarks were not rerun.

Maintenance direction: prioritize native MLX implementations of upstream behavior over independent model variants, service APIs, and additional demos.

Future `vX.Y.Z` tag pushes now run the test/build/publish workflow and create a GitHub release automatically.

Related Repositories