Repository navigation
Agentica 0.40.0 gathers the two betas of this line and a few last changes.
Highlights
- Pipes can span lines: a line that starts with
|>continues the one before it, andagentica fmtuses that form. - Packages may keep their modules in a
src/folder; imports do not change. agentica test --test-timeout-ms Nsets the time of each test and each scenario (30,000 ms by default).- Native libraries of a compiled program:
agentica compilewarnsPKG-NATIVE-STOREDfor each library that must travel beside the.agcb, andagentica runlooks for it there first. - Files:
File.copy,File.chmod,File.symlink,File.readlink, temp files (File.open(path, "temp")) andSystem.hostname();Archive.Options(keep_mode: true)keeps the modes of TAR entries. - Enums without payloads get
valuesandparse, and every enum valuename. - A
List[Float32]is stored packed (4 bytes per item), and native modules can read it in place.
Breaking changes
- The
std/httpconnection pool is removed (HTTP.client,HTTP.close_client,HTTP.get,HTTP.post,HTTP.request,HTTP.Client). UseHTTP.get_responseandHTTP.post_response, or thehttp-clientpackage for a pool.HTTP.downloadtakesHTTP.ClientOptionsinstead of a client. std/utcis removed; use the builtinTime.- A 0.39 VM rejects a
.agcbbuilt by 0.40 that loads a[native]library. - A file error with errno
ENOTSUPorEOPNOTSUPPhas kindio.unsupported, notio.failed.
The full list: CHANGELOG (the 0.40.0 section and the two beta sections below it).