v0.4.12

parruda/swarmv0.4.12Oct 19, 2026by github-actions[bot]

Upgrading?

AI Summary

This release introduces performance optimizations for ONNX models and common utilities, adds a new .NET feature for long prediction, and includes updates to dependencies and hooks.

Key Highlights

  • Added OptionStabilityHook for metamorphic reliability signal
  • Performance improvements in ONNX (reuse question tokens, collate rows to numpy arrays)
  • Added PredictLong feature for .NET
  • Dependency updates for Java, Vitest, and Gradle

New Features

  • OptionStabilityHook for metamorphic reliability
  • PredictLong functionality for .NET
  • ONNX performance optimization (reuse tokens, numpy arrays)
  • Common performance optimization (collate question rows)

Full Release Notes

## What's Changed
* feat(hooks): add OptionStabilityHook for metamorphic reliability signal (#635) by @Swatantra-66 in https://github.com/NandhaKishorM/laya/pull/908
* build(deps): bump actions/setup-java from 6.0.1 to 6.1.0 by @dependabot[bot] in https://github.com/NandhaKishorM/laya/pull/1272
* build(deps-dev): bump vitest from 5.0.3 to 5.0.4 in /laya-ts by @dependabot[bot] in https://github.com/NandhaKishorM/laya/pull/1273
* build(deps): bump gradle/actions/wrapper-validation from 4.4.3 to 6.4.0 by @dependabot[bot] in https://github.com/NandhaKishorM/laya/pull/1274
* test(hooks): count distinct contexts by holding them, not by id() by @muhammadaliqasmi in https://github.com/NandhaKishorM/laya/pull/1277
* perf(onnx): reuse question tokens across states in predict_batch by @HamidRezaLS in https://github.com/NandhaKishorM/laya/pull/1278
* docs(shortlist): show a dedicated bi-encoder in the example and measure what the query should embed by @zhlei07 in https://github.com/NandhaKishorM/laya/pull/1281
* feat(dotnet): add PredictLong, ported from ONNXAgent.predict_long by @kevin-gatimu in https://github.com/NandhaKishorM/laya/pull/1283
* perf(common): collate question rows directly into numpy arrays by @HamidRezaLS in https://github.com/NandhaKishorM/laya/pull/1279

## New Contributors
* @muhammadaliqasmi made their first contribution in https://github.com/NandhaKishorM/laya/pull/1277
* @zhlei07 made their first contribution in https://github.com/NandhaKishorM/laya/pull/1281

**Full Changelog**: https://github.com/NandhaKishorM/laya/compare/v0.4.11...v0.4.12

Related Repositories