Skip to content

0.35.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 09:44
· 539 commits to master since this release
99fcf2e

What is new

  • HTTP downloads with no size limit. HTTP.download, HTTP.read_body and HTTP.open have no body limit by default. HTTP.download writes a hidden .agc-part file and replaces the target in one step after a clean end, and takes an optional sha256 check. Path.replace(from, to) is the same one-step rename, for your own code.
  • JSON keeps key order. JSON.from, JSON.parse and the like no longer sort keys. == and != compare two JSON.Values with keys in any order, and numbers by value (1 == 1.0).
  • Dates and times. The Time family: Time.Date, Time.TimeOfDay, Time.NaiveDateTime and Time.DateTime, with Unix time, ISO 8601 text, date arithmetic and strftime. std/utc is deprecated and goes away in 0.36.0.
  • Packages. agentica add NAME OWNER/REPO, and a dependency can be a whole workspace repository under one name (workspace = true).
  • Processes. Process.pid(p) gives the OS process id of a child, and System.program_name() the path of the main program.
  • Failures. A case that matches no arm now stops with RUNTIME-CASE-NO-MATCH. A program whose output loses its reader (prog | head) ends quietly with status 141.
  • Install with Nix: getting started has a flake that fetches the release archives.

Breaking changes

  • JSON objects keep their key order, so JSON.encode(JSON.parse(x)) is no longer canonical. To compare two texts regardless of key order, compare the parsed values with ==. --json diagnostics and reports also list their keys in field order.
  • HTTP.download, HTTP.read_body and HTTP.open have no body limit by default.
  • A 0.34 VM rejects a .agcb built by 0.35.
  • Log times have six fraction digits (2026-10-12T10:15:02.345000Z, was .345Z).

The archives are not developer-signed or notarized; SHA256SUMS is the only proof of origin.

Full list: CHANGELOG, 0.35.0.