Commit Graph

3913 Commits

Author SHA1 Message Date
Jamie Tanna 0c6ac635d3 feat(vendir): support extracting HTTP sources (#41443)
* feat(vendir): support extracting HTTP sources

As noted in #41435, Vendir's support for HTTP sources would be useful
for Renovate to keep updated.

Instead of managing the updating of files ourselves, we can use Vendir's
existing `lockFileMaintenance` task to do so, where `vendir sync` will
re-fetch the remote file(s) and sync them to the repo.

For this to be supported, we can extract the HTTP sources with
`unsupported-datasource`, so Renovate knows that the dependency is
there, but can't be managed by us.

This makes it possible to extract HTTP dependencies, and then have
Renovate update them through `lockFileMaintenance`.

* fixup! feat(vendir): support extracting HTTP sources
2026-02-24 11:45:04 +00:00
Jamie Tanna fdd1612aa0 refactor(vendir): remove nullable return from extraction methods (#41446)
As we're always returning a dependency, we can remove the nullable
return type.

This also allows us to increase test coverage, because we now don't have
code paths that aren't tested.
2026-02-24 10:28:12 +00:00
Jamie Tanna d992c98857 test(gomod): remove duplicated test (#41358)
We've already got a test that covers the usage of a `replace` with a
`major` update.
2026-02-20 21:19:11 +00:00
Will Gordon 11f39d5106 fix(datasource/python-version): gracefully handle python.org 429 rate limiting (#41180)
fix(datasource/python-version): gracefully handles python.org 429 rate limiting

When python.org returns HTTP 429, falls back to containerbase prebuild
releases instead of aborting the entire repository with ExternalHostError.
2026-02-20 16:54:35 +00:00
Adam Setch 579ff4c2ba feat: hyperlink warnings to dep dashboard (#40395)
* feat: hyperlink warnings to dep dashboard

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: hyperlink warnings to dep dashboard

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: hyperlink warnings to dep dashboard

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: hyperlink warnings to dep dashboard

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* add tests

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* update tests

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* Merge branch 'main' into feat/hyperlink-dashboard

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* updated forgejo smartLinks

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-02-20 15:19:35 +00:00
Jellyfrog e9da17a22f feat(nuget): Also read registry URLs from deps (#39134) 2026-02-20 14:27:24 +00:00
Philipp Grathwohl 5505b52d75 feat(manager/nuget): Support single file package directives (#40040)
* Add nuget capability to read packages from cs files

This is useful for dotnet source files that make use
of the .NET 10 feature to have single file projects,
where packages and sdks can be defined in a source
file.

* Add tests to validate that the nuget.config file is respected for single csharp files

* Apply PR linter suggestion for prettier code

* Remove unnecessary try-catch to increase code coverage

* Update phrasing in documentation

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* Use codeblock instead of fixture

* Remove unused import

* Remove unnecessary fixtures and only verify required methods are called

* Fix imports in single-chsarp-file.ts

* Fix import ordering

* Increase code block indent

---------

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-19 18:06:30 +00:00
Felipe Santos 7ebba26236 feat: add commitHourlyLimit (#36226)
* feat: add `commitHourlyLimit`

Signed-off-by: Felipe Santos <felipe.santos@ericsson.com>

* Update docs/usage/configuration-options.md

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* Remove date optionality

* Fix lint comment

* Fix coverage

* Restore contents of commit.spec.ts

* Use ! somewhere else too

* Change optional parameter to nullish

* Refactor `!` to use proper check

* Fix set-branch-commit.spec.ts lint

* Fix test coverage

* Apply suggestions from code review

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* Split commit-limit-reached into two

* Fix review comments

* Use toUTC() where applicable

* Simplify another test to utc()

---------

Signed-off-by: Felipe Santos <felipe.santos@ericsson.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-19 18:00:32 +00:00
renovate[bot] e752a3db29 build(deps): update dependency got to v14 (main) (#41302)
* build(deps): update dependency got to v14

| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | got     | 12.6.1 | 14.6.6 |

* test: fix tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-19 17:50:48 +00:00
Michael Kriese 912c623d60 test: full coverage for platforms (#41318)
chore: full coverage for platforms
2026-02-19 11:05:15 +00:00
Michael Kriese f05c3eed57 fix(datasource/docker): don't pass hostrule to http options (#41317) 2026-02-19 09:52:28 +00:00
Jamie Tanna a300036a1c refactor(platform): programatically mark Platforms as experimental (#41220)
* refactor(platform): programatically mark Platforms as experimental

As part of future changes, we'll want to be able to more
straightforwardly determine whether a given Platform is experimental.

To do this, we can add a new optional `experimental` flag to the
`Platform`.

As part of having this available, we can refactor how our docs for
Platforms are built, and replace a hand-authored experimental notice, we
can automagically insert it into the built docs.

To make sure that we don't break the rendering of the Markdown for
Mkdocs, we need to insert the experimental notice after the page
heading.

As we're now using the Platform itself, not only the ID, we need to
refactor how `tools/docs/platforms.ts` renders the pages.

* docs(platforms): clarify which Platforms are experimental (#41249)

* chore: format code block

---------

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-18 09:07:25 +00:00
renovate[bot] 645a28c77c build(deps): update dependency prettier to v3.8.1 (main) (#39779)
* build(deps): update dependency prettier to v3.8.1

| datasource | package  | from  | to    |
| ---------- | -------- | ----- | ----- |
| npm        | prettier | 3.6.2 | 3.8.1 |

* fixup prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2026-02-18 08:41:34 +00:00
renovate[bot] 4a2578d18d build(deps): update dependency zod to v4 (main) (#41225)
* build(deps): update dependency zod to v4

| datasource | package | from    | to    |
| ---------- | ------- | ------- | ----- |
| npm        | zod     | 3.25.76 | 4.3.6 |

* fix: zod migration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-18 07:37:50 +00:00
Sergei Zharinov 628f9a2835 fix(mutex): support per-call-site acquire timeouts (#41259)
fix(mutex): Support per-call-site acquire timeouts

Closes #41210
2026-02-17 20:27:11 +00:00
Jamie Tanna 29af878ed6 feat(managers/bun): support Host Rules generation from an .npmrc (#41217)
As noted in #41215 and #40830, when using the Bun manager in a
repository that has a `.npmrc`, the `.npmrc` is not used.

This is at odds with `bun`'s tooling itself reading from this file, so
we should make it possible to parse + make the `npmrc` available for
usage.

We can add this with our new `resolveNpmrc` function.

We do not need to add in-depth test coverage as this should be handled
by `resolveNpmrc`.

Co-authored-by: Claude Sonnet 4.5 <jamie.tanna+github-copilot@mend.io>
2026-02-17 13:19:15 +00:00
Jamie Tanna d9f8972156 refactor(manager/npm): extract function for resolving .npmrc (#41245)
* refactor(manager/npm): extract function for resolving `.npmrc`

As part of future changes in #41215 and/or #41216, we will resolve the
`.npmrc`, if it can be found, in multiple places.

Before we do this, we can prefactor this logic to extract this out into
its own function that can be used independently.

Co-authored-by: Claude Sonnet 4.5 <jamie.tanna+github-copilot@mend.io>

* test(manager/npm): add missing test coverage

This is coverage that we've never had on this function, and was reported
by CodeCov.

---------

Co-authored-by: Claude Sonnet 4.5 <jamie.tanna+github-copilot@mend.io>
2026-02-17 12:49:49 +00:00
Robin Helgelin 2b4c0a2f4a feat(manager/pre-commit): add support digest updating (#36693)
* Successfully extract digest and versions

* Fix linting issues

* - Fix tests
- Added replaceString

* Don't add digest on failures

* Fix return thingie

* Wrap expression in regEx()

* - forEach -> for-of
- Add test file in codeBlock instead

* Fix eslint errors

* Fix

* Lint fixes

* Fixed any typing and isstring comparisson

* Replace yaml comment extraction with regexp step

* Apply suggestion from @viceice

* Apply suggestion from @viceice

---------

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2026-02-17 10:49:45 +00:00
Florian Arens c997287e68 feat(versioning): add elm versioning support (#40999)
* feat(versioning): add elm versioning support

* fix(versioning/elm): remove unnecessary defensive check in nextMajor

* fix(versioning/elm): use named capture groups in range regex

* fix(versioning/elm): use semver gte instead of gt || eq

* Update lib/modules/versioning/elm/index.ts

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2026-02-17 10:40:36 +00:00
renovate[bot] 3b9d2472c2 docs: update references to python to 151ab35 (main) (#41193)
docs: update references to python to 151ab35

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 00:26:06 +00:00
RahulGautamSingh 26f4fee6cc refactor: move bbUseDevelopmentBranch to InheritConfig.OPTIONS (#40890)
* move bbUseDevelopmentBranch to InheritConfig.OPTIONS

* fix import extension

* fix import order
2026-02-15 08:15:12 +00:00
RahulGautamSingh 91015a7a30 chore: enforce lockFileNames when supportsLockFileMaintenance=true (#41175)
* enforce lockfilenames

* test if ci fails

* revert
2026-02-14 10:23:26 +00:00
Gregory Oschwald 4b56523d14 feat(mise): add support for github backend (#40706)
* feat(mise): add support for github backend

* test(mise): remove redundant github backend test

* refactor(mise): flatten nested conditionals in github backend

* refactor(mise): only set extractVersion for custom version_prefix

* refactor(mise): use escapeRegExp and simplify extractVersion spread
2026-02-13 21:58:21 +00:00
RahulGautamSingh d024075d00 refactor: add lock file names to manager api (#41133)
* feat(nuget): add supportsLockFileMaintenance flag

The NuGet manager supports lock file maintenance via `packages.lock.json`
but was missing the `supportsLockFileMaintenance` export.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(manager): add lockFileNames metadata to all lock file managers

Add `lockFileNames` field to `ManagerApi` interface and export it from
all 24 managers that support lock file maintenance. This metadata will
be used to auto-generate the lock file support table in docs.

Also adds a validation test ensuring managers with
`supportsLockFileMaintenance` always provide `lockFileNames`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 22:56:16 +00:00
RahulGautamSingh 5c38220087 docs(nuget): add supportsLockFileMaintenance flag (#41134)
feat(nuget): add supportsLockFileMaintenance flag

The NuGet manager supports lock file maintenance via `packages.lock.json`
but was missing the `supportsLockFileMaintenance` export.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 21:15:41 +00:00
Jamie Tanna bad0211f30 chore(github): warn when using default Git author on GitHub.com (#41055)
As part of #39309 we enabled "Vigilant Mode" for the `@renovate-bot`
author.

To give an indication to folks who are self-hosting (on GitHub.com) and
using this Git commit author, we can provide a log message to let them
know.

This does not at all stop usage of this default committer email address,
but does provide a "nudge" to folks that they may see `Unverified`
commits pop up.
2026-02-12 11:42:08 +00:00
Michael Bruns dc4d997aa2 docs: clarify pypi simple registry release timestamp behaviour (#40916) 2026-02-11 21:31:20 +00:00
renovate[bot] 498f8f30d1 build(deps): update dependency semver to v7.7.3 (main) (#38624)
* build(deps): update dependency semver to v7.7.3

| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | semver  | 7.7.2 | 7.7.3 |

* fix(versioning/composer): strip unsupported `+` prefix (#41082)

strip unsupported + prefix

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2026-02-11 09:44:28 +00:00
Felipe Santos f5f32bdcb4 fix(pep440): handle v-prefixed versions gracefully (#40989)
* fix(pep440): handle v-prefixed versions gracefully

* Retain v-prefix

* Fix test coverage and use named group
2026-02-10 22:45:12 +00:00
wyfrel 0f50d67439 fix(versioning/redhat): allow optional .GA inside version (#41059) 2026-02-10 13:24:11 +00:00
Michael Juliano fe18306232 fix(vendir): remove registryUrls from git-refs dependencies (#40938)
* fix(vendir): remove registryUrls from git-refs dependencies

The git-refs datasource does not support custom registries
(customRegistrySupport = false). Setting registryUrls on git
dependencies causes a spurious warning in the Renovate dashboard:
'Custom registries are not allowed for this datasource.'

This removes the registryUrls property from extractGitSource since
the git URL is already captured in depName and packageName.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(vendir): remove redundant packageName from git-refs dependencies

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-09 18:16:42 +00:00
renovate[bot] 10b2d3ae6a docs: update references to python to 4b827ab (main) (#41007)
docs: update references to python to 4b827ab

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-09 00:27:09 +00:00
Johannes Feichtner d976f56e78 fix(bitbucket-server): when adding reviewers use name instead of slug (#41002) 2026-02-08 14:30:58 +00:00
Sergei Zharinov b02897fab1 refactor(lint): Fix lint violations (#40965)
* refactor(lint): Fix lint violations

* Update lib/modules/versioning/versioning-metadata.spec.ts

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

---------

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-06 15:34:33 +00:00
Sergei Zharinov 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +00:00
Lars K.W. Gohlke 4a527aeae8 docs(terraform): clarify release timestamp and limitation (#40923)
clarify release timestamp and limitation in documentation for terraform provider
2026-02-04 14:34:12 +00:00
Robert Stupp c08656f4b7 feat(gradle): allow specifying Gradle daemon heap size (#40090)
This change introduces a heap size limitation for the Gradle daemon used
when updating the Gradle wrapper, defaults to 512m.

The heap size is limited to the globally configured limit, which
defaults to 512m. It can be configured on the repository level, but not
exceed the globally configured limit. A hard coded mimiumum heap size of
512m is enforced.

The configuration option is named `toolSettings`, which has two
properties for the maximum and initial heap size. See
`docs/usage/configuration-options#toolSettings` for more details.
2026-02-04 13:25:58 +00:00
Philippe GRANET 0f54593f44 fix(gitlab): skip automerge retry when merge_when_pipeline_succeeds already set (#39979)
Avoid unnecessary retry loops when merge_when_pipeline_succeeds is already
enabled on a merge request. This prevents wasting ~15 seconds per MR when
reattempting platform automerge on MRs with failed pipelines.

Co-authored-by: Ona <no-reply@ona.com>
2026-02-03 17:53:49 +00:00
Sergei Zharinov c246f814d5 feat: Add github-digest datasource (#40226)
* feat(datasource/github-digest): Add datasource for non-semver refs

* fix: Use `Promise.allSettled` to avoid dangling promises
2026-02-02 10:58:43 +00:00
Johannes Feichtner 2254178a7b feat(bitbucket-server): add support for platformAutomerge (#39885)
* feat(bitbucket-server): add support for platformAutomerge

* review comments
2026-02-02 10:07:18 +00:00
Edgar Ramírez Mondragón 2062788d82 feat(pip-compile): Support the --group uv pip compile option (#40665) 2026-02-02 09:53:13 +00:00
Róbert Papp 24ae07037c docs(mise): Fix invalid configuration example (#40792) 2026-01-29 16:20:20 +00:00
Sergei Zharinov 2b0e80b884 feat!: Switch to ESM modules (#40756) 2026-01-29 14:21:41 +00:00
Jamie Tanna b6ef3e1290 fix(self-hosted)!: don't allow any unsafe commands by default (#40684)
As a safety measure for self-hosted administrators, we can make sure
that we set `allowedUnsafeExecutions` to not allow any commands by
default.

This closes off a significant risk of executing Gradle Wrapper
commands, which use the repository's copy of the wrapper, and any
Gradle buildscript, when executing, which can lead to significant remote
code execution, even before you take into account malicious dependencies.

As this is now off-by-default, we can enable it by default in our tests
to make sure that there are minimal changes required.
2026-01-29 13:28:06 +00:00
Jordan B 8dc1133ebe fix(mise)!: rename packageName from nodejs to node (#40466)
This aligns with other package managers.
2026-01-29 11:47:11 +00:00
Jamie Tanna 0c4912456e fix(pnpm): don't update workspace when no pnpm-lock.yaml found (#40780)
As noted in #40774, if a `pnpm-lock.yaml` isn't found, the
`pnpmShrinkwrap` is undefined, which then results in `upath.dirname`
throwing an error.

We can make sure that we have a value, and exit out early if not.

This is a short-term fix, and we should follow-up to make it so we can
find the `pnpm-workspace.yaml` if there's not a lockfile.
2026-01-29 11:21:08 +00:00
Michael Kriese cd0426babd feat(sidecar): use renovatebot/base-image instead of containerbase/sidecar (#40772)
* feat(sidecar): use `renovatebot/base-image` instead of `containerbase/sidecar`

* refactor: simplify sidecar handling

* test: fixup

* docs: fixup
2026-01-29 10:05:24 +00:00
Felipe Santos 5db0218ec1 fix(gerrit): not cloning submodules (#40089) 2026-01-28 22:25:16 +00:00
Michael Kriese e36d080d22 chore: add proper imports from azure-devops-node-api (#40762) 2026-01-28 17:01:15 +00:00
Michael Kriese eaed53a2bf chore: fix type import (#40760)
chore: fix tyspe import
2026-01-28 16:55:32 +00:00