]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Update NEWS
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 5 Mar 2026 14:12:26 +0000 (15:12 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 5 Mar 2026 14:39:55 +0000 (15:39 +0100)
doc/news.adoc

index 7df491ae9051ec68bdaf627e8a134d9c5097a0b7..c0b3ccc625872855b62e633110bebf3af2ed31d7 100644 (file)
@@ -1,5 +1,144 @@
 = Ccache news
 
+== Ccache 4.13
+
+Release date: 2026-03-05
+
+
+=== Upgrade notes
+
+- A C++20-capable compiler is now required to build ccache from source. Minimum
+  supported compiler versions are GCC 10, Clang 12 and Apple Clang 10.
+
+- Caching MSVC (`cl.exe`) compilations is now officially supported.
+
+
+=== New deliverables
+
+- Added Linux binary releases statically linked with
+  https://musl.libc.org[musl]. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+
+=== Removed deliverables
+
+- Discontinued 32-bit Windows binary releases. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+
+=== New features and improvements
+
+- Added support for https://ccache.dev/storage-helpers.html[remote storage
+  helpers]: long-lived local helper processes spawned on demand for
+  communicating with remote storage servers. Storage helpers allow support for
+  new storage protocols to be developed and released independently of ccache.
+  Built-in support for HTTP and Redis will likely be removed in a future
+  release. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Added support for directory-specific configuration files. Ccache now looks for
+  a `ccache.conf` file in the current working directory and its parent
+  directories, enabling per-project configuration without modifying the user's
+  cache-specific config file. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Added `msvc_utf8` config option to allow disabling `/utf-8` for MSVC when
+  using the fallback method of parsing preprocessed output. +
+  [small]#_[contributed by Max Winkler]_#
+
+- Added support for caching distributed ThinLTO for Clang. +
+  [small]#_[contributed by GitHub user zcfh]_#
+
+- Added support for caching MSVC `/sourceDependencies` file. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Added handling of Apple Clang's `-index-unit-output-path` option. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Improved compiler detection on macOS by resolving the actual compiler via
+  `$DEVELOPER_DIR` or `xcode-select` when `/usr/bin/clang(++)` shims that
+  redirect to different compilers are used. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Added support for rewriting `-fcoverage-compilation-dir` and
+  `-fcoverage-prefix-map` absolute paths (similar to existing `base_dir`
+  rewriting). +
+  [small]#_[contributed by Evgeniy Isaev]_#
+
+- Added support for rewriting absolute paths in `-fsanitize-blacklist` option
+  arguments. +
+  [small]#_[contributed by Diego Alonso]_#
+
+- Added support for multi-line configuration values. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Improved file copy performance by using `copy_file_range(2)` when
+  available. +
+  [small]#_[contributed by Oleg Sidorkin]_#
+
+- Added `h`, `m` and `ms` as accepted time unit suffixes for
+  `--evict-older-than` (in addition to the existing `d` and `s`). +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Merged `--recompress-threads` and `--trim-recompress-threads` options into
+  `--threads`. The old options are still accepted for backward compatibility. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Improved performance of `-x`/`--show-compression` and `-X`/`--recompress` by
+  using threads in parallel. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Added logging of errors and file size changes when recompressing cache
+  files. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+
+=== Bug fixes
+
+- Fixed use of monotonic clock for spin locks in the inode cache code. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+
+=== Build improvements
+
+- Fixed conditional enabling of the assembler language in CMake to avoid
+  enabling both ASM and ASM_MASM on the same platform. +
+  [small]#_[contributed by Steffen Winter]_#
+
+- Fixed inclusion of `config.h` to only apply to C and C++ compilation units,
+  not assembler files. This avoids a problem when building with Clang on
+  Windows. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Disabled legacy ZSTD support when compiling ZSTD from source to avoid
+  `-Wmaybe-uninitialized` warnings. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Removed check for (on POSIX) mandatory `spawn.h` header. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+
+=== Documentation improvements
+
+- Added generation of documentation in Markdown format. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+
+=== Test improvements
+
+- Added a basic integration test suite for MSVC. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Added an integration test for `--serialize-diagnostics`. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Added support for Valkey in the `remote_redis` test suite. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+- Fixed `-march=native` test to work reliably on hybrid CPU systems. +
+  [small]#_[contributed by Joel Rosdahl]_#
+
+
 == Ccache 4.12.3
 
 Release date: 2026-02-07