Releases: mozilla/sccache
v0.9.0
The sccache 0.9.0 release introduces several improvements and fixes, including support for nvcc in sccache-dist (contributed by Nvidia), enhanced Xcode integration with new features and streamlined CI processes, and the addition of Unix Domain Socket (UDS) support for improved performance. Key fixes include resolving cache collisions with object files and precompiled headers, correcting debug information file generation for .dwo files, and ensuring proper argument handling for rustc with -Z ls. Updates also align profiling practices with modern Rust standards by replacing outdated -Zprofile options. Other enhancements include user agent configuration in WebDAV requests, compatibility with CUDA Toolkit 11.1, and improved documentation formatting.
What's Changed
- Support
nvcc
insccache-dist
by @trxcllnt in #2247 - feat: set user agent in webdav requests by @lukevmorris in #2284
- Implement features required by Xcode by @scoopr in #2257
- *: add UDS support by @BusyJay in #2206
- Fix cache collision with object file and precompiled headers by @jimis in #2268
- Simplify Xcode CI / Docs by @scoopr in #2266
- feat: Use profile-generate to replace outdated -Zprofile options by @Xuanwo in #2282
- Fix: fix sccache bug for dwo file generate by @zhouronghua in #2271
- Pass correct argument to rustc -Z ls by @lissyx in #2291
- Fix sccache for CTK 11.1 and properly track compilations in stats by @trxcllnt in #2285
- docs: fix formatting in Caching by @dtrifiro in #2267
- prepare release 0.9.0 by @sylvestre in #2293
Dependencies
- chore(docs): bump the github script version used in GHA by @kemingy in #2281
- refactor: Bump OpenDAL to 0.50 by @Xuanwo in #2283
- build(deps): bump codecov/codecov-action from 4 to 5 by @dependabot in #2289
New Contributors
- @scoopr made their first contribution in #2257
- @dtrifiro made their first contribution in #2267
- @jimis made their first contribution in #2268
- @BusyJay made their first contribution in #2206
- @kemingy made their first contribution in #2281
- @zhouronghua made their first contribution in #2271
- @lukevmorris made their first contribution in #2284
Full Changelog: v0.8.2...v0.9.0
v0.8.2
What's Changed
- Disable preprocessor cache with -MD and friends by @glandium in #2195
- Avoid keeping lock while writing to disk cache by @glandium in #2193
- Log when preprocessor cache cannot be used by @glandium in #2197
- Update CI version of macOS by @aeiouaeiouaeiouaeiouaeiouaeiou in #2212
- Add lost feature status by @AJIOB in #2225
- Remove the heapsize feature by @glandium in #2226
- Add custom zstd compression level by @nyanrus in #2199
- Add cache hit percentage to stats by @Saruniks in #2211
- Add windows arm64 to the CI by @hjyamauchi in #2243
- fix: Force disable "warnings as errors" flag for CL preprocessing by @AJIOB in #2251
- Update FreeBSD docs to refer to 14.1 by @yonas in #2263
Dependencies
- deps: bump libc from 0.2.153 to 0.2.155 by @huajingyun01 in #2188
- refactor: Bump MSRV to 1.75 for async in trait by @Xuanwo in #2203
- refactor: Bump OpenDAL to 0.47 by @Xuanwo in #2202
- build(deps): bump anyhow from 1.0.81 to 1.0.86 by @dependabot in #2190
- build(deps): bump async-trait from 0.1.77 to 0.1.80 by @dependabot in #2191
- build(deps): bump zstd from 0.13.0 to 0.13.1 by @dependabot in #2189
- build(deps): bump uuid from 1.7.0 to 1.9.0 by @dependabot in #2213
- build(deps): bump reqwest from 0.12.4 to 0.12.5 by @dependabot in #2215
- build(deps): update OpenDAL to 0.47.3 by @AJIOB in #2221
- build(deps): bump vmactions/freebsd-vm from 1.0.7 to 1.0.8 by @dependabot in #2219
- refactor: use windows-sys instead of winapi by @Berrysoft in #2233
- deps: update winapi-util by @ognevny in #2236
- feat: Bump opendal to 0.48.0 by @Xuanwo in #2240
- build(deps): bump log from 0.4.20 to 0.4.22 by @dependabot in #2218
- build(deps): bump which from 6.0.0 to 6.0.3 by @dependabot in #2252
- build(deps): bump quinn-proto from 0.11.3 to 0.11.8 by @dependabot in #2254
- build(deps): bump jobserver from 0.1.31 to 0.1.32 by @dependabot in #2255
New Contributors
- @huajingyun01 made their first contribution in #2188
- @nyanrus made their first contribution in #2199
- @Saruniks made their first contribution in #2211
- @Berrysoft made their first contribution in #2233
- @ognevny made their first contribution in #2236
- @hjyamauchi made their first contribution in #2243
- @yonas made their first contribution in #2263
Full Changelog: v0.8.1...v0.8.2
v0.8.1
What's Changed
- Fix the README working (Closes: #2154) by @sylvestre in #2156
- README: Remove duplicated info about openssl vendoring by @sylvestre in #2157
- Add required winapi features by @Systemcluster in #2160
- msvc: passthrough argument -Qpar- by @AudranDoublet in #1834
- Disable preprocessor cache when doing distributed compilation by @glandium in #2173
- Allow SCCACHE_CACHE_SIZE values without a unit by @glandium in #2183
- Make recent versions of clippy happy by @glandium in #2181
- Make preprocessor cache methods async by @glandium in #2182
- sccache: prepare new release by @sylvestre in #2179
Dependencies
- build(deps): bump serial_test from 2.0.0 to 3.1.0 by @dependabot in #2158
- build(deps): bump rustls from 0.21.10 to 0.21.11 by @dependabot in #2151
- build(deps): bump h2 from 0.3.24 to 0.3.26 by @dependabot in #2144
- build(deps): bump mio from 0.8.10 to 0.8.11 by @dependabot in #2128
- build(deps): bump nix from 0.27.1 to 0.28.0 by @dependabot in #2108
- build(deps): bump semver from 1.0.21 to 1.0.22 by @dependabot in #2109
- build(deps): bump serde from 1.0.195 to 1.0.199 by @dependabot in #2162
- build(deps): bump serde from 1.0.199 to 1.0.201 by @dependabot in #2171
- build(deps): bump http-body-util from 0.1.0 to 0.1.1 by @dependabot in #2167
- build(deps): bump tokio from 1.35.1 to 1.37.0 by @dependabot in #2165
- build(deps): bump jobserver from 0.1.28 to 0.1.31 by @dependabot in #2166
- build(deps): bump time from 0.3.31 to 0.3.36 by @glandium in #2184
- build(deps): bump tempfile from 3.9.0 to 3.10.1 by @dependabot in #2175
- build(deps): bump semver from 1.0.22 to 1.0.23 by @dependabot in #2177
- build(deps): bump encoding_rs from 0.8.33 to 0.8.34 by @dependabot in #2178
- build(deps): bump bytes from 1.5.0 to 1.6.0 by @dependabot in #2176
New Contributors
- @Systemcluster made their first contribution in #2160
- @AudranDoublet made their first contribution in #1834
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
New features
- feat: Add possibility to configure key prefix (Redis, MemCached) by @AJIOB in #2084
- Add generic read-only storage mode for a storage that fails the write check by @jkoritzinsky in #2091
- feat: Add possibility to configure key prefix and expiration time from env (Redis, MemCached) by @AJIOB in #2094
- rustc driver detection - includes #1897 by @drahnr in #2085
- feat: Add support to Redis cluster mode by @AJIOB in #2113
- feat: Add Memcached authentication by @AJIOB in #2117
- feat: initial support for Clang HIP by @GZGavinZhao in #2045
- Set User Agent Header for S3 Requests by @ajschmidt8 in #2137
Misc
- chore: Unify env bool processing by @AJIOB in #2103
- More Redis URLs typos fix by @AJIOB in #2081
- ci: Fix AArch64 build with musl by @AJIOB in #2120
- allow the compilation of sccache without any features (only local build) by @sylvestre in #2101
- chore: remove unused code warnings from Windows build by @AJIOB in #2119
- feat: Rewrite Redis environment variables API by @AJIOB in #2116
- chore: use what we really need from
opendal
by @AJIOB in #2118 - package cargo.toml by @lissyx in #2124
- Include server_startup_timeout_ms in config docs by @cceckman in #2134
Dependencies
- build(deps): bump vmactions/freebsd-vm from 1.0.5 to 1.0.6 by @dependabot in #2067
- build(deps): bump chrono from 0.4.31 to 0.4.33 by @dependabot in #2065
- build(deps): bump which from 5.0.0 to 6.0.0 by @dependabot in #2051
- build(deps): bump regex from 1.10.2 to 1.10.3 by @dependabot in #2063
- build(deps): bump env_logger from 0.10.1 to 0.10.2 by @dependabot in #2064
- build(deps): bump uuid from 1.6.1 to 1.7.0 by @dependabot in #2066
- build(deps): bump jobserver from 0.1.27 to 0.1.28 by @dependabot in #2088
- build(deps): bump libc from 0.2.152 to 0.2.153 by @dependabot in #2087
- build(deps): bump memmap2 from 0.9.3 to 0.9.4 by @dependabot in #2089
- build(deps): bump reqsign from 0.14.6 to 0.14.7 by @dependabot in #2098
- build(deps): bump toml from 0.8.8 to 0.8.10 by @dependabot in #2096
- build(deps): bump is-terminal from 0.4.10 to 0.4.12 by @dependabot in #2097
- build(deps): bump hyper-util from 0.1.2 to 0.1.3 by @dependabot in #2099
- build(deps): bump opendal from 0.44.2 to 0.45.0 by @dependabot in #2086
- build(deps): bump vmactions/freebsd-vm from 1.0.6 to 1.0.7 by @dependabot in #2147
- build(deps): bump assert_cmd from 2.0.12 to 2.0.13 by @dependabot in #2033
- build(deps): bump base64 from 0.21.6 to 0.21.7 by @dependabot in #2035
- build(deps): bump codecov/codecov-action from 3 to 4 by @dependabot in #2078
- build(deps): Upgrade OpenDAL to the latest version by @AJIOB in #2114
- build(deps): bump serde_json from 1.0.111 to 1.0.114 by @dependabot in #2112
- build(deps): bump openssl from 0.10.62 to 0.10.64 by @dependabot in #2106
- build(deps): bump walkdir from 2.4.0 to 2.5.0 by @dependabot in #2127
- build(deps): bump anyhow from 1.0.79 to 1.0.81 by @dependabot in #2135
New Contributors
- @jkoritzinsky made their first contribution in #2091
- @cceckman made their first contribution in #2134
Full Changelog: v0.7.7...v0.8.0
v0.7.7
What's Changed
- [commands::run_server_process]: fix race condition by @arvidj in #2077
- feat(cache/oss): add support for oss by @PsiACE in #2046
- ci: Bump MSRV to 1.70.0 by @Xuanwo in #2054
- Make --zero-stats just show a message that it's done its job by @glandium in #2055
- build(deps): bump clap from 4.3.24 to 4.4.18 by @dependabot in #2050
- add default ttl of 0 to fix breaking change by @arilotter in #2058
- Avoid spawning a new server for --show-stats by @glandium in #2059
- Update OpenDAL to 0.44.2 by @jdygert-spok in #2060
- feat(tree-wide): migrate to Hyper 1.x by @liushuyu in #2013
- Implement read-only local cache by @uellenberg in #2048
- build(deps): bump predicates from 3.0.3 to 3.1.0 by @dependabot in #2052
- build(deps): bump h2 from 0.3.22 to 0.3.24 by @dependabot in #2047
- github action: run on native m1 by @sylvestre in #2068
- Note allowed --emit metadata in rust doc by @l4l in #2075
- Improve Redis docs by @AJIOB in #2072
- chore: update S3 docs on region by @saiintbrisson in #2079
- upgrade to version 0.7.7 by @sylvestre in #2080
New Contributors
- @PsiACE made their first contribution in #2046
- @arilotter made their first contribution in #2058
- @uellenberg made their first contribution in #2048
- @l4l made their first contribution in #2075
- @AJIOB made their first contribution in #2072
- @arvidj made their first contribution in #2077
Full Changelog: v0.7.6...v0.7.7
v0.7.6
What's Changed
- feat(redis): add support for ttl, fix #1666 by @sudhackar in #2027
- refactor: Remove all dependencies on ring 0.16 by @Xuanwo in #2036
It allows compilation on s390x and some others architectures - Fix docs on integrating sccache with MSVC when cmake >= 3.25 by @johnwbyrd in #2031
- Add support for symlinks in toolchains. by @afranchuk in #2030
- fix(src/compiler/c): take common_args into account during preprocessor hashing by @GZGavinZhao in #2039
New Contributors
- @sudhackar made their first contribution in #2027
- @johnwbyrd made their first contribution in #2031
- @afranchuk made their first contribution in #2030
- @GZGavinZhao made their first contribution in #2039
Full Changelog: v0.7.5...v0.7.6
v0.7.5
What's Changed
- Add i686 and armv7 musl build via container by @jdygert-spok in #2008
- Expand cfg for operator storage impl by @jdygert-spok in #2007
- chore(src/compiler/msvc): replace rust-encoding with encoding-rs by @liushuyu in #2010
- Prepare version 0.7.5 by @sylvestre in #2025
Dependencies updates
- chore: Version bump opendal 0.41.0 -> 0.43.0 by @vincentdephily in #1992
- build(deps): bump serde from 1.0.190 to 1.0.193 by @dependabot in #1991
- build(deps): bump nix from 0.26.2 to 0.26.4 by @dependabot in #1995
- build(deps): bump toml from 0.8.6 to 0.8.8 by @dependabot in #2000
- build(deps): bump test-case from 3.2.1 to 3.3.1 by @dependabot in #1979
- build(deps): bump tar from 0.4.38 to 0.4.40 by @dependabot in #1975
- chore(cargo): update dependencies to compatible versions by @liushuyu in #2009
- build(deps): bump opendal from 0.44.0 to 0.44.1 by @dependabot in #2014
- build(deps): bump base64 from 0.21.5 to 0.21.6 by @dependabot in #2016
- build(deps): bump libc from 0.2.151 to 0.2.152 by @dependabot in #2019
- build(deps): bump serde from 1.0.194 to 1.0.195 by @dependabot in #2017
Github action updates
- build(deps): bump vmactions/freebsd-vm from 1.0.2 to 1.0.4 by @dependabot in #1996
- build(deps): bump vmactions/freebsd-vm from 1.0.4 to 1.0.5 by @dependabot in #1999
- Bump freebsd-vm action to v1.0.2 & use ubuntu by @sylvestre in #1994
- Bump freebsd-vm action to v1.0.2 & use ubuntu by @sylvestre in #1997
- chore(CI): update GitHub Actions by @liushuyu in #2012
- Snap: Adapt Snapcraft manifest to Snapcraft 8.0 by @liushuyu in #2011
New Contributors
- @vincentdephily made their first contribution in #1992
- @jdygert-spok made their first contribution in #2008
- @liushuyu made their first contribution in #2009
Full Changelog: v0.7.4...v0.7.5
v0.7.4
With this release, we turned back on the direct access and improve some errors mgmt.
We are getting ready for the release 1.0
What's Changed
- Fix some possible out-of-bound accesses in process_preprocesed_{file,line} by @glandium in #1980
- Fix test_parse_arguments_multiarch_cache_disabled by @glandium in #1984
- Add support for
--
on clang/clang-cl command-line by @glandium in #1983 - Remove uses of Lazy<Mutex> by @glandium in #1985
- Catch panics in the server and transmit them as errors to the client. by @glandium in #1981
- Only activate direct mode by default for local by @Alphare in #1973
- Remove some unnecessary clones by @glandium in #1986
- Activate direct mode when e.g. SCCACHE_DIR is set. by @glandium in #1987
Full Changelog: v0.7.3...v0.7.4
v0.7.3
v0.7.2
What's Changed
- Fix off-by-one in line number replacement code by @glandium in #1962
- Fail early if the local daemon doesn't start properly during tests by @glandium in #1963
- Changes to the local daemon setup in the test harness by @glandium in #1964
- Activate preprocessor cache mode by default by @Alphare in #1951
- Don't pass wd4668 to clang-cl by @roblabla in #1856
- prepare version 0.7.2 by @sylvestre in #1965
- Fix some typos by @sylvestre in #1966
Dependency updates
- build(deps): bump semver from 1.0.17 to 1.0.20 by @dependabot in #1960
- build(deps): bump jobserver from 0.1.26 to 0.1.27 by @dependabot in #1958
- build(deps): bump base64 from 0.21.3 to 0.21.5 by @dependabot in #1954
- build(deps): bump bytes from 1.4.0 to 1.5.0 by @dependabot in #1959
- build(deps): bump zstd from 0.12.4 to 0.13.0 by @dependabot in #1956
New Contributors
Full Changelog: v0.7.1...v0.7.2