Implement Data Caching for Monorepos
Author: devinlyonsCreated Aug 26, 2026Updated Aug 29, 2026
Labelsfeature/requestintegration
Is there an existing issue or pull request for this?
- I have searched the existing issues and pull requests
Feature description
In monorepos with multiple changelogs, git-cliff needs to request data from GitHub for each one. I would like to see a caching feature added so that git-cliff can skip the repeated requests.
Desired solution
Add an enable_cache flag to the cliff.toml and a --cache flag. If provided, git-cliff will store the results of any API requests in a .git-cliff cache folder. When the option is enabled, git-cliff will look at the latest commit in the target brach to decide if the cache should be invalidated.
Alternatives considered
Using --context and --from-context. But pre-processors are already applied to the context, leaving them invalid for changelogs with different pre-processors, tag-filters, etc.
Additional context
No response
Source: orhun/git-cliff