Repository navigation
Aether 0.898.0
What's new in 0.898.0
Fixed
-
Building aether natively on FreeBSD links again. The toolchain's link
line dropped libfyaml's flags word by word, and pkg-config's libfyaml line
there begins-L/usr/local/lib, so every-L/usr/local/libwent with it
andaethercfailed withunable to find library -lnghttp2. Only the run
of words libfyaml added is removed now. -
http.serve_fileno longer sends a corrupt response where its sendfile(2)
drain fails or does not exist. The fast path sent the headers, then on a
drain that came up short fell back to the buffered send and serialized the
whole response again: a second status line and header block where the client
was reading the body, and no body behind it. On FreeBSD (and any platform
other than Linux and macOS) the drain was not implemented, so every file
served that way was corrupt (curl: (18) ... bytes missing, or "Excess found
writing body"); on Linux and macOS it happened when a client stopped reading
past the send timeout. Once the headers are out the response is committed:
a failed drain now closes the connection and sends nothing more. FreeBSD now
has a real sendfile(2) drain, and platforms without one read the file into
the body instead of taking the fast path. Tests:
tests/integration/http_sendfilechecks the keep-alive requests share one
connection, andtests/integration/http_sendfile_cutcovers the failed
drain. -
os.systemandos.execwork on FreeBSD again. Both ransh -c -- CMD.
dash and bash read the--as the end of sh's options, but FreeBSD's
/bin/shtakes it as the command string, so everyos.systemthere
returned 127 (--: not found) and everyos.execcame back empty; a stock
aeb stopped at its first helper build. They runsh -c CMDnow, and a
command that starts with-or+gets a leading space instead, so it is
still the command and not sh options on every shell. Test:
tests/regression/test_os_shell_command_string.ae. -
The FreeBSD release has a working
std.regex. Its cross build
(make FREEBSD=1, which the release job runs) setPCRE2 := 0, so the
release'slibaether.acarried the regex stub, and everyregex.compile
failed with "regex: built without libpcre2-8". It now builds the vendored
engine, as the Windows and Android cross builds already did, and the release
and PR cross-build jobs check the archive has it
(scripts/check_regex_engine.sh).
Downloads
| Platform | Architecture | File | Notes |
|---|---|---|---|
| Linux | x86_64 | aether-0.898.0-linux-x86_64.tar.gz |
|
| macOS | x86_64 | aether-0.898.0-macos-x86_64.tar.gz |
|
| macOS | arm64 | aether-0.898.0-macos-arm64.tar.gz |
|
| Windows | x86_64 | aether-0.898.0-windows-x86_64.zip |
|
| FreeBSD | x86_64 | aether-0.898.0-freebsd-x86_64.tar.gz |
cross-built, not tested on FreeBSD |
Quick install
Linux / macOS
# Download the archive for your platform, then:
tar -xzf aether-0.898.0-<platform>.tar.gz
export PATH="$PWD/bin:$PATH"
ae versionWindows
Extract the .zip archive, then run bin\ae.exe version from the extracted folder.
Documentation: https://github.com/aether-lang-dev/aether#readme