Commit Graph

2491 Commits

Author SHA1 Message Date
Sergei Zharinov 4b98fcd7b9 refactor(lint): Improve pnpm check (#42387)
* refactor(lint): Switch to Oxlint

* refactor(lint): Improve `pnpm check`

* async

* Fix lockfile

* Remove branch-based logic

* Fix parallelism
2026-04-08 07:00:45 +00:00
Michael Kriese afb7ff9e52 docs: fix typo (#42427)
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-04-07 14:58:27 +00:00
Sergei Zharinov a67a96eab5 refactor(lint): Switch to Oxlint (#42384)
* refactor(lint): Switch to Oxlint

* Update .oxlintrc.json

* Fix CI

---------

Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-04-07 14:42:23 +00:00
Michael Kriese f8ef935840 fix(git): skip merge commits for semantic commit detection (#42419)
* fix(git): skip merge commits for semantic commit detection

* docs: update docs
2026-04-07 13:35:24 +00:00
Jamie Tanna 674ac6639e docs(reading-list): add a link to config:recommended (#42417) 2026-04-07 10:33:56 +00:00
renovate[bot] daecb471f2 docs: update references to renovatebot/github-action to v46.1.7 (main) (#42386)
docs: update references to renovatebot/github-action to v46.1.7

| datasource  | package                   | from    | to      |
| ----------- | ------------------------- | ------- | ------- |
| github-tags | renovatebot/github-action | v46.1.6 | v46.1.7 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-06 00:27:41 +00:00
Michael Kriese 52a0e53537 feat: use custom conventional commits detector (#42328)
* feat: use custom conventional commits detector

* fix: update names and add test
2026-04-02 15:26:05 +00:00
Michael Kriese 4d2d86f902 fix(bazel-module,bazelisk): add allowedUnsafeExecutions for bazel mod deps (#42323)
* fix(bazel-module,bazelisk): add `allowedUnsafeExecutions` for `bazel mod deps`

* docs: update manager readmes
2026-04-02 08:01:53 +00:00
Jean-Marc Couffin 1cf23b9ea5 docs: fix typo in installing-onboarding (#42293)
Fix typo in installing-onboarding.md
2026-04-01 07:05:41 +00:00
Jamie Tanna 2d239d2cc1 docs: explicitly document depTypes each manager supports (#42142)
* docs: explicitly document `depTypes` each manager supports

A long-standing question we receive is "what `depTypes` can I match
against in my project".

Although the best recommendation we usually have is "check the
`packageFiles with updates" log line (as a very key log line for users),
we can go one step further and try and create a stronger contract.

To do this, I've used Claude Sonnet 4.6 to work through the codebase,
determine areas that a `depType` is set in a manager (statically or
dynamically) and generate a structured, typed, means to document how
they're used.

Through a few iterations of the process, and attempts at human-written
documentation, we've settled on:

- prioritising autogenerated documentation (for humans to read) to note
  what `depTypes` are known, and what they are
- `knownDepTypes`, to describe any known, static, `depType`s and their
  human-readable meaning
  - with the `prettyDepType`, if used
- `supportsDynamicDepTypesNote`, to add a Markdown note to the generated
  documentation

While here, we also:

- make sure to note this in the "adding a new package manager"
  documentation
- remove any hand-written references to `depTypes` in each manager's
  documentation page
- correct the Gleam `depTypes`
- make sure to use the `knownDepTypes`'s `prettyDepType` definition if
  we know it, for a given `depType`

The descriptions have been generated by Claude Sonnet, with some
human-written tweaks where appropriate.

[0]: https://github.com/renovatebot/renovate/discussions/15176

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

* fixup! docs: explicitly document `depTypes` each manager supports

* docs(manager): display `depTypes` documentation if none present

For consistency, and to make it more explicit.

---------

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-03-31 12:08:39 +00:00
Dave c252a0db03 docs(minimum-release-age): add Nuget to list of supported registries (#42279)
docs(usage): add nuget to list of supported registries for minimum release age
2026-03-31 11:55:13 +00:00
Jamie Tanna 107fcfd3f3 docs(mend-hosted): how to perform config validation (#40441)
It's a somewhat commonly asked question, and has been something I've
been meaning to officially document since mid-November.
2026-03-30 16:50:24 +00:00
Felipe Santos 1b58cd65f0 feat(report): add reportFormatting option to format JSON reports with Prettier (#42162)
* feat(report): add `reportFormatting` option to format JSON reports with Prettier

* Avoid mocking prettier in test

* Disable CLI flag
2026-03-30 16:07:36 +00:00
Stuart Whelan 9a76a15b76 docs(config): clarify commitMessagePrefix affects Dependency Dashboard (#42236)
* docs(config): clarify commitMessagePrefix affects Dependency Dashboard

* Update docs/usage/configuration-options.md

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

* Apply suggestion from @jamietanna

Correcting a typo I'd accidentally introduced.

---------

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>
2026-03-30 08:57:34 +00:00
renovate[bot] 30d346bb0e docs: update references to renovate/renovate (main) (#42228)
docs: update references to renovate/renovate

| datasource | package           | from    | to      |
| ---------- | ----------------- | ------- | ------- |
| docker     | renovate/renovate | 43.76.2 | 43.99.1 |
| docker     | renovate/renovate | 43.76   | 43.99   |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-30 00:26:14 +00:00
Florian Arens f340b1a9e9 feat(datasource): add elm-package datasource (#41000)
* feat(datasource): add elm-package datasource

* refactor(elm): inline test fixtures

* fix(elm): correct import ordering in test file

* fix(elm): use zod/v3 import to match codebase conventions

* refactor(elm): rename types.ts to schema.ts

Follow project convention of using schema.ts for zod schema files.

* test(elm): add test for invalid JSON response

Use v8 ignore if directive and add test covering the null result
path when the API returns invalid JSON.

* refactor(elm): remove unreachable null check

* test(elm): add test for default registry URL fallback

* refactor(elm): guard against missing registryUrl instead of fallback

* fix(elm): handle ZodError gracefully instead of throwing

* feat(elm): add package cache for elm-package datasource
2026-03-28 13:23:00 +00:00
Jamie Tanna a74da77801 fix(manager/npm): revert passing --before to npm install when minimumReleaseAge is set (#42198)
Revert "feat(manager/npm): pass --before to npm install when minimumReleaseAg…"

This reverts commit c4d5697775.
2026-03-27 12:36:03 +00:00
Dinar Valeev 00fefaf800 feat(fleet): support registryAliases (#42045)
* feat(fleet): support registryAliases

Support registry aliases for pull through internal regitry case

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

* Fix lint

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

* Address review comments

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

* Switch to inline codeBlock

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

* inline registryConfig in tests

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

---------

Signed-off-by: Dinar Valeev <k0da@opensuse.org>
2026-03-27 11:27:54 +00:00
Johannes Feichtner c4d5697775 feat(manager/npm): pass --before to npm install when minimumReleaseAge is set (#42051)
* feat(manager/npm): pass --before to npm install when minimumReleaseAge is set

* use logger metadata

* Apply suggestion from @viceice

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

---------

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-03-27 09:46:02 +00:00
saudademjj f2546b84a3 ci: add module label sync tooling (#42012)
* ci: add module label sync tooling

* ci: align module label sync cli

* ci: fix module label sync checks

* refactor: simplify module label sync cli

* fix: relax module label sync cli options type

* Address a couple of nitpicks

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

* fixup! Address a couple of nitpicks

---------

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-03-25 10:14:40 +00:00
renovate[bot] 9f71a22855 docs: update references to renovatebot/github-action to v46.1.6 (main) (#42063)
docs: update references to renovatebot/github-action to v46.1.6

| datasource  | package                   | from    | to      |
| ----------- | ------------------------- | ------- | ------- |
| github-tags | renovatebot/github-action | v46.1.5 | v46.1.6 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-23 03:28:08 +00:00
renovate[bot] 1f27980551 docs: update references to otel/opentelemetry-collector-contrib to v0.148.0 (main) (#42059)
docs: update references to otel/opentelemetry-collector-contrib to v0.148.0

| datasource | package                              | from    | to      |
| ---------- | ------------------------------------ | ------- | ------- |
| docker     | otel/opentelemetry-collector-contrib | 0.147.0 | 0.148.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-23 00:26:42 +00:00
Jamie Tanna 7e45817f67 docs: add SPDX license ID to home page (#41840) 2026-03-22 13:12:31 +00:00
Zack Kanter 264f813cab feat(instrumentation): instrument cache lifecycle with OTEL (#41922)
* fix(cache): instrument repository cache load and save

Wrap repository cache `load()` and `save()` calls with the existing
`instrument()` helper to create OpenTelemetry spans for cache lifecycle
operations. This gives operators visibility into repository cache
performance, especially useful with S3 backends.

Refs #41760

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(cache): instrument package cache init and destroy

Wrap package cache `init()` and `destroy()` with `instrument()` to
create OpenTelemetry spans, matching the repository cache instrumentation
from the previous commit. Covers redis, sqlite, and file backends.

Refs #41760

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* docs: document cache lifecycle tracing in OpenTelemetry guide

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Move destroy() outside init instrument span

Avoids nesting the package-cache.destroy span inside
package-cache.init, making them sibling spans instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Use 'verb NounClass' span naming convention

Rename instrument span names from dot-notation (e.g.
'package-cache.init') to 'verb NounClass' pattern (e.g.
'init PackageCache') per reviewer feedback.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 05:54:43 +00:00
Alexander Gil Casas b7294ce5a2 feat(versioning/debian): port Ubuntu date versioning support (#40499)
* feat: port Ubuntu versioning support to Debian container images

Resolves #27862.

Signed-off-by: Alexander Gil <pando855@gmail.com>

* refactor: Remove dead code in debian versioning

Signed-off-by: Alexander Gil <pando855@gmail.com>

* refactor: Rename groups to match

* perf: optimize isStable method by reusing getVersionByCodename result

* fix(debian): specify radix in parseInt for dated container image version

---------

Signed-off-by: Alexander Gil <pando855@gmail.com>
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-03-19 16:05:04 +00:00
Sebastian Poxhofer 7be38227f0 feat(package-rules): add matchRegistryUrls option (#41966)
* feat(package-rules): add matchRegistryUrls option

* chore: add patternMatch option

* Update docs/usage/configuration-options.md

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

---------

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2026-03-19 11:42:27 +00:00
Johannes Feichtner 075dc48cf5 feat(bitbucket-server): reattempt platform automerge after PR updates (#41936)
* feat(bitbucket-server): reattempt platform automerge after PR updates

* extend docs too

* sort order
2026-03-19 11:38:05 +00:00
Timo Hankamer f593ffca20 feat(package-rules): support template compilation for sourceUrl (#41932)
Add template compilation support for sourceUrl in package rules,
allowing users to dynamically construct source URLs using template
syntax. This enables use cases like OpenTofu providers where the
source URL needs to be constructed from the package name.
2026-03-19 10:16:52 +00:00
Ville Skyttä 4ac878989e docs(vulnerabilityAlerts): update GitHub config navigation info (#39943) 2026-03-19 10:12:49 +00:00
Zack Kanter 023b01848f docs: misspelling in latter (#41998)
fix: misspelling in `latter`
2026-03-18 20:41:44 +00:00
renovate[bot] cedef627dd docs: update references to renovatebot/github-action to v46.1.5 (main) (#41943)
docs: update references to renovatebot/github-action to v46.1.5

| datasource  | package                   | from    | to      |
| ----------- | ------------------------- | ------- | ------- |
| github-tags | renovatebot/github-action | v46.1.4 | v46.1.5 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 03:36:29 +00:00
renovate[bot] d964be3abb docs: update references to renovate/renovate (main) (#41938)
docs: update references to renovate/renovate

| datasource | package           | from    | to      |
| ---------- | ----------------- | ------- | ------- |
| docker     | renovate/renovate | 43.59.4 | 43.76.2 |
| docker     | renovate/renovate | 43.59   | 43.76   |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 00:45:50 +00:00
Jamie Tanna dc1cf8ae93 docs(mend-hosted): add a flowchart for Renovate Status -> jobs (#41890)
Co-authored-by: gpt-4.1 (GitHub Copilot)
2026-03-13 11:49:55 +00:00
Tim Tran 2f71422620 feat(bazel-module,bazelisk): add lock files updating (#41507)
* feat(exec): register bazelisk as containerbase tool

* test(bazel-module): add failing tests for updateArtifacts

* feat(bazel-module): implement updateArtifacts for lockfile support

* feat(bazel-module): export updateArtifacts from manager index

* fix(bazel-module): address code review feedback

- Use logger.warn instead of debug for artifact errors
- Add utf8 encoding to readLocalFile calls
- Use getSiblingFileName for lockfile path derivation
- Add empty updatedDeps guard
- Strengthen test assertions

* docs(bazel-module): document lockfile support

* Update lib/modules/manager/bazel-module/index.ts

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

* Apply suggestions from code review

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

* fix(bazel-module): address review feedback

- Remove unnecessary afterEach in tests
- Use partial<StatusResult> for all StatusResult mocks
- Add lockfile maintenance support
- Export supportsLockFileMaintenance flag

* fix(bazel-module): handle untracked lock files and clarify docs

Check status.not_added alongside status.modified for lock file changes,
matching the pattern used by other managers (composer, gomod, etc.).
Clarify that Bazelisk (not Renovate) reads .bazelversion. Add test for
lockfile maintenance with no changes.

* feat(bazelisk): implement updateArtifacts for MODULE.bazel.lock

When the Bazel version in .bazelversion changes, run `bazel mod deps` to
regenerate MODULE.bazel.lock and return the updated lockfile as an artifact.

* feat(bazelisk): add lockfile maintenance support

* docs(bazelisk): add lockfile support section linking to bazel-module docs

* refactor(bazel-module): extract shared lockfile update helper

* refactor(bazel-module): delegate lockfile update to shared helper

Replace inline lockfile update logic in artifacts.ts with a call to the
shared updateBazelLockfile() helper, and update tests to mock the helper.

* refactor(bazelisk): delegate lockfile update to shared helper

Replace inline lockfile update logic in bazelisk/artifacts.ts with a
call to the shared updateBazelLockfile() helper from bazel-module/lockfile.ts.

* fix(bazelisk): use index.md for cross-manager docs link

The docs pipeline renames readme.md to index.md, so cross-manager
links must reference index.md to pass the docs link checker.

* feat(bazel-module,bazelisk): support bazelisk version constraint

Pass config.constraints.bazelisk through to toolConstraints so users
can pin the bazelisk version if the newest release is broken.

* fix(bazel-module): rename lockFile to fileName in ArtifactError

Upstream renamed lockFile to fileName in ArtifactError type (#41631).

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2026-03-12 16:40:24 +00:00
Jamie Tanna e0ce9dabd6 docs: prefix child options with their parent (#41828)
This also makes sure that our URL fragments should be more consistent
over the years, as duplicate names (across parent and child options)
cannot clash.

This also corrects links from the code to include the new fragment.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-03-12 10:56:52 +00:00
Jamie Tanna 05148981f5 docs(config): move customizeDashboard (#41827)
As it was in the middle of the `customManagers` documentation.

As it's now in the correct place, we need to re-sort the headers so the
`customDatasources` options are in the right place.
2026-03-12 08:18:29 +00:00
Sebastian Poxhofer ee2b77542c feat(package-rules): add detectPlatform helper function (#41798)
feat(package-rules): add detectPlatform function
2026-03-11 10:38:51 +00:00
Jamie Tanna 2af9308ea0 docs(mend-hosted): add information about IPs the Developer Platform uses (#39760)
As per https://github.com/renovatebot/renovate/discussions/39746
2026-03-09 17:27:06 +00:00
Jamie Tanna ed6f713c36 refactor(tools): use a distinct replacement start/end the lockFileMaintenance table (#41251)
As it makes it clearer what's being done.
2026-03-09 14:37:19 +00:00
Jamie Tanna 2026b4fdff docs: auto-generate config filenames (#41254)
As noted in #40608, we're currently showing an outdated list of possible
configuration filenames.

We can instead automate this by using the known configuration files we
know.

As we don't yet support the Platform-specific filenames, we shouldn't
include them, but add a TODO so we don't miss it.
2026-03-09 13:13:12 +00:00
renovate[bot] 168825c108 docs: update references to renovate/renovate (main) (#41747)
docs: update references to renovate/renovate

| datasource | package           | from    | to      |
| ---------- | ----------------- | ------- | ------- |
| docker     | renovate/renovate | 43.31.1 | 43.59.4 |
| docker     | renovate/renovate | 43.31   | 43.59   |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 03:45:48 +00:00
renovate[bot] 63b1af27a6 docs: update references to renovatebot/github-action to v46.1.4 (main) (#41748)
docs: update references to renovatebot/github-action to v46.1.4

| datasource  | package                   | from    | to      |
| ----------- | ------------------------- | ------- | ------- |
| github-tags | renovatebot/github-action | v46.0.2 | v46.1.4 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 03:45:37 +00:00
renovate[bot] 861f73e8a6 docs: update references to otel/opentelemetry-collector-contrib to v0.147.0 (main) (#41744)
docs: update references to otel/opentelemetry-collector-contrib to v0.147.0

| datasource | package                              | from    | to      |
| ---------- | ------------------------------------ | ------- | ------- |
| docker     | otel/opentelemetry-collector-contrib | 0.146.1 | 0.147.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 00:37:32 +00:00
renovate[bot] a0a793c027 docs: update references to jaegertracing/jaeger to v2.16.0 (main) (#41743)
docs: update references to jaegertracing/jaeger to v2.16.0

| datasource | package              | from   | to     |
| ---------- | -------------------- | ------ | ------ |
| docker     | jaegertracing/jaeger | 2.15.1 | 2.16.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 00:37:03 +00:00
Jamie Tanna bc82cff059 feat(managers/npm): allow specifying toolSettings.nodeMaxMemory (#40957)
* feat(managers/npm): allow specifying `toolSettings.nodeMaxMemory`

As noted in #40942, we're seeing an increase in memory usage across
`pnpm` and `yarn` users in Mend-hosted apps.

To allow limiting the maximum memory that any `node` child processes
will use, we can add a new `toolSettings.nodeMaxMemory` to (hopefully)
mitigate this.

Similar to the `toolSettings.jvmMaxMemory`, the self-hosted
administrator can set a maximum, which cannot be exceeded by repo-level
configuration.

* fixup! feat(managers/npm): allow specifying `toolSettings.nodeMaxMemory`
2026-03-05 12:56:02 +00:00
Jamie Tanna ea8ba93b71 docs(minimumReleaseAge): clarify package manager support (#41656)
As we've had a few Discussions about it (bugs and feature requests), and
it'd be good to clarify how they work together, as well as future work
planned to integrate better.
2026-03-04 14:54:30 +00:00
Jamie Tanna 37a456551e docs(allowShellExecutorForPostUpgradeCommands): clarify when you'd use it (#41650) 2026-03-04 12:10:45 +00:00
Jamie Tanna bcc668dc09 docs(minimumReleaseAge): make updateType more explicit (#41651)
Using the known `updateType`s at the given time, we can make sure we
clarify what level of support is available.
2026-03-04 11:58:23 +00:00
Baptiste Lyet 52b449dfe7 docs: split parents over multiple lines (#41573)
* docs/41127-parents-may-want-to-split-over-multiples-lines

* refactor(docs): sort parents alphabetically in table and add unit tests

* refactor(docs): table - use expect instead of assert

* refacto(docs) : remove unnecessary vitest import

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

* refactor(docs): table - rename index so there are rowIndex and colIndex

* refactor(docs): rename config.test.ts to utils.test.ts

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2026-03-03 16:51:58 +00:00
Jamie Tanna e83acfb2ef feat(postUpgradeTasks): allow specifying installTools (#41594)
* feat(postUpgradeTasks): allow specifying `installTools`

As noted in #8111 and #41569, it is possible that when using
`binarySource=install`, you can execute a `postUpgradeTasks`' given
command without Renovate having the right tools installed, dependent on
the Manager used for the update.

To make it possible for users to indicate that they explicitly need
given tools (at a given `constraint`), we can introduce a new
`installTools` option which will allow specifying which tools +
constraints to use when invoking the `postUpgradeTasks`'s command.

Right now, we're not defining what the `installTools'` interior type is,
but leaving it open to extension.

Co-authored-by: gpt-4.1 <jamie.tanna+github-copilot@mend.io>

* docs: add examples for `toolVersions`

---------

Co-authored-by: gpt-4.1 <jamie.tanna+github-copilot@mend.io>
2026-03-02 15:47:28 +00:00