Skip to content

v3.61.2

Choose a tag to compare

@arunavo4 arunavo4 released this 29 Nov 04:02
· 6 commits to main since this release

Changes

  • Bun 1.4.5 in the Docker image, the Nix package and CI (#615). The image ran Bun 1.3.14 and the Nix package 1.3.1. Bun 1.4.5 is a security release (SQLite, BoringSSL, c-ares and its HTTP parser), and Bun 1.3 gets no more fixes. On a test install the app used less memory: 140 MB at start instead of 198 MB, and 165 MB after syncing instead of 345 MB.
  • DNS answers are cached for 30 seconds (#615). Bun 1.4 stopped caching DNS lookups, so the address check before every request to a source would have sent one DNS query per API call.
  • The Nix package reports its real version instead of 3.14.1 and builds against current nixos-unstable (#615). Intel Macs are no longer listed: nixpkgs dropped them, and the package never built there. Pull requests that touch the Nix files are now built and started on CI.

Notes

Private CA certificates. Bun 1.4 checks certificates more strictly. We tested seven kinds of private CA setups, and one of them stops working: a CA certificate with no extensions at all, which the old openssl x509 -req -signkey recipe makes. The connection test then only says it could not connect, and the log shows unsupported certificate purpose. You don't need new server certificates: sign the CA again with its own key and CA:TRUE, and put the new file in place of the old one. The command is on the CA certificates page. Going the other way, the self-signed certificate that Gitea's own gitea cert command makes now works when you trust it directly; Bun 1.3 refused it.

If you hit anything else after this upgrade, v3.61.1 is the same app on Bun 1.3.14, so you can pin that tag while we look.

As always, back up your Gitea before upgrading.

Full changelog: v3.61.1...v3.61.2