Commit Graph

14403 Commits

Author SHA1 Message Date
Johannes Feichtner 77758459e9 feat(manager/npm): pass --before to npm install when minimumReleaseAge is set (#42552)
* feat(manager/npm): pass --before to npm install when minimumReleaseAge is set

* fix tests

* replace regex with `ini` parse
2026-05-07 13:14:48 +00:00
renovate[bot] 6221de715b fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.45.4 (main) (#43149)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.45.4

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.45.3 | 13.45.4 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-07 11:27:23 +00:00
renovate[bot] b0a1a93300 fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.45.3 (main) (#43140)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.45.3

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.45.2 | 13.45.3 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-06 21:06:06 +00:00
Jamie Tanna b10905bc1e fix(util/exec): allow setting PNPM_WORKERS/PNPM_MAX_WORKERS in environment (#43131)
As found in #40942, we've been seeing increased memory usage by pnpm and
Yarn in recent months on Mend-hosted apps.

As a way to provide more control to test + validate fixes, as well as
provide self-serve for other environments, we can allowlist
`PNPM_WORKERS`/`PNPM_MAX_WORKERS` in both the "basic env vars" and the
allowed `global:safeEnv`.
2026-05-06 20:55:22 +00:00
renovate[bot] bbd1b220b1 fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.45.2 (main) (#43139)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.45.2

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.45.1 | 13.45.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-06 20:27:56 +00:00
Jamie Tanna 0a1b54a852 feat(manager/renovate-config): extract constraints (#42873)
* feat(manager/renovate-config): extract `constraints`

As noted in #41571, it would be useful to detect and suggest updates
when specifying `constraints` in Renovate config, where it's a known
tool we provide versioning information for.

We can extend our existing `renovate-config` manager to add support for
`constraints` that are known Containerbase tools.

We can support top-level `constraints` as well as `constraints` inside
`packageRules`.

* refactor(renovate-config): remove nesting
2026-05-06 18:16:09 +00:00
Michael Kriese b651a176ff fix(config-validator): initialize host rules (#43124) 2026-05-06 18:15:29 +00:00
Qixiang Wan f944c8d12e fix(gomod): write full pseudo-version instead of bare hash on digest updates (#41588)
When a Go dependency uses a pseudo-version (v0.0.0-timestamp-hash) and
Renovate detects a newer pseudo-version, updateType is set to 'digest'
via the gomod special-case in lookup/index.ts. The digest update code
path was then writing only the 12-character bare commit hash, producing
invalid go.mod syntax:

  - knative.dev/pkg v0.0.0-20250312035536-b7bbf4be5dbd
  + knative.dev/pkg 4a022ed9999a

Historical cause:

In 2018, the Go module proxy did not yet exist. Renovate queried the
GitHub API for the latest commit SHA and had no way to obtain the correct
commit timestamp, so it fabricated a pseudo-version using the wall-clock
time when Renovate ran. The result was syntactically valid but semantically
wrong. Go 1.11 and 1.12 did not validate pseudo-version timestamps, and
`go get` would normalise the fabricated version to the correct one anyway,
so this worked in practice.

Go 1.13 (2019) introduced strict pseudo-version timestamp validation,
rejecting any pseudo-version whose timestamp does not match the actual
commit time. Renovate's fix (31ce47297) was to drop the fabricated
timestamp entirely and write just the bare commit hash, then rely on
`go get` to expand it into a canonical pseudo-version. However, when
the `go get` command or other subsequent operations fail, Renovate may
leave the go.mod file containing dependencies pinned to bare commit hashes.

Why the fix is now safe:

Since the 2024 goproxy datasource changes, both newValue and newDigest are
extracted from the same proxy version string via pseudoVersionToRelease().
They always reference the same commit, so writing newValue directly produces
correct, syntactically valid go.mod output without depending on `go get` to
clean it up afterward.

Signed-off-by: Qixiang Wan <qwan@outlook.com>
2026-05-06 16:06:01 +00:00
Felipe Santos 61abbd7469 feat: drop redundant (major|minor|patch) PR suffixes (#41705)
* feat: remove `(major)` suffix from PR title when there's a version already

* Use isNonEmptyStringAndNotWhitespace

* Ensure commitMessageExtra is actually a version
2026-05-06 16:00:23 +00:00
Michael Kriese 9c4fa0e824 refactor(http): use got default export (#43127) 2026-05-06 14:11:58 +00:00
Michael Kriese 59c3dfdbae fix(git): pass only allowed child env (#43113)
* fix(git): pass only allowed child env

* test(git): cover filtered git env (#43125)

* Update lib/util/git/index.ts

Co-authored-by: Dave <reduckted@outlook.com>

---------

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Dave <reduckted@outlook.com>
2026-05-06 14:04:55 +00:00
renovate[bot] 766db6fc6f build(deps): update dependency upath to v3 (main) (#43121)
* build(deps): update dependency upath to v3

| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | upath   | 2.0.1 | 3.0.7 |

* chore: fix types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-05-06 12:09:33 +00:00
renovate[bot] 19e8764232 feat(deps): update ghcr.io/renovatebot/base-image docker tag to v13.45.1 (main) (#43108)
feat(deps): update ghcr.io/renovatebot/base-image docker tag to v13.45.1

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.44.3 | 13.45.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-06 09:03:15 +00:00
Jamie Tanna ee61f1e1ce test(util/git): increase coverage ahead of simple-git upgrade (#42944)
* test

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* sq

* chore: linting

---------

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-05-06 08:53:45 +00:00
Michael Kriese 92521f5ea9 fix(versioning/github-actions): ensure stable sorting for v prefix and short versions (#43111) 2026-05-06 08:38:38 +00:00
renovate[bot] fc5cd1cfa3 fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.44.3 (main) (#43106)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.44.3

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.44.2 | 13.44.3 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 16:30:17 +00:00
Hozifa wasfy 757f57033d feat(manager/tekton): Add support for StepAction resource to tekton manager (#43099) 2026-05-05 13:52:03 +00:00
renovate[bot] 08c702cf90 fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.44.2 (main) (#43103)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.44.2

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.44.1 | 13.44.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 12:29:46 +00:00
renovate[bot] 03e2587902 fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.44.1 (main) (#43100)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.44.1

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.44.0 | 13.44.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 08:28:29 +00:00
renovate[bot] 058928e483 feat(deps): update ghcr.io/renovatebot/base-image docker tag to v13.44.0 (main) (#43098)
feat(deps): update ghcr.io/renovatebot/base-image docker tag to v13.44.0

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.43.1 | 13.44.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 03:26:51 +00:00
renovate[bot] 49b2774615 fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.43.1 (main) (#43097)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.43.1

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.43.0 | 13.43.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 00:27:04 +00:00
Michael Kriese 9e4c798bda fix(github): Make GraphQL singleton data fetching explicit to bypass pagination (#43082)
fix(github): reduce graphql count to bypass error handling
2026-05-04 21:15:16 +00:00
Felipe Santos cec112a2eb fix(log): last log lines of config-validator not being written to file (#43052)
* fix(log): last log lines of config-validator not being written to file

* Use simpler write

* Simplify RenovateStream now that it only writes to stdout

* Rename RenovateStream to PrettyStdoutStream

* Simplify comment
2026-05-04 16:51:56 +00:00
renovate[bot] f94d4a9243 feat(deps): update ghcr.io/renovatebot/base-image docker tag to v13.43.0 (main) (#43085)
feat(deps): update ghcr.io/renovatebot/base-image docker tag to v13.43.0

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.42.1 | 13.43.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-04 13:31:47 +00:00
github-actions[bot] af0b3b894e feat(data): automatic update of static data (#43079)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-05-04 08:59:01 +00:00
Sebastián Maluk d3279621ca feat(presets/monorepos): add confect (#43025) 2026-05-04 08:51:00 +00:00
Jamie Tanna 8add2699f2 chore(instrumentation): instrument Merge Confidence API calls (#43045) 2026-05-04 08:50:09 +00:00
Felipe Santos e9e8083223 feat(config-validator): optimize imports to improve speed by 5x (#43048)
Optimize config-validator
2026-05-04 08:48:32 +00:00
Elliot Courant 8776389291 feat(vulnerability): Add vulnerability alerts to deps-edn + lein (#42945)
* feat(vulnerability): Add vulnerability alerts to deps-end + lein

deps-edn and lein both essentially use maven upstream for several
packages. Some packages come from clojars directly but others are
typical java packages. If there is an OSV alert for a maven package
however, it will not propagate to the deps-edn or lein dependency update
from renovate. This tries to adjust that so that clojure can derive
dependency alerts from maven as well so that those dependencies are
treated the same way.

* chore: Code review feedback

* chore: Make ecosystem to datasource one to many

Technically datasource to ecosystem was already many to one in a way, as
maven appeared in the values twice. Once for clojure and once for maven
itself. This changes it so that the ecosystem to datasource is the same
way and looking up by ecosystem you will get multiple datasources
(should match the map above the modified code).

Then to make this work, instead of keying off of datasource for
vulnerabilities we key off of ecosystem so that all of the datasources
that are part of that ecosystem inherit the vulnerabilities for the same
dependency.

* chore: Tweaking to try to force CI/CD retry
2026-05-04 08:08:17 +00:00
RahulGautamSingh 2fd65b594b refactor(config): use brace expansion for filenames (#43078) 2026-05-04 08:05:53 +00:00
Hajime-san 21aab5351c fix(manager/deno): force run install command at lockFileMaintenance mode (#43067)
* fix command

* clean up
2026-05-04 07:18:17 +00:00
Jonas Kuske 17a484aa21 fix(poetry): perform deepmerge to fully enrich projectDep with info from poetryDep (#43064)
* fix(poetry): perform deepmerge to fully enrich projectDep with info from poetryDep

previously, just additional `managerData` from the poetryDep was merged into the projectDep specification

* test(poetry): verify 'invalid-dependency-specification' if constraints specified twice
2026-05-04 07:16:20 +00:00
renovate[bot] a6f1c71036 docs: update references to python to 0ba0018 (main) (#43068)
docs: update references to python to 0ba0018

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-04 00:25:44 +00:00
Jamie Tanna 5c43bb7252 fix(secrets): interpolate secrets and variables with varying whitespace (#43042)
But intentionally do not handle non-space characters.
2026-05-02 07:06:27 +00:00
Jamie Tanna 02e7dbce6e docs: Open Source is not hyphenated (#43046)
https://opensource.org/blog/is-open-source-ever-hyphenated
2026-05-02 07:03:14 +00:00
Jamie Tanna 6fdb8ae454 fix(log): ensure that log output is always flushed (#43021)
In cases where the process ends very quickly after a log line is
written, it could lead to cases where that log line doesn't appear on
`stdout`.

We can make sure that we always explicitly call the callback.

This only affected the "pretty" output in the CLI, and only when log
lines were written fairly close to process end.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-05-01 08:39:39 +00:00
Felipe Santos 45ba03e616 fix(git): implement caching for branch update dates (#42948)
* feat(update-date-cache): implement caching for branch update dates

* Try fix coverage

* Fix some test style inconsistencies

* Fix coverage

* Fix test

* Fix test testing the same path
2026-05-01 08:39:20 +00:00
renovate[bot] ca23fd14de fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.42.1 (main) (#43029)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.42.1

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.42.0 | 13.42.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-30 22:27:45 +00:00
Jamie Tanna 1886fd23ba chore(datasource): downgrade log level to TRACE (#43010)
This gets very noisy quickly, otherwise.

And add a `.once` so there's some level of insight.
2026-04-30 19:49:52 +00:00
Hajime-san 79b185c65d fix(manager/deno): parse npm package name that includes . correctly (#43022)
* add regression test

* fix regex
2026-04-30 16:19:06 +00:00
renovate[bot] 46b07371af feat(deps): update ghcr.io/renovatebot/base-image docker tag to v13.42.0 (main) (#43016)
feat(deps): update ghcr.io/renovatebot/base-image docker tag to v13.42.0

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.41.3 | 13.42.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-30 14:32:36 +00:00
renovate[bot] 4f8845af11 fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.41.3 (main) (#43011)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.41.3

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.41.2 | 13.41.3 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-30 13:32:44 +00:00
Jamie Tanna 08659c88c0 fix(datasource/go): include constraintsFiltering in cache key (#43007)
In a similar change to c98b37280b, we also
need to take into account the caching of `constraintsFiltering` at the
top-level call.
2026-04-30 11:32:41 +00:00
Jamie Tanna c98b37280b fix(datasource/go): include constraintsFiltering in cache key (#43005)
When running Renovate in a shared environment, such as Mend-hosted
Renovate, if relying on the new functionality for `constraintsFiltering`
checks in the Go datasource, it's possible to get data without
the `constraints` embedded in them.

This is due to us using a cache key that doesn't take into account
whether we are `constraintsFiltering`, which controls whether we look up
the `go` directive for a given Go module.

We can fix this by introducing an additional entry into the cache key
for the `constraintsFiltering` value.

We can make sure that this doesn't modify existing
(non-`constraintsFiltering`) entries, and only add additional keys if
`constraintsFiltering` is set to something other than the default.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-04-30 09:16:33 +00:00
RahulGautamSingh 246a5ab9c6 feat(presets): add changelogUrl link for GitLab-based digest updates (#41700)
* feat(presets): add changelogUrl link for GitLab-based digest updates

* Update lib/config/presets/internal/helpers.preset.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/config/presets/internal/helpers.preset.ts

* prettier

---------

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-04-30 08:28:07 +00:00
Michael Kriese 2926df79e6 fix(datasource/terraform): trim v prefix from opentofu api versions (#43003) 2026-04-30 07:36:35 +00:00
renovate[bot] c29e7df2a3 fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.41.2 (main) (#42998)
fix(deps): update ghcr.io/renovatebot/base-image docker tag to v13.41.2

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | ghcr.io/renovatebot/base-image | 13.41.1 | 13.41.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-30 06:29:25 +00:00
Jamie Tanna f777a48ebf feat(managers): rename renovate-config-presets to renovate-config (#42937)
* feat(managers): rename `renovate-config-presets` to `renovate-config`

As part of future changes, we'll extend this support to cover other
functionality. Instead of having multiple managers for this
functionality, we'll use a single, shared, manager for all Renovate
config management.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* fixup! feat(managers): rename `renovate-config-presets` to `renovate-config`

---------

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-04-29 16:10:39 +00:00
Tobias Bieniek cd8446e70f feat(datasource): Implement rust-version data source (#39529)
* feat(rust-version): Implement `rust-version` data source

* refactor(rust-version): pass `URL` directly to `getText()`
2026-04-29 15:23:44 +00:00
Micah Nagel c994f36314 fix(datasource/docker): ensure dockerhub digest properly pulls arch specific digest (#42724)
* fix: ensure dockerhub digest properly pull arch specific

Signed-off-by: Micah Nagel <micah.nagel@defenseunicorns.com>

* fix: optimize by using cache for non-arch digest

Signed-off-by: Micah Nagel <micah.nagel@defenseunicorns.com>

* fix: optimize per arch as well

Signed-off-by: Micah Nagel <micah.nagel@defenseunicorns.com>

* fix: use partial in tests

* chore: test assertion updates

* chore: use existing const

---------

Signed-off-by: Micah Nagel <micah.nagel@defenseunicorns.com>
2026-04-29 14:54:23 +00:00