New
v0.2.0
This release provides a tighter integration with the Tardy runtime.
- The
zzz.Serverwill no longer create its own runtime with Tardy, meaning that the runtime must be created and provided to the Server during initialization. All examples have been updated to highlight this change so feel free to consult them! - Routes now have a context that can be passed into them. This will give you a reasonable way to pass additional context state into handlers. The
basicexample has been updated to highlight this use case. kqueuesupport inherited from Tardy, meaning that BSD & Mac now have a proper aio system to use with zzz.- Fix issues with
resolveIPon BSD platforms. - Removed support for multiple protocols,
zzzis better off supporting only HTTP/HTTPS and for other protocols to build directly off of Tardy and can share a runtime if needed. - First Pass SSE implementation through the use of the Tardy Channels. This allows you to stream data from the server to the client.
- Asynchronous Filesystem Serving, allowing files to be sent in a non-blocking way. This has a pretty appreciable performance boost when compared to previous filesystem serving example.
What's Changed
- Tighter Tardy Integration by @mookums in https://github.com/mookums/zzz/pull/11
Full Changelog: https://github.com/mookums/zzz/compare/v0.1.0...v0.2.0