Releases: mookums/zzz
Releases · mookums/zzz
v0.2.0
This release provides a tighter integration with the Tardy runtime.
- The
zzz.Server
will 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
basic
example has been updated to highlight this use case. kqueue
support inherited from Tardy, meaning that BSD & Mac now have a proper aio system to use with zzz.- Fix issues with
resolveIP
on BSD platforms. - Removed support for multiple protocols,
zzz
is 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
Full Changelog: v0.1.0...v0.2.0
v0.1.0
This is an initial release of zzz. Supported OSes include Mac, Linux and Windows.
This provides:
- HTTP/1.1 Server implementation
- Partial TLS Support through BearSSL
io_uring
supportepoll
supportbusy_loop
(nonblocking fd polling) support
Full Changelog: https://github.com/mookums/zzz/commits/v0.1.0