Skip to content

0.37.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 20:25
· 384 commits to master since this release
38f974c

What is new

  • New project. agentica init [NAME] starts a project: it writes agentica.toml and a main.agc hello world, and never changes an existing manifest (PKG-MANIFEST-EXISTS).
  • Channels. Channel.new with no capacity makes an unbounded channel: a send to it never waits. Channel.close(channel, error) closes with a reason, which senders (and receivers, once the values left are taken) get in place of error("channel: closed").
  • Files. File.seek(handle, offset) moves a read handle to a byte offset, to read one part of a large file.
  • Math. Math.exp, Math.log, Math.log10, Math.sin and Math.cos, as in Ruby. log and log10 of a negative number stop with RUNTIME-INVALID-NUMBER.
  • Refs. Ref.new() returns a token unique in the run that equals only itself. A Ref is a Map key or Set element, and sort orders Refs by when they were made.
  • Native modules. Native API 1.5: a function marked AN_FRESH makes resources that do not come from its arguments, so a Native.arena that returns one keeps it alone.
  • Messages. CHECK-ARITY lists the arities in ascending order, and the help for "expected Ref, found Ref" tells a module's Ref from the file's own.

There are no breaking changes.

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

Full list: CHANGELOG, 0.37.0.