This release makes the server fit on small routers and puts the multi-platform releases forward.
Smaller binaries
- Compressed web assets: the web console and the API documentation script are embedded gzip-compressed. The server
sends them as gzip to browsers that accept it and decompresses them on the fly for the others. Source maps are no
longer embedded (about 5 MB less). - Optional AWS SDK: new Cargo feature
s3(enabled by default, so regular builds are unchanged). Without it the
S3 settings report that S3 support is not built in. - MIPS built for size (
opt-level=z, no debug strings or panic locations, no S3):hbbsgoes from 32.9 MB to
12.6 MB andhbbrfrom 3.7 MB to 2.8 MB. Themips_24kcapk packages are 5.6 MB (hbbs) and 1.2 MB (hbbr).
Checked on a real ath79 router (QCA9558).
OpenWrt
- The procd init scripts use
SCTGDESK_DATA_DIRand start the program directly (the system log tag is no longersh). - The documentation detects the architecture from
DISTRIB_ARCHin/etc/openwrt_release, becauseapk --print-arch
is unreliable on OpenWrt.
Docs
- The README puts the multi-platform, multi-architecture releases forward and corrects the OAuth2 provider list.
Caveats
- On the MIPS builds, log lines show
<redacted>:0instead of the source location, the latest client version shows
as0.0.0(no S3), and the speed impact ofopt-level=zhas not been measured. hbbsis still too large for routers with 5 to 7 MB of free flash: use a USB disk or extroot.hbbrfits anywhere.