v0.4.12

NandhaKishorM/layav0.4.12Oct 19, 2026by github-actions[bot]

Upgrading?

AI Summary

This release introduces a new OptionStabilityHook for metamorphic reliability, adds a PredictLong feature to the .NET SDK, and includes performance optimizations for ONNX and common utilities.

Key Highlights

  • Added OptionStabilityHook for metamorphic reliability signal
  • Performance improvements in ONNX (token reuse) and common (numpy array collation)
  • New .NET feature: PredictLong
  • Fixed test context counting logic

New Features

  • OptionStabilityHook for metamorphic reliability
  • PredictLong method for .NET

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