0.17.0
Added support for streaming responses to HTTP requests using SSE
We've added functions that let you respond to HTTP requests using server-sent events—see the Http.ServerSentEvents module. Use Start SSE Response to begin a streamed response, and follow up with messages using Send SSE Event.
Misc
- Traces now show a hierarchical relationship equivalent to the parent/child relationship of their processes.
- Adds button to copy message on notifications
- Can click on shadow nodes (nodes that blink when highlighted in the Node palette) to place them in the editor.
- Includes 'text' as keyword for Data string. If you search for 'text' in the Node palette, Data string will now show up.
- Made the 'add panels' button show a context menu with a multi-select list.
- Adds option to edit name of secrets/environment variables.
- Reworked 'convert to function' implementation to be more robust.
Std lib
- Added support for XML and YAML
- Added
Http Body Encode Multipart FormData
and some helper functions for encoding fetch bodies as multipart/form-data. - Added a streaming version of llm.Chat.Complete - llm.Chat.CompleteStreamed, along with a function to read tokens one at a time - llm.Chat.NextEvent
- Added functions for responding to http requests using server-sent events.
- Made
Http Parse SSE Stream
a lot more complete and easier to use - this function lets you consume web APIs using server-sent events.
Breaking changes
- Removed triggers from
Std.Generate UUID
- If you've used this function, you need to update your code.
Bugs
- Fixed bug where non-ascii header values were not correctly handled.
- Fixed bug where OpaqueValues were not summarized correctly as Object values.
- Fixed bug where zooming over comments did not work.
- Fixed bug where shadow nodes were sometimes not visible when opening the Node palette.