Repository navigation
Releases
v0.11.1: Faster cold lookups and warm runs, Maven and Docker Hub fixes, corrected docs
The Count fetches less on cold runs and skips redundant work on warm ones, and fixes Maven and Docker Hub lookups. Upgrading invalidates cached data once, so the first run after upgrading is slower than usual.
Performance
- Cold lookups date only the candidate versions (@sweepies, #408). Go, Maven and NuGet used to be asked about every version ever published, which made cold runs on large repositories several times slower. Dates are now read only for versions a policy can propose. Dates already stored are kept, so later runs from an older baseline only date the versions they add.
- Fewer Docker Hub and GHCR round trips (@sweepies, #411). Docker Hub tag lists are read in one page (
n=50000) instead of 1000 at a time, and the anonymous pull token is fetched before the first read instead of after a 401. Ongrafana/loki, a cold tag listing dropped from 29 requests (about 26 s) to one (about 2 s). - Less work on warm runs (@sweepies, #405). Dashboards whose only difference is the footer's release avatar no longer trigger a GET and PATCH on every repository. Batch proofs and banner updates run in parallel, the SQLite cache avoids write locks when it is within budget, and the server reloads its settings only when the settings files change.
- Leaner GitHub client and extraction (@sweepies, #407). YAML files are parsed once and shared across managers, lockfiles are indexed instead of searched, and GitHub's rate-limit responses are classified without parsing whole bodies.
The benchmark page reflects these changes. On the project's 4 vCPU benchmark VM, all six test repositories took 49.3 s cold against 1,351.2 s for Renovate 44.261.0 (#413).
Fixed
- Maven POM dating (@sweepies, #408). POM lookups now go through the same mirror as
maven-metadata.xml. A rate-limited (429) POM answer used to be stored permanently as "dated, no date"; the version is now left unchecked and read again later. - NuGet registration pages (@sweepies, #408). Pages entirely below the current version's floor are no longer fetched.
- Versions host tags (@sweepies, #408). An undated mirror tag that is not a candidate, such as a floating
v1below the baseline, no longer discards the whole mirror.
Changed
- Private PyPI index pages (@sweepies, #408). A page that starts with
{but is not valid PEP 691 JSON is now a document error. Previously it was retried as HTML. Pages that are HTML are read as before. - Typed derives (@sweepies, #408). A field with the wrong type in a Docker, SBOM, Packagist, RubyGems or NuGet response is now a document error. Unknown fields are still ignored.
- Cache invalidated once (@sweepies, #405, #407, #408, #411). The cache schema moves to 18 and several derived states are re-versioned, so the first run after upgrading re-reads that data. If you cache the Count's data in CI, the cache key changes once.
Documentation
Several pages described behaviour that the code no longer had. They now match v0.11.0 (#404):
- Go and Maven date every version, not only the newest 20 and 10.
- The Docker Hub pull quota applies only to manifest GETs.
- mise
nodeLTS is resolved withmise ls-remote node lts. nodejs.org is used only foractions/node-versions. - A bare pattern in a matching rule is a glob. Use
regex:for a regular expression. cacheGiBmust be between 1 and 1000000. Zero is rejected.NO_COLORmust be non-empty to turn off colour in help output.patchula applytakes--settingsand no HTTP flags. Its JSON output includesschemaVersionandnotices.patchula runuses the GitHub repository of the current checkout.
Full Changelog: v0.11.0...v0.11.1
v0.11.0: Remote commands move under patchula remote, shell completions, and lockfile fixes
The Count splits local and server commands, adds shell completions, and stops holding mise and actions.lock updates that it used to get wrong. Read the breaking changes before upgrading the CLI.
Added
-
Shell completions (@sweepies, #366).
patchula completion <shell>prints a completion script forbash,elvish,fish,nu,powershellorzsh. Add--installto write it to the shell's completion directory, and--install --forceto replace a file that patchula did not generate. The installed script callspatchulaon Tab, so it does not need theusagebinary. Release archives ship bash, zsh and fish completions undershare/.patchula completion fish --install
-
Dashboard batch controls (@sweepies, #388). Open update PRs on the Dependency Dashboard have batch checkboxes, and the dashboard layout now matches the Count's PR descriptions (alerts, tables and collapsible sections).
-
Green batch trailer (@sweepies, #388). A
patchula/batchcommit gets aPatchula-Batch-Green: truetrailer when every source PR passed the same clean and green check as auto-merge, the PRs touched disjoint files, and no lockfile is pending. If the proof cannot be read, the trailer is left out and the batch still writes. -
Lockfile confirmation with gh-actions-lock (@sweepies, #394). Before publishing an
actions.lock, the Count runs gh-actions-lock's online check against the workflows. A blocking finding holds the update with its reason. A retryable failure, such as GitHub being unreachable or rate-limited, makes the Count wait.
Fixed
- Lock regeneration for an action that is also used directly (@sweepies, #392). gh-actions-lock 0.4.1 could drop a composite action's edge from
actions.lockwhen the workflow also used the same pin directly, and the incomplete lock was published. The Count now runs gh-actions-lock 0.5.1. - mise updates no longer held by lockfile version skew (@sweepies, #393). A
mise.lockwritten by a newer mise than the Count's pinned version made every mise update hold with "mise lock changed unrelated entries". The Count now keeps unchanged entries byte-for-byte and takes only the entries for the tools it updated. Any other change still holds, and the reason names what changed. - Tools declared with options or under a different spelling (@sweepies, #393). mise records some tools under a short name, so the Count failed to find them: tools with bracketed options (such as
github:...[bin=...]),nodejs,golanganddotnet-corecould not be matched. Platform selection also fell back to every platform in the file. These now resolve to the entry mise recorded. - CLI output and errors (@sweepies, #389). Local runs print only the spinner unless the cache is cold or
-vis set, and--jsonoutput is no longer mixed with stderr chatter. Barepatchulaprints root help. Parse errors show the failing command's help inline.patchula applywrites summaries to stdout, and--dry-runsummaries to stderr, so stdout holds only the diff. Skipped-update reasons now name the dependency and its file.
Breaking Changes
- Server commands move under
patchula remote(@sweepies, #380). Local commands no longer talk to a server. Migrate as follows:patchula authis removed. Usepatchula remote loginandpatchula remote logout.--remoteand--hereare removed. Usepatchula remote lookup,patchula remote run,patchula remote tui, each with--server <URL>(orPATCHULA_SERVER).apply,lookup,tuiandrunalways run on the local machine. They never readremotes.jsonor offer to switch to a server.- Local-only flags such as
--cache,--config,--concurrencyand--all-reposdo not exist underpatchula remote. --recheckmoved from the root flags topatchula runandpatchula serve.patchula runreads the repository from GitHub, inferring this checkout's remote when no repository is named. It no longer checks that the checkout is clean and on the default branch.patchula run --dry-run --dir <DIR>plans from a local directory.- Remembered servers are now kept in
remotes.json. Existingrepositories.jsonfiles are not broken by the upgrade.
Full Changelog: v0.10.0...v0.11.0
v0.10.0: Pkl package updates, a redesigned PR description, and lockfile tools that run no repository code
The Count now updates Pkl packages, redesigns the PR description around the update table, and refuses to run repository or package code while regenerating lockfiles. Read the breaking changes before upgrading.
Added
-
Pkl package updates (@sweepies, #350). A new
pklmanager readspackage://URIs inamends,extends,importandimport(...)in*.pklfiles. It handlesgithub.com/<owner>/<repo>/releases/download/...URIs,pkg.pkl-lang.org/github.com/...URIs andpkg.pkl-lang.org/<project>/...URIs (read againstapple/<project>). Checksum-pinned URIs and hosts other than these are skipped with a reason. -
Pkl packages share a PR with their repository's dependencies (@sweepies, #360). When a repository ships both a Pkl package and another dependency, such as the
hkmise tool and hk's Pkl package, their updates share one PR onpatchula/jdx-hk. Pins are never grouped, andgroup = ""on either side keeps a dependency out. An existingpatchula/hkPR closes once and its update moves to the new branch. -
Cache warmth at startup (@sweepies, #359).
lookup,run,apply,tuiand the server log one line that says how warm the cache is and why:patchula: cache partly cold: 8412 responses (61.3 MiB) and 2210 stored values, last opened 6 hours ago; 1903 outdated entries dropped (extract, tag-catalog) -
Rebasing banner (@sweepies, #361). While the Count rebuilds a branch after a re-check tick or for a lockfile rebuild, the PR description shows a note until the rebuild finishes or fails.
-
Redesigned PR description (@sweepies, #364). The update table comes first, with links to each package's source and to the compare view. Release notes are collapsed per package. Fixed advisories lead with a one-line headline, and the advisory table sits below the update table.
-
CLI details (@sweepies, #332, #334). Update rows give each file's line (
.github/workflows/ci.yml:96 (+6)), and a pinned digest appears only when it is the change. Long skipped reasons wrap to the terminal width instead of being cut. The dashboard groups pending updates by why they wait, in collapsed sections.
Changed
- Lockfile tools run no repository or package code (@sweepies, #345, #348, #349). An update whose lockfile can't be regenerated without running such code is skipped with a reason on the dashboard and in the report. Refused cases include npm and Yarn git, forge and other non-registry sources, uv packages with dynamic metadata, and Poetry builds. Bundler now evaluates a Gemfile the Count rebuilds, not the repository's own.
mise lockruns with plugin backends disabled (@sweepies, #345). Under this restriction,mise lockrecordsyarnasaqua:yarnpkg/berryandpoetryaspypi:poetry. Documented in the lockfiles guide.- Prereleases are admitted only on purpose (@sweepies, #342). A
regex:that names a prerelease (regex:-rc\.) or asemver:range that names one (semver:>=2.2.0-rc.1) admits them.regex:^2\.andsemver:<3do not. Negated filters never admit them. - Release dates cover every version for Go, Maven and NuGet (@sweepies, #342). A cold lookup dates every version once, so it makes more requests than before. Later lookups ask only about new versions.
- YAML values keep their text (@sweepies, #343). A plain value that would read back differently is quoted, so
tag: 1.9no longer becomes1.10. npm specs that are not registry specs (gitlab:,owner/repo, tarballs) are left alone instead of being looked up on npm. - mise tools with options name their branch after the tool (@sweepies, #337). Options no longer appear in the branch name. A tool with different options still gets a separate branch.
- Installation-token cache scope (@sweepies, #347). Runs that use an installation token key their cache by the token's repository reach, not the token's bytes. This makes cached data reusable across Action runs. The first run after upgrading may miss the cache once.
- Every open PR is rewritten once to the new description format.
Fixed
- Server discovery signs in only to the App that wrote the marker (@sweepies, #346). A
patchula-server:marker from another bot could previously point the CLI at an attacker's server that handed out the Count's client ID. Discovery now checks the marker author's App and pins its client ID. - Notes keep only real links (@sweepies, #346). Text such as
[@alice][1]with no definition is no longer turned into a mention or backlink. - GraphQL primary rate limits (@sweepies, #341). An exhausted GraphQL limit is no longer treated as a secondary limit, so writes are no longer throttled for an hour.
- Refused installation tokens are replaced (@sweepies, #341). A 401 mints a new token and retries once, instead of reusing the refused one until it expires.
- One repository's failure stays its own (@sweepies, #344). A maintenance planning error no longer fails every repository in the batch.
- Lockfile warnings no longer block cleanup (@sweepies, #344). Obsolete PRs and stale branches are cleaned up even when a lockfile tool warns.
- Branch names that differ only by case or punctuation stay separate (@sweepies, #344). Such groups get a stable hash suffix.
- Failed tool runs keep their toolchain (@sweepies, #345). A tool that fails no longer reinstalls its toolchain on the next use, and stray grandchild processes no longer hang a successful command.
tui --onceexits with the same codes aslookup(@sweepies, #346).- Server image ships pinned mise (@sweepies, #368). The image packages the pinned mise release instead of fetching it at build time.
Breaking Changes
- Intel macOS is no longer built (@sweepies, #331). Install on Apple silicon, or build from source on Intel Macs.
repositories.jsonmust be recreated (@sweepies, #346). The file now records each discovered server's App. A file written by an earlier version fails to load with a message to delete it and start over.- The GitHub Action needs
patchula0.9.0 or later (@sweepies, #340). A binary withoutpatchula cache schemanow fails the step with an error. prs.branchprefixes are limited to 200 characters (@sweepies, #344). A longer prefix is refused when configuration loads.- Some updates are now skipped instead of run. Repositories with a .NET
packages.lock.json, npm or Yarn git or forge dependencies, or uv packages with dynamic metadata will see those updates skipped with a reason until the lockfile no longer needs repository code.
Full Changelog: v0.9.0...v0.10.0
v0.9.0: Cargo cooldowns, actions.lock regeneration, mise tool options, and a report schema that separates races from failures
The Count rises with Cargo cooldowns, actions.lock regeneration and mise tools that carry options. The report schema moves to version 8, and a repository that loses a race with its own default branch is now stale rather than failed. Read the breaking changes before upgrading.
Breaking Changes
- Report schema 5 to 8.
schemaVersionis now 8, and readers reject older versions. Schema 6 (#208) gives branches, pull requests and images their own statuses, replacing the shared status type. Schema 7 (#275) addsstalefor a repository that changed under a run. Schema 8 (#299) adds acooldownfield on held-back and proposed updates. - Repositories that change mid-run are
stale, noterror(#275).patchula runexits 5 when no repository errored and at least one is stale. The server reruns these without counting a failure, and gives up after the fourth consecutive stale run. Scripts that treat any non-zero exit as a hard failure should treat 5 as retryable. submodulesandignoreAuthorsare removed from the config schema (#215). A config that sets either no longer validates. Neither changed behaviour, so delete them.- Cargo receives
waitHoursfor every Rust repository (#301). Crates that a resolve newly locks wait as long as the updates that triggered it. A cooldown in a parent directory's.cargo/config.tomlno longer applies. Security fixes are allowed through Cargo's incompatible-publish-age check. - The first run after upgrading starts cold. Cache keys changed format (#324), and the action's cache is now partitioned by the binary's schema (#325).
- Copies of the Count's branches outside
prs.branchare deleted at the next full write (#290). Steady-state runs now list only branches under the configured prefix.
Added
actions.lockfollows updates (#303, #305). In a repository that commits.github/workflows/actions.lock, an action update regenerates the lock in the same commit, or is held with the tool's reason. Lockfile maintenance also relocks refs that moved upstream, such as a floating@v7, and lists them in the pull request body.- Cargo cooldowns in committed config (#299, #301). A crates.io update inside a
registry.global-min-publish-age,registry.min-publish-ageorregistries.*.min-publish-agecooldown in.cargo/config.tomlis held until it clears. Security fixes bypass the hold. Cargo itself enforces the cooldown on the crates a lockfile run newly locks. The Count's default Rust toolchain for lockfile runs is now 1.100.0 (#296). - mise tools with options (#329). Tools whose entries carry options are looked up, and the options are passed to mise, so
ls-remotehonours them. Options that could point a fetch at a cloud instance-metadata address are refused. A task tool with table options is still refused. - Advisory and write settings.
http.advisoryFreshnessSecs(default 3600) sets how long OSV listings are reused (#277).github.writeBurst(default 12, range 1 to 19) sets how many writes can go out before the one-second pacing applies (#281).
Changed
- Quiet sweeps (#289). A repository whose inputs are unchanged is skipped by the server's sweep for up to six hours, with no GitHub requests. A missed webhook or a change no subscribed event reports is picked up within six hours.
- Lock-resolved dependencies report
resolution: lockfile(#254, #256). This now covers Bun, Bundler, Composer, pyproject, Go and Terraform. Version files such as.nvmrcreportrelease-line. Runtime constraints likeengines.nodestill reportsupported-range. - OCI Helm charts follow
imageDigests(#251).actionDigestsstill governs actions and reusable workflows. SettingimageDigests = falsenow turns off digest pins for OCI charts. - Poetry settings are credential-scanned (#232). A repository that commits a credential in
poetry.toml(http-basic,pypi-token, or a password in a repository URL) is refused, as the Renovate departures page already documented. - Digest lookups and scans are faster (#201, #202, #276, #277). Warm lookups of large repositories dropped from about 9 seconds to about 4 to 7 seconds of wall time, depending on the repository, and the release binary is smaller. Startup no longer spends time seeding TLS from CPU jitter.
- Large registry documents stream (#288, #294). Cold lookups of large npm repositories peaked near 680 MB and now peak near 165 MB. The default
defaultHostConcurrencyrises from 16 to 32. A Helmindex.yamlof 27.6 MB peaked at 274 MB and now peaks at 61 MB. - Writes are quicker (#281, #287). The first dozen writes of a run skip the one-second pause. Repositories in a batch write side by side, with lockfile tools running up to four at a time. On a 100-pull-request benchmark, a full write fell from about 10 seconds to about 3 seconds.
- Extraction, catalog and notes state survive releases (#293). State whose deriving code did not change is kept across upgrades.
Fixed
- Remote runs always finish (#205). A panic in a run used to leave the job
Runningforever and block the user. It now ends as failed. - Server requeues are bounded (#274). A repository requeued three times in a row fails on the fourth requeue, so a persistent race backs off.
- Transient release-note failures are retried (#308). A network error, timeout or rate limit no longer marks the notes as unresolvable in the pull request. The pull request shows a "could not read these release notes this run" section, and the next run fetches again.
- Rule errors hold the wait (#309). A rule that fails to evaluate used to mean a wait of zero hours. It now holds the update with the error.
- Advisory severity from the CVSS vector (#321). Advisories with no database label showed as
unknown. They now take the severity from their CVSS vector. - mise configuration detection (#322). Only the files mise reads count as mise configuration. A crate's
Cargo.tomlin amise/folder was previously read as mise settings, failing all 41 tool lookups in one repository. - mise listings use a scoped token (#327). A repository's
mise.tomlcan no longer name a private tool in another repository and get its releases listed with the installation token. - Clearer refusal messages (#326). Lookup failures name the mise option keys, and a bracketed tool name explains that brackets are not read.
- pre-commit branch refs (#253). A
revnaming a branch is left alone instead of failing with "cannot classify current value". - Version files get updates (#255).
.nvmrc,.node-versionand.terraform-versionnow propose updates by default. - Bun follows npm's rules (#256).
engines.nodeand peer ranges are handled as they are for npm. - Local npm protocols are not versions (#228).
portal:,patch:andexec:specifiers are no longer read as registry versions. - Checkouts with any directory name (#283).
patchula lookupno longer fails when the directory is not a valid repository name. - TUI writes what it can (#229). When some selected updates cannot be written in place, the rest are written and each skip is reported with its reason.
- Yarn restore (#306). A committed
.yarnrc.ymlis always restored after a Yarn run. - Docker token realms (#307). A token service must be on the registry's origin or a known service. Self-hosted GitLab registries on their own port still work.
- Action cache lineage (#325). The composite action keys its cache by the binary's cache schema, so an older binary no longer fails on a newer binary's cache.
- App JWT signing (#323). App JWTs are signed with aws-lc-rs, removing the
rsacrate flagged by RUSTSEC-2023-0071.
Full Changelog: v0.8.1...v0.9.0
v0.8.1: Group PRs with the same target are batched separately; report directory is pruned
The Count no longer merges group PRs that bump the same dependency to the same version into one identity, and the server's report directory now stays bounded. Read the upgrade notes below before updating, since the update key changes once.
Fixed
-
Group PRs with the same target stay separate (#198, @sweepies). In a monorepo with one group per service, a shared dependency bumped to the same version used to get one PR per service that shared a single identity. Ticking "Add to the batch PR" on all of them kept only one service's change, and closing one service's PR suppressed the same update for the others. Each PR now has its own key, so each is its own batch item, can be unticked on its own, and is suppressed only on its own branch. Fixes #196.
-
reportDirectoryno longer grows without limit (#197, @sweepies). A failing repository used to rerun its batch every minute and write a new report each time. The server now keeps the newest reports and deletes older ones after each write. The newserver.reportsKeptsetting sets how many are kept.server { reportDirectory = "/var/lib/patchula/reports" reportsKept = 500 }
The default is 200, allowed range 1 to 100000. Only files named as batch reports are deleted. Temporary files from a crashed writer are removed once they are a day old.
Breaking Changes
Upgrading to 0.8.1 changes every update key once. Expect the following:
- Updates closed before the upgrade are no longer suppressed and may reopen. Close them again to suppress them as before.
- Open batch PRs keep their items, but those items no longer match their plans. Their updates also reopen as separate PRs until the batch merges or the items are closed. Merging or closing open batch PRs before upgrading avoids this.
- Every open update PR's body is rewritten once.
- Dashboard "create it now" and "bring back" boxes rendered before the upgrade do nothing until the dashboard renders again on the first run after the upgrade.
Suppression now belongs to the PR's branch. Renaming a group, or changing prs.branch, starts its branches afresh, so updates closed before that change can reopen once.
Full Changelog: v0.8.0...v0.8.1
v0.8.0: Faster scans, Helm chart release notes, and retries that stop hitting healthy repositories
The Count now feeds faster on warm and cold scans, runs lockfile tools side by side, and no longer requeues a whole server batch because one repository failed. Helm charts get release notes, and Yarn Classic locks are regenerated with aube.
Added
-
Helm chart release notes (#192, @sweepies). The Count reads Artifact Hub's
artifacthub.io/changesannotation first. Without it, the chart's first supportedsourcesentry names the source repository. PRs say when their notes came fromsources, since that repository may describe the packaged application rather than the chart. OCI charts are read one config per version, up to 32 versions. -
server.workers(#185, @sweepies). Sets how many installations' batches run at once, default 4, range 1 to 64. Each installation still runs one batch at a time. Every batch runs its own lockfile tools, so a small host should lower it.server { workers = 2 }
Changed
- Faster scans (#183, #184, #186, @sweepies). Git blobs are read by SHA from the cache without revalidating, and uncached blobs are fetched through GraphQL in batches of fifty, with REST as a fallback. A commit whose read files match a saved scan reuses that scan's config and extraction, so a push that only touches code costs one tree request.
- Faster lockfile runs (#187, @sweepies). A repository's branches regenerate concurrently, up to four at once. Checkouts from the shared clone still run one at a time.
- Yarn Classic locks regenerated with aube (#165, @sweepies). A Classic (v1)
yarn.locknow goes to aube 2.9.0, as pnpm and npm locks already do. Unchanged entries are kept byte for byte. Berry locks still go to Yarn. The default Yarn release is now Berry, and the separate[yarn]Berry pin is gone. - Lockfile tool caches persist between runs (#189, @sweepies). Package caches for Cargo, Go, npm, Bun, uv, Composer and the other lockfile tools are kept under the runner's cache directory instead of starting empty each run. Caches are partitioned: the shared
publicpartition is used only when every file a run can read names public registries, and other runs use a per-installation or per-credential partition. Partitions unused for 14 days are removed, andlockfiles.cacheGiB(default 20, minimum 1) caps the total size. - Go in the public partition uses proxy.golang.org only. If that run fails, it is retried in the installation partition with Go's normal environment, so repositories with internal modules still work.
- Narrower committed-credential refusal (#189, @sweepies). A repository is refused only for credentials a tool or lookup actually reads, such as
_authTokenin.npmrc,http-basicin Composer auth, or a user and password in a registry URL. Test DSNs, user-only userinfo in forge URLs, and other text no longer cause a refusal.
Fixed
- Server retries only the repositories that failed (#194, @sweepies). One broken repository used to requeue every repository in its batch, each retried every 60 seconds with no end. Each failed repository now backs off 1, 2, 4 minutes and so on, capped at an hour, and a new push or other event brings its retry forward. The queue database gains a
failurescolumn (migration 009). - Clearer lookup failures (#190, @sweepies). A Gradle or Maven build that uses repositories other than Maven Central, Google's, the Gradle Plugin Portal or jcenter logs one warning per build that names the file and the redacted repository address, instead of failing each dependency silently. Include chains deeper than 16 rounds now get an accurate message. Local non-UTF-8 files are refused with an encoding error, separate from I/O errors. The report notes when the delivery check is skipped past 300 YAML manifests. Lookups still fail closed on the same registry rules as before.
Full Changelog: v0.7.0...v0.8.0
v0.7.0: Private registry credentials and mirrors, and no more guessing on public registries
The Count can now read private registries with operator-held credentials, and he no longer asks public registries about names a repository's build files place elsewhere. 0.7.0 also moves to one shared settings file and drops pip requirements files, so read Breaking Changes before upgrading.
Added
-
Private registry credentials (#160, @sweepies). Operators can authenticate lookups to private Helm, OCI/Docker, Maven, GitLab and Gitea registries. Secrets come from an environment variable or a file, never from the settings file itself. Repository configs cannot name credentials.
registries { ["https://acme.jfrog.io/artifactory/api/helm/charts"] { auth = "bearer" secret { env = "ARTIFACTORY_TOKEN" } } }
-
Registry mirrors (#161, @sweepies). An entry with
mirrorOfroutes lookups for a public registry through a proxy such as Artifactory, Nexus or a corporate mirror. There is no fallback: if the mirror fails, the lookup fails. Dependencies keep their public names, so branches, rules and the dashboard do not change when a mirror is added.registries { ["https://acme.jfrog.io/artifactory/api/npm/npm-remote"] { auth = "bearer" secret { env = "ARTIFACTORY_TOKEN" } mirrorOf = "public npm registry" // see the public npm registry } }
-
npm packages from their own registry (#162, @sweepies). The Count reads
registry=and@scope:registry=from the nearest.npmrc, andnpmRegistryServerandnpmScopesfrom.yarnrc.yml. A package from a private registry gets no advisories or release notes from the public package of the same name. -
Lockfile tools can use credentials (#178, #179, #180, @sweepies). Set
tools = trueon aregistriesentry that hasauth, and the entry's credential reaches npm, aube, Bun, Yarn, Cargo, Composer, Go, Terraform, Bundler, dotnet, uv and Poetry while they regenerate lockfiles. Each tool gets the credential in its own form. Off by default.Trust grant. Lockfile tools run repository and package code, such as build scripts and Gemfile evaluation, unsandboxed as the Count's user. A
tools = trueentry gives that code the credential for every repository that may use the entry. UseallowedInstallationsto limit which installations get it. It is not a sandbox. -
Docs for agents (#159, @sweepies). The docs site serves
llms.txt,llms-full.txt, per-page Markdown copies, and returns Markdown toAccept: text/markdownrequests. Every page now has its own description.
Changed
- Shared settings file (#158, @sweepies). The CLI and
patchula serveread one file:patchula/settings.pklin the user config directory, or the path in--settingsorPATCHULA_SETTINGS. The server now applies thehttpsection, which it previously ignored. - Lookups fail rather than guess when a repository names another source. Where a repository's files show that a package comes from somewhere other than the public registry, the Count skips the package or fails its lookup instead of querying the public registry:
- Bundler:
Gemfile.lockdecides each gem's source (#168). - Composer: each package's registry comes from
composer.lock(#170). - NuGet: nuget.org is queried only when
packageSourceMappingallows it (#171). - Maven and Gradle: Maven Central is queried only when no build file names another repository (#173).
- Cargo: crates.io lookups fail where configuration replaces crates.io (#174).
- Go: modules named by a
replacedirective are skipped (#175). - mise: package-backend tools fail when committed settings could redirect the backend (#176).
- Bundler:
- Private repositories' data stays private. The public repository API now withholds data from lookups that sent credentials, based on what each request actually sent (#177, @sweepies).
Fixed
- Credentialed lookups were sometimes shown publicly. The server guessed which lookups would use credentials, and missed some sources and later requests. It now records this as each request is made, so a private repository's credentialed results are withheld (#177, @sweepies).
Breaking Changes
- Settings file renamed and restructured (#158).
PatchulaServer.pklis nowPatchulaSettings.pkl. Server-only fields move underserver { }.PATCHULA_SERVER_SETTINGSbecomesPATCHULA_SETTINGS.config server-schemaandconfig check-serverbecomeconfig settings-schemaandconfig check-settings. - Removed server flags (#158).
--host-concurrency,--registry-freshness-secsand--go-freshness-secsare gone. Set them in thehttpsection. - Docker Hub variables removed (#160).
PATCHULA_DOCKERHUB_USERNAMEandPATCHULA_DOCKERHUB_TOKENare gone. Use abasicentry for Docker Hub's registry (registry-1.docker.io) instead. requirementsmanager removed (#164).managersno longer acceptsrequirements, and pip requirements files are listed as skipped. Move those projects to uv or Poetry.- PyPI reads indexes from lockfiles (#164). A package takes its index from
uv.lockorpoetry.lock. When the project configures an index but no lockfile records a package, its lookup fails until the lockfile is committed. - Report schema version 5 (#162). Dependencies gain a
registryfield. Readers that reject unknown fields need updating. - Some lookups now fail (see Changed). Repositories whose build files name a non-public registry may see lookups that used to succeed now fail or skip.
Known limitations
- Private Composer, NuGet, Maven, Bundler, RubyGems and Cargo registries are not read yet, so their lookups fail rather than fall back to the public registry.
- Configuration outside the repository, such as
GOPRIVATE, Cargo's$CARGO_HOMEor environment variables set in CI, is not seen.
v0.6.1: Safer defaults, lockfile-only updates, and fixes from the Count's first self-runs
The Count has now run on his own repository long enough to find bugs in himself, and 0.6.1 fixes them. It also changes several defaults (PR limits, the dashboard, version pins), so read Breaking Changes before upgrading.
Breaking Changes
These default changes come from #110 (@sweepies). Repositories that depended on the old behavior need a config change:
- Version pins for Cargo, pyproject, Bundler and Composer default to
versions = "preserve"(wasexact). To keep exact pins, setversions = "exact"for those ecosystems. Requirements, npm and Bun stayexact. prs.concurrentdefaults to 10 (previously no limit). Set it tonullto lift the limit again.prs.dashboarddefaults totrue. Turn it off withprs { dashboard = false }.- Security fixes use the
fix(deps):commit prefix (security.applysets it), so release tooling that ignoreschoreships them. - Assigning a new
ruleslisting drops the built-in version rules. List any you still need.
Added
- Lockfile-only updates for in-range releases (#110, @sweepies). Under
preserve, when a lockfile is committed and a direct dependency's range already allows a newer release, the Count updates only the lockfile and leaves the manifest alone. For Cargo this runscargo update -p <crate>@<locked> --precise <target>. npm and Bun get no lockfile-only updates. Without a committed lockfile, an in-range release is still not an update. widenfor Composer, Poetry, Maven and NuGet (#110, @sweepies). Composer and Poetry get||alternatives (^1.2 || ^3.0). Maven and NuGet intervals widen ([1.0,2.0)becomes[1.0,3.1]). Bundler, Docker, Go and loose versions keeppreservebehavior.aube-lock.yamlis recognised (#108, @sweepies). The lockfile is regenerated in place. Python locks the Count cannot regenerate (pdm.lock,pylock.toml,Pipfile.lock) hold the update as lockfile-pending.- mise task
toolsare read (#140, @sweepies).[tasks.<name>].toolsin a config file, and<name>.toolsin an included TOML task file, now move with the rest of the mise pins. - GitHub Action
binaryinput (#107, @sweepies). Runs apatchulabinary you provide instead of installing a release. It overridesversion.
Fixed
- Dependencies the Count cannot look up are skipped, not reported as failures (#84, @sweepies). Cargo
pathandgitdependencies that also name aversionare skipped with a reason, including throughworkspace = true.http:ands3:mise tools are skipped, since mise cannot list their versions. - Lockfile updates that failed on the first self-run (#108, #113, @sweepies).
- Cargo bumps across a semver-incompatible boundary (such as
base640.22 to 0.23) no longer fail with "failed to select a version". zstd-sysadvisories match a lock entry that carries build metadata (2.1.2+zstd.1.5.7).- Rust lock jobs no longer fail with "no existing platforms to preserve".
- A nested
mise.toml, such as one undertests/, no longer overrides the root's tool versions in the lock job. - The
hcl-editlock job no longer fails when two updates for a 0.x crate land on one branch.
- Cargo bumps across a semver-incompatible boundary (such as
- Auto-merge. GitHub's "clean status" refusal is no longer treated as an error, because the Count's own merge takes over on a later run. Pull requests in
UNSTABLEstate are accepted for auto-merge and wait for checks before the Count merges them. - Batch PRs (#114, #126, #151, @sweepies).
- Ticking updates into the batch now opens the batch PR even at the concurrent limit.
- A batch moves every
uses:or version declaration of a dependency in a file, not only the first one. - A batch target older than the dependency's current version is dropped instead of downgrading it.
- Config errors name the file (#128, @sweepies). An evaluation error with no source location, such as
prs { dashboard = "yes" }, namespatchula.pkland highlights the property. - Dashboard and PR text (#109, #130, @sweepies). The dashboard and PR bodies are shorter: tool failures fold into a summary with the decisive lines in a collapsed block, and vulnerabilities list each package once. Held updates no longer show a timestamp that changed on every run. Third-party text no longer @-mentions anyone; the dashboard previously mentioned a maintainer from raw tool output. Bot-written wording also says "the Count" less.
Full Changelog: v0.6.0...v0.6.1
v0.6.0: Image rebuilds that fix OS advisories are marked as security updates, tooling warnings on auto-merge, and a fix for ref updates on repositories that require pull requests
The Count is now an independent project, and he can now tell when a pinned image rebuild fixes an OS advisory and warn when auto-merge has nothing behind it. The server image has been rebuilt, which changes how it starts; read Breaking Changes if you run it.
Added
-
Image rebuilds that fix OS advisories are marked as security updates (#76, @sweepies). When a pinned image's digest changes, the Count compares the OS packages in the old and new images' SBOMs through OSV.dev. If OSV reports an advisory for the old image and not the new one, the update gets the
securitylabel and a[security]commit prefix, and its PR lists the advisories it fixes. Only OSV matches set the mark. If the Count cannot tell, the PR and the dashboard say so. The check is on by default and reads by digest, anonymously. Settings:security { images = true imagePlatforms = new Listing { "linux/amd64" "linux/arm64" } quietImages { ["ghcr.io/example/app"] = "rebuilds are reviewed by hand" } }
imagePlatformsdefaults tolinux/amd64alone. An image with none of the listed platforms is compared on the first platform its index lists. Images silenced withquietImagesstill appear on the dashboard under "Silenced". RPM-based distributions are reported as not covered in this release. -
Tooling warnings on auto-merge (#78, @sweepies). A PR the Count is set to merge now carries a caution when the repository lacks what that merge relies on. There are three rules:
merge-without-ci(no CI reports on the default branch),merge-without-required-checks(no ruleset or classic protection requires a status check) andsecurity-merge-without-delivery(an advisory fix merges, but nothing runs when the default branch changes). The dashboard has a new Tooling warnings section that lists each warning with the PRs it affects. Silence a rule with a reason:warnings { quiet { ["merge-without-ci"] = "this repository is checked by an external system" } }
Unknown results, such as a workflow that does not parse, never produce a warning.
Fixed
- Ref updates failed on repositories that require pull requests for the default branch (#81, @sweepies). Every ref update sent a no-op lease for the default branch, which GitHub rejects under a "Require a pull request before merging" ruleset. One rejection failed the whole batch with
atomic batch ref lease failed. The Count no longer names the default branch, and each update branch keeps its own lease. A branch left behind by a base that moved is rebased on the next run. - GitHub GraphQL errors include GitHub's message. Failures read
GitHub GraphQL returned errors: Push blocked …instead of a generic error. Only the message text is kept.
Changed
- The server image is built with apko and melange (#71, @sweepies). The image is built from Wolfi packages and no longer contains mise. The image is smaller, has no known CVEs in the local grype and trivy scans, and carries GitHub-hosted build provenance and SBOM attestations in place of BuildKit attestation manifests.
- The Renovate documentation is trimmed (#74, #75, #77). The departures page lists the major ways the Count differs from Renovate, and the compatibility page maps managers, datasources and options without parity claims.
Breaking Changes
Only the server image changes behaviour, and only for operators:
- mise is installed on first start, not baked in. With no
miseon the path,patchula serveandpatchula tools installinstall a pinned mise into the tools directory. The first start therefore needs GitHub access, or a volume already seeded withpatchula tools install. If the install fails, the server logscannot install miseand keeps running. - No
HEALTHCHECKorEXPOSEin the image. Configure health checks in Docker, Compose or Kubernetes.curlremains in the image for that. - SBOM and provenance are GitHub attestations, not BuildKit attestation manifests.
Full Changelog: v0.5.1...v0.6.0
v0.5.1: Working-tree reads follow .gitignore, and test and example directories are excluded by default
The Count now reads a local working tree the way a push would, so git-ignored files stay out, and he no longer feeds test fixtures and examples to the updater by default. Repositories that relied on updates inside those directories need a config change, so read Breaking Changes first.
Fixed
- Local runs read git-ignored directories (@sweepies).
lookup,run --dry-run,tuiandapplywith no repository named used to walk the whole checkout, includingnode_modules/and other ignored directories. They now list the files Git would push: tracked files plus untracked files that Git does not ignore, so.gitignore,.git/info/excludeand the global excludes file apply. Tracked files inside an ignored directory are still read, as on GitHub. A directory that is not a Git checkout is walked as before, minus.git. - Files below a symlinked directory are no longer read or written. Deleted tracked files, symlinks and submodules are skipped, so nothing outside the checkout is touched.
Changed
- Default
excludecovers install, vendor and test-data directories (@sweepies). The defaults now also skipbower_components,test,tests,__tests__,__fixtures__,fixturesandexamplesat any depth, alongsidenode_modules,vendorand.git. The same defaults apply to GitHub reads and local reads. On this repository,lookup --default-configwent from 62 package files and 2544 lookups to 27 files and 87 lookups. - Lookup progress says what it counts. The spinner reads
running N lookups…instead oflooking up N dependencies…. Each lookup is one package, or one action ref whose digest is read.
Breaking Changes
If a repository has manifests under test/, tests/, fixtures/, examples/ or the other newly excluded directories, the Count stops opening PRs for them. To keep one of those directories, add a ! entry to exclude. It keeps every default and re-includes only the paths it matches:
amends "PatchulaConfig.pkl"
exclude { "!examples/app/**" }Assigning exclude = new Listing { ... } replaces the defaults entirely, so list any you still want excluded.
Full Changelog: v0.5.0...v0.5.1