Skip to content

v0.8.2

Choose a tag to compare

@github-actions github-actions released this 09 Oct 13:16
· 115 commits to main since this release

The devtools Stream tab no longer mixes up generations when a new one interrupts the last.

In 0.8.1, starting a generation while another was still streaming (sending a new prompt, or a chat turn, before the previous one finished) confused the Stream tab of <json-render-devtools>: the interrupted generation stayed marked "live" forever, and the new one's patches landed in an extra, empty generation. The interrupted request only reports its end once its abort has gone through, which is after the new generation has started, so the panel closed the wrong one.

What changes for your app

  • injectUIStream and injectChatUI now end a generation the moment it is superseded or stopped, before the next one starts. Each generation in the Stream tab gets exactly one start and one end, in order.
  • Nothing else changes: rendering, stop(), clear(), onComplete and onError behave as before. Apps that don't use ngx-json-render/devtools see no difference.

Upgrading

npm i ngx-json-render@0.8.2 — no API changes, and ngx-json-render-material@^0.3.10 works with it unchanged.

Full Changelog: v0.8.1...v0.8.2