Skip to content

0.38.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 08:14
· 355 commits to master since this release
7e6f436

Agentica 0.38.0 adds the sized number types: UInt64, Float32 and the narrow integers Int8 to UInt32.

Highlights

  • UInt64 and Float32, with arithmetic, conversions, JSON and sorting.
  • Int8, Int16, Int32, UInt8, UInt16 and UInt32: operators, bit and wrapping methods, range-checked conversions.
  • Task.spawn_link, o&.name safe navigation, agentica COMMAND --help, and BDD before_all and after_all hooks.
  • Packages: a version requirement picks the highest matching git tag.
  • The JIT compiles loops of UInt64 arithmetic.

Breaking changes

  • Int8 to Float64 (including Int64, UInt64 and Float32) are reserved type names.
  • std/binary uses the sized types, and its writers return Bytes with no Result.
  • Float.to_bits returns UInt64, Float.from_bits takes one; Float.to_bits32 and Float.from_bits32 are removed (use Float32).
  • A float literal that rounds to infinity is CHECK-FLOAT-RANGE.

Full list: https://github.com/agentica-lang/agentica/blob/0.38.0/CHANGELOG.md