Skip to content

Kaeso 0.7.4

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 23:52
· 12 commits to dev since this release
Immutable release. Only release title and notes can be modified.

Kaeso 0.7.4 bounds the merge of a tool schema's root union and removes a per-reply wait for organizations that have no source.

Highlights

  • Bounded tool schema merge. Merging a tool schema's root union expands each definition once and stops after 4096 schemas, so a crafted schema no longer takes exponential time. #1515
  • Faster replies without a source. A reply no longer waits for a background task when its organization has no source, which removes the added median latency seen in 0.7.3. #1517

Changed

  • Documentation: The performance page shows the benchmark run of Kaeso 0.7.3 in English, German and Simplified Chinese. The section on changes since 0.7.0 is replaced by one on changes since 0.7.2, and the page says how the run was made and how to run it yourself. #1516

Fixed

  • Gateway: A reply no longer waits for a background task when its organization has no source. Since the previous release every reply waited for that task, which only read a cached false in such organizations; a request of an organization known to have no source, or a successful one without usage, now starts no task. Organizations with sources, or not known yet, behave as before. #1517

Security

  • KPP: Merging a tool schema's root union into one object expands each definition a $ref reaches once, where it was expanded again at every reference and took exponential time for a valid API key's schema before any provider call. A merge may now expand at most 4096 schemas, counting every reference it follows. Past that, the tool is refused as Unsupported in the app's format, before anything is sent. The cross-format page lists the new refusal. #1515

Contributors: @dvnold

Full changelog · v0.7.3...v0.7.4