renovate-changesets@0.2.31
Patch Changes
-
Fix malformed version summaries for Docker digest-only updates. (#2019)
When Renovate opens a digest-only PR for a Docker image pinned with a floating tag
(e.g.image:latest@sha256:6a454fe...),VERSION_PATTERNin the dependency extractor
previously matched the leading digit6of the hex digest as a bare version number.
This produced changeset summaries liketo v6 (6)instead of omitting the version text.Two targeted fixes:
-
Add
(?!\w)negative lookahead toVERSION_PATTERNso a single digit that is
immediately followed by a word character (e.g. theain6a454fe) is not
extracted as a version. Major-only versions with avprefix (e.g.v4) are
unaffected since the digit is followed by whitespace or end-of-string. -
In
formatVersionText, omit the redundant parenthetical whennewVersionequals
the extractedmajorVersion(i.e. it is already a single-digit major-only value
like4). This changesto v4 (4)→to v4, which is cleaner regardless of
how the version was sourced.
-
-
Fix
getRootPackageNameto include private workspace roots in the resolution order, reverting the #2012 regression that caused changesets to use the repo slug (.github) instead of the root package name (@bfra.me/.github). (#2024)