Repository navigation
Several defaults and error cases change in this release. Read the release and upgrade notes (中文) before updating a running deployment.
Changelog
Features
- 3bfe820: feat(cache): serve expired immutable entries while the mirror fails (@soulteary)
- f521df9: feat(config): add passthrough_follow_redirects, on by default (@soulteary)
- 7efed08: feat(distro): add ModeSet, the set of distributions a server serves (@soulteary)
- 47adb7b: feat(distro): record the official address of each distribution (@soulteary)
- 792f7dc: feat(proxy): follow redirects from passthrough origins (@soulteary)
- 30a100e: feat: accept a set of distributions for mode (@soulteary)
- 385f8de: feat: add a mirror election switch and fall back to official addresses (@soulteary)
Bug fixes
- 46b5776: fix(access): speak HTTP/2 on the guarded upstream transport (@soulteary)
- 5bbdc80: fix(benchmarks): probe every candidate and do not follow redirects (@soulteary)
- d67c093: fix(cache): cache by-hash indexes and mark pool artifacts immutable (@soulteary)
- 764988b: fix(config): ignore empty flag and environment values that set nothing (@soulteary)
- 8628955: fix(config): parse the config file strictly and keep defaults (@soulteary)
- 7bdb5b8: fix(distro): repair benchmark paths and built-in mirror candidates (@soulteary)
- 55a1fff: fix(proxy): fetch allowlisted origins from the origin they name (@soulteary)
- ccabe7e: fix(proxy): fetch distribution requests only from their mirror (@soulteary)
- 3f01073: fix(proxy): keep a distribution's mirror when its election fails (@soulteary)
- 279efb7: fix(proxy): keep client credentials with the origin they were sent for (@soulteary)
- a9d40ba: fix(proxy): report truncated upstream bodies and contain worker panics (@soulteary)
- 4f641dc: fix(repository): leave out index variants the origin does not publish (@soulteary)
- 2a4ef7c: fix(repository): serve snapshot objects by their decoded path (@soulteary)
Dependencies
- a8a4608: build(deps): bump golang.org/x/sync (@dependabot[bot])
- b4e8145: build(deps): bump the github-actions group with 3 updates (@dependabot[bot])
Others
- 2811254: docs(cache): describe immutable artifacts and the failure fallback (@soulteary)
- 306b57d: refactor(cli): serve HTTP with net/http instead of Fiber (@soulteary)
- 08bf785: test(apt-client): shape the fixture like the official archives (@soulteary)
- ad465a1: test(cli): run the immutable cache test without the HTTP front end (@soulteary)
- 257e7d3: test(proxy): name the proxy helper of the official mirror tests (@soulteary)
- 98fa873: test(proxy): synchronize the log sink of the worker panic tests (@soulteary)