Major improvements
Major release with a lot of great changes.
- sccache is using opendal for cloud storage access. Thanks to @Xuanwo
- Support of GitHub action storage - Easy use with https://github.com/marketplace/actions/sccache-action
- feat: Add Webdav (a.k.a HTTP Cache) support by @Xuanwo in #1597
- Support FreeBSD as sccache-dist server by @grembo in #1184
- Add MSVC support for Response Files by @temportalflux in #1618
- The CI has now full integration tests: starting server, starting builds, checking that the caching happened and has been used
This for redis, S3, azure, gha, memcache and webdav - feat: Implement cache storage check by @Xuanwo in #1519
- Custom sandboxing implementation as linux usernamespace calls - port cachepot/#128 by @drahnr in #1628
- Lot of checks added to provide better error messages
- Improvement on the documentations
Flag/options support
- Accept /fsanitize=address as a passthrough option for MSVC by @randombit in #1518
- Add support for clang '-fuse-ctor-homing' flag by @robertgzr in #1547
- Support nvcc's
--threads
flag by @trxcllnt in #1571 - fix: handle -Xclang args when invoking clang/clang++ on windows cmake by @Danielmelody in #1500
- Support emit pch header by @Danielmelody in #1647
- Support MSVC flag 'external:anglebrackets' by @Tiwalun in #1572
Other changes/fixes
- Fix duration attributed to cache writes in the log by @glandium in #1495
- feat: Enable logging for opendal operations by @Xuanwo in #1497
- Most of the dependencies updated
- Move to clap 4 by @dzvon in #1476
- Re-enable
aarch64-unknown-linux-musl
by @ajschmidt8 in #1499 - Feature/847 allow caching multi arch builds by @coretechsec in #1467
- feat: Exit while cache is not configured correctly by @Xuanwo in #1515
- fix(test): gcs check will fail if default features not enabled by @Xuanwo in #1520
- The "cache read miss" is now the compiler step. Make it more explicit by @sylvestre in #1527
- refactor: Do read check first instead by @Xuanwo in #1546
- feat: Take the whole rustc version into hash calculation by @Xuanwo in #1553
- Add documentation for Cloudflare R2 usage. by @MrAlex94 in #1549
- feat: Allow sccache keep running after hitting rate limit during check by @Xuanwo in #1557
- add a profile section by @sylvestre in #1562
- preserve the backtrace in case of crashes by @sylvestre in #1573
- fix: clippy warnings by @Danielmelody in #1561
- feat: Print sccache version for Server stats by @borjamunozf in #1580
- Document SCCACHE_IDLE_TIMEOUT=0 by @sylvestre in #1610
- dist/cache: include paths in error contexts by @mathstuf in #1611
- use fs_err for sake of better io errors by @drahnr in #1616
- Ignore RPM environment variables by @Firstyear in #1613
- fix: Disable connection pool to fix dist server feature by @Xuanwo in #1612
- build: Increase edition to 2021 by @Xuanwo in #1617
- fix: Allow building with no default feature by @Xuanwo in #1632
- Clarify docs about units of
SCCACHE_IDLE_TIMEOUT
by @gnaaman-dn in #1637 - Fixed ToC and added back Storage Options section by @exoosh in #1650
- Add new feature
vendored-openssl
by @NobodyXu in #1648 - strip env vars by @drahnr in #1663
New Contributors
- @dzvon made their first contribution in #1476
- @coretechsec made their first contribution in #1467
- @grembo made their first contribution in #1184
- @theres-waldo made their first contribution in #1482
- @ajschmidt8 made their first contribution in #1499
- @randombit made their first contribution in #1518
- @Danielmelody made their first contribution in #1500
- @robertgzr made their first contribution in #1547
- @MrAlex94 made their first contribution in #1549
- @b1tg made their first contribution in #1554
- @Tiwalun made their first contribution in #1572
- @trxcllnt made their first contribution in #1571
- @borjamunozf made their first contribution in #1580
- @Firstyear made their first contribution in #1613
- @fawni made their first contribution in #1635
- @gnaaman-dn made their first contribution in #1637
- @temportalflux made their first contribution in #1618
- @exoosh made their first contribution in #1650
- @NobodyXu made their first contribution in #1648
Full Changelog: v0.3.3...v0.4.0