Skip to content

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 12 Sep 18:15
· 173 commits to master since this release

Language

  • A call on a thread of its own is handed a copy of every argument, made on
    the caller's side before the thread starts.
  • Two mut names share their storage, not their names. Writing through
    either still reaches both, but rebinding one no longer rebinds the other.

Standard library

  • hive.crypto.jwtCodec(secret) — a token is a codec: encode signs the
    claims, T.decode checks the signature and the times before reading them.

Fixes

  • hive.ui.scene — a scene that shrinks no longer strands its sound slots.
    They sit past the end of the solids, so the frame's trim loop never reached
    them and a stale voice fought the live one for its name: silence, wherever a
    program renamed a track mid-run.

Breaking

was is
hive.crypto.jwtSign(claims, secret) encode(claims, hive.crypto.jwtCodec(secret))
hive.crypto.jwtVerify(token, secret) then T.decode T.decode(token, hive.crypto.jwtCodec(secret))
a bad token as a CryptoError a hive.codec.DecodingError
b = [...] rebinding a too, after mut b = a it rebinds b alone
async f(v) writing through the caller's v it writes through a copy

To bootstrap from this release, seed/pinned.txt becomes:

tag:    v0.2.3
asset:  hivec-linux-amd64
sha256: 2935300c012b2a22e4cc4c323d65d08d119608c7f88c7118de20ccc02df72e22