Skip to content

connect-zig v0.6.0

Choose a tag to compare

@c4milo c4milo released this 26 Nov 17:10
· 10 commits to main since this release

It builds on colibri v0.21.0, at 2ab43623, and on stdx at 5de7d89f and Rotor at af06860, the
commits that colibri pins. stdx brings chapulin at f29c066a.

Changed

  • Breaking. connect-zig names chapulin no more. colibri takes chapulin through stdx, as
    stdx.crypto (colibri decision 174), and oidc checks signatures with stdx.crypto.jws. A
    program that names stdx beside connect-zig asks it for .target, .release and .crypto = true, or Zig builds a second stdx (decision 34). With .colibri = false,
    stdx fetches and links no chapulin, as before.

  • Breaking. A program no longer defines chapulin's assertion hook: chapulin's module
    defines ch_assert_fail itself (colibri decision 172), and stdx's root keeps it. Delete your export fn ch_assert_fail, or the link fails with a second definition. A program that reports a failed
    chapulin assertion its own way declares pub fn chapulinAssertFail(condition: [*:0]const u8, file: [*:0]const u8, line: c_int) noreturn in its root file.

  • Several servers on colibri.Server share one port over TLS, h3 included: each server's UDP
    socket now binds with SO_REUSEPORT, as its TCP listener does (colibri decision 173).

Benchmarks since the previous tag

The previous tag has no file of values, so nothing compares.