This repository was archived by the owner on Sep 11, 2026. It is now read-only.
0.21.0
Add NetAddress, DNS, and DNSAuth
NetAddress, DNS, and DNSAuth are now part of lori.
DNS provides synchronous name resolution via getaddrinfo, broadcast address lookup, and IP literal detection (is_ip4/is_ip6). DNSAuth is created from AmbientAuth or NetAuth.
Drop use net = "net" in favor of lori's own NetAddress and DNS
Code that imported stdlib's net package for NetAddress should drop the use net = "net" import and use the unqualified names. Code that uses both use "lori" and use "net" will get ambiguous NetAddress, DNS, and DNSAuth types.
Before:
use "lori"
use net = "net"
fun ref local_address(): net.NetAddress =>
// ...After:
use "lori"
fun ref local_address(): NetAddress =>
// ...Fix UDP socket not receiving after transient recvfrom errors
A UDP socket that hit a transient recvfrom error (EINTR or similar) stopped receiving datagrams permanently on Linux and Windows. macOS was unaffected.
[0.21.0] - 2026-09-05
Fixed
- Fix UDP socket not receiving after transient recvfrom errors (PR #396)
Added
- Add NetAddress, DNS, and DNSAuth (PR #395)
Changed
- Drop use net = "net" in favor of lori's own NetAddress and DNS (PR #395)