Unreleased
-Tooling
-~~~~~~~
+Compatibility with older versions
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+- The default location of the cache directory has changed to follow the XDG
+ base directory specification (read more below). This means that scripts can
+ no longer assume that the cache directory is `~/.ccache` by default. The
+ `CCACHE_DIR` environment variable still overrides the default location just
+ like before.
+
+- The cache directory structure has changed compared to previous versions (read
+ more below). This means that ccache 4.0 cannot share cache results with
+ earlier versions. It is however safe to run 4.0 and earlier versions against
+ the same cache directory; cache bookkeeping, statistics and cleanup are
+ backward compatible, with one minor exception: some statistics counters
+ incremented by ccache 4.0 won’t be visible when running “ccache -s” with an
+ older version.
+
+
+Changed tooling
+~~~~~~~~~~~~~~~
- CMake is now used instead of Autoconf for build configuration.