Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@mookums mookums released this 11 Nov 07:46
· 60 commits to main since this release
b5b8b83

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