Releases: mozilla/sccache
Releases · mozilla/sccache
v0.7.0
What's Changed
- Add local-only preprocessor cache AKA "direct mode" by @Alphare in #1882
Enable by usingSCCACHE_DIRECT=true
Please test and provide feedback - ci: bring back
aarch64-unknown-linux-musl
binaries by @quad in #1926 - prepare release 0.7.0 by @sylvestre in #1932
## Dependency updates
- build(deps): bump zstd from 0.12.3+zstd.1.5.2 to 0.12.4 by @dependabot in #1840
- build(deps): bump rouille from 3.6.1 to 3.6.2 by @dependabot in #1859
- build(deps): bump flate2 from 1.0.26 to 1.0.28 by @dependabot in #1927
- build(deps): bump syslog from 6.0.1 to 6.1.0 by @dependabot in #1929
- build(deps): bump serde from 1.0.159 to 1.0.190 by @dependabot in #1930
- build(deps): bump walkdir from 2.3.3 to 2.4.0 by @dependabot in #1931
- build(deps): bump once_cell from 1.17.1 to 1.18.0 by @dependabot in #1860
- build(deps): bump assert_cmd from 2.0.10 to 2.0.11 by @dependabot in #1814
- build(deps): bump num_cpus from 1.15.0 to 1.16.0 by @dependabot in #1858
- build(deps): bump regex from 1.7.3 to 1.8.4 by @dependabot in #1794
- update to libc 0.2.149 by @sylvestre in #1933
New Contributors
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
Major changes
- Add nvcc cubin,fatbin,optix-ir compilation mode support by @robertmaynard in #1872
- Support nvc++ and msvc as nvcc host compilers by @robertmaynard in #1889
- Add nvc and nvc++ as supported C/C++ compilers by @robertmaynard in #1891
- Add
--show-adv-stats
flag which shows per compiler hits/misses by @robertmaynard in #1904 - feat(s3): add server side encryption by @nebnes in #1908
- bump rust-version to 1.67 (was 1.65) by @sylvestre in #1903
Other changes
- nvcc: Support -Werror with argument by @robertmaynard in #1823
- Log hash key at debug level instead of trace by @glandium in #1831
- Properly propagate cache write errors by @glandium in #1833
- Fix detection of clang version and v14+ unit tests by @grembo in #1878
- Update FreeBSD CI to 13.2-RELEASE by @grembo in #1879
- update doc for cmake 3.25 on windows by @ahoarau in #1873
- sccache fails to build on non x86_64/aarch64 arches by @Firstyear in #1866
- Add MacPorts as a new installation method by @MisLink in #1881
- services/gcs: Fix typo in to_scope by @theoniko in #1890
- Fix a couple of typos by @Alphare in #1898
- Bring back redis over tls by @grembo in #1875
- Add tests for clang as cuda compiler, and support the
-x cuda
syntax by @robertmaynard in #1892 - sccache now tracks compiler hits/misses on a per language basis. by @robertmaynard in #1895
- tests/system.rs Now correctly identifies apple clang by @robertmaynard in #1905
- clippy: remove the clippy suggestion by @sylvestre in #1915
- Disable aarch64-unknown-linux-musl by @sylvestre in #1917
- sccache 0.6.0 by @sylvestre in #1916
dependency updates
- Bump proc-macro2 from 1.0.47 to 1.0.63 by @sylvestre in #1827
- build(deps): bump anyhow from 1.0.70 to 1.0.71 by @dependabot in #1815
- build(deps): bump semver from 1.0.16 to 1.0.17 by @dependabot in #1812
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #1876
- chore: Bump OpenDAL to v0.40.0 by @Xuanwo in #1885
- build(deps): bump webpki from 0.22.0 to 0.22.2 by @dependabot in #1896
- build(deps): bump rustix from 0.36.15 to 0.36.16 by @dependabot in #1906
- build(deps): bump base64 from 0.21.0 to 0.21.3 by @dependabot in #1871
- build(deps): bump toml from 0.7.3 to 0.7.6 by @dependabot in #1863
- build(deps): bump async-trait from 0.1.68 to 0.1.74 by @dependabot in #1921
- build(deps): bump memmap2 from 0.6.2 to 0.9.0 by @dependabot in #1919
- build(deps): bump tokio-util from 0.7.7 to 0.7.9 by @dependabot in #1918
New Contributors
- @ahoarau made their first contribution in #1873
- @MisLink made their first contribution in #1881
- @theoniko made their first contribution in #1890
- @Alphare made their first contribution in #1898
- @nebnes made their first contribution in #1908
Full Changelog: v0.5.4...v0.6.0
v0.5.4
What's Changed
- fix: Don't call EC2 Metadata and allow anonymouse if no cred by @Xuanwo in #1800
- fix: wrong SCCACHE_S3_USE_SSL value parse by @DCjanus in #1804
- Revert "fix: wrong SCCACHE_S3_USE_SSL value parse" by @sylvestre in #1805
- Properly implement PCH compilation by @scorpion-26 in #1802
- Fix timing of cache reads. Fixes #1817 by @luser in #1818
- Fix the version detection in the release script by @sylvestre in #1821
- chore: Make sure Cargo.toml is formatted by @Xuanwo in #1797
## dependencies updates
- feat: Bump OpenDAL to 0.37.0 by @Xuanwo in #1798
- build(deps): bump uuid from 1.3.1 to 1.3.3 by @dependabot in #1795
- build(deps): bump predicates from 3.0.2 to 3.0.3 by @dependabot in #1793
- build(deps): bump is-terminal from 0.4.5 to 0.4.7 by @dependabot in #1796
- build(deps): bump openssl from 0.10.49 to 0.10.55 by @dependabot in #1819
- build(deps): bump filetime from 0.2.20 to 0.2.21 by @dependabot in #1816
- build(deps): bump chrono from 0.4.24 to 0.4.26 by @dependabot in #1806
- build(deps): bump log from 0.4.17 to 0.4.19 by @dependabot in #1807
New Contributors
- @DCjanus made their first contribution in #1804
- @scorpion-26 made their first contribution in #1802
Full Changelog: v0.5.3...v0.5.4
v0.5.3
What's Changed
- fix: Revert OpenDAL bump to fix the hang while connecting ghac by @Xuanwo in #1790
Fixes the intermittent issue on Windows with GitHub storage #1789
Full Changelog: v0.5.2...v0.5.3
v0.5.2
What's Changed
- Produce JSON depsfiles from MSVC by @Alexei-Barnes in #1772
- Support for Type Library Headers for MSVC by @Alexei-Barnes in #1770
- Attempt to fix arm64 builds by @alex in #1782
- build(deps): bump flate2, hyper, walkdir, serde and openssl by @dependabot
- fix: Ignore C4668 when preprocessing via MSVC by @Alexei-Barnes in #1730
- README: Add --locked to the cargo install by @sylvestre in #1787
Full Changelog: v0.5.1...v0.5.2
v0.5.1
What's Changed
- Exit when increment_compilation is enabled. by @infdahai in #1767
- feat: Enable backtrace for anyhow by @Xuanwo in #1774
- Use object for parsing archives, and handle macOS fat archives by @alex in #1776
- Added env var to disable multi arch caching by @coretechsec in #1775
- deps: Bump OpenDAL and reqsign by @suyanhanx in #1779
New Contributors
- @infdahai made their first contribution in #1767
- @alex made their first contribution in #1776
- @suyanhanx made their first contribution in #1779
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- nvcc: Correctly handle -ccbin argument given a directory by @robertmaynard in #1735
- nvcc: Handle compiler detection when gcc isn't on the path by @robertmaynard in #1747
- Replace lazy_static with once_cell by @tottoto in #1758
- Remove parity-tokio-ipc by @tottoto in #1759
- Use Infallible instead of void by @tottoto in #1761
- chore: bump
opendal
to0.34.0
by @saiintbrisson in #1760 - fix grammar in GHA.md by @tomkarw in #1765
- build(deps): bump uuid from 1.3.0 to 1.3.1 by @dependabot in #1746
New Contributors
- @saiintbrisson made their first contribution in #1760
- @tomkarw made their first contribution in #1765
Full Changelog: v0.4.2...v0.5.0
v0.4.2
What's Changed
- Support authentication in WebDAV storage (#1608) by @dtretyakov in #1732
- Feature more msvc flags parsed by @Alexei-Barnes in #1729
- Make
SCCACHE_S3_NO_CREDENTIALS
require a value oftrue
by @ajschmidt8 in #1724 - Add support for -Xclang -fno-pch-timestamp by @craigscott-crascit in #1721
- snap: refresh snap for
base: core22
by @Saviq in #1679 - Remove Redis TTL by @eandersson in #1696
- Refactor import style by @tottoto in #1701
- Use scoped thread provided by standard library by @tottoto in #1703
- Remove unnecessary import by @tottoto in #1704
- Describe the default conf file locations in docs/Configuration.md by @starrify in #1706
- When failing on startup, give more debug information by @sylvestre in #1722
- fix: Response file with carriage returns on windows parse failed by @Alexei-Barnes in #1727
- Use rustls for tls & trust-dns-resolver for dns resolution by @NobodyXu in #1737
- fix: rust coverage test meets compile error for missing debuginfo by @yihau in #1740
Dependencies update
- Update rust-version in manifest to 1.64 by @tottoto in #1702
- Bump msrv to 1.65.0 by @NobodyXu in #1743
- Replace atty with is-terminal by @tottoto in #1699
- Update to directories 5.0.0 and opendal 0.30.5 by @tottoto in #1716
- build(deps): bump regex, toml, predicates, reqwest, crossbeam-utils, reqsign, assert_cmd, clap, serial_test, chrono, h2, async-trait, once_cell @dependabot
New Contributors
- @eandersson made their first contribution in #1696
- @starrify made their first contribution in #1706
- @dtretyakov made their first contribution in #1732
- @yihau made their first contribution in #1740
- @craigscott-crascit made their first contribution in #1721
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
- Fix issue #1688 by Reverting "Custom sandboxing implementation as linux usernamespace calls - port cachepot/#128" by @sylvestre in #1689
- Bump MSRV to 1.64 by @Xuanwo in #1649
- add codecov.yml and set threshold to 0.2%, prevent coverage getting w… by @Danielmelody in #1661
- bump tokio, futures, openssl, reqwest & mime by @dependabot
- Add integration tests for C++ with clang & gcc by @sylvestre in #1677
- Add tests to verify that we work with cmake & autotools by @sylvestre in #1678
- chore: Add more debug log for gcs to help us diagnose by @Xuanwo in #1682
Full Changelog: v0.4.0...v0.4.1
v0.4.0
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