Commit Graph

2281 Commits

Author SHA1 Message Date
Sergei Zharinov c07814ca4d refactor: Remove decorators for ESM compatibility (#40736)
* refactor: Migrate to decorator alternatives

* refactor: Remove decorators

* Fixes

* build: Remove decorator support from build pipeline

* fix: Remove extra brace in cdnjs getDigest cache key
2026-01-28 13:22:53 +00:00
Jamie Tanna 783002c7de docs: correct references to binarySource=install for Mend-hosted (#40740) 2026-01-28 11:38:18 +00:00
Sergei Zharinov c5b0a74f82 refactor: Remove constructor parameter properties (#40712) 2026-01-27 11:16:26 +00:00
Jamie Tanna 3e70904fdd fix(gradle-wrapper): don't execute when allowedUnsafeExecutions (#40719)
As part of changes in f50470985c, we
missed the implementation for the Gradle Wrapper.
2026-01-27 09:48:16 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Ron Waldon-Howe a7ddfcc893 chore: extract KubernetesResource schema for future broader usage (#40264)
♻️ chore: extract KubernetesResource schema for future broader usage
2026-01-26 19:16:28 +00:00
RahulGautamSingh 18bd32166b chore: replace URL.resolve (#40702)
replace URL.resolve
2026-01-26 18:59:54 +00:00
Antony David cd044ee0ca fix(manager/bun): run bun from lock file directory (#40274)
fix(39586): run bun from lock file directory

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-01-26 15:04:58 +00:00
Sergei Zharinov ae49b7af38 chore(deps): switch to @renovatebot/good-enough-parser (#40623)
* chore(deps): switch to @jrnv/good-enough-parser

* chore(deps): switch to @renovatebot/good-enough-parser

* chore(deps): update @renovatebot/good-enough-parser to 1.2.0
2026-01-26 12:44:11 +00:00
Johannes Feichtner 74401317ec refactor(manager/gradle): rewrite reorderFiles() for performance (#40318) 2026-01-23 18:44:14 +00:00
Sharon Yogev ace27f8675 fix(manager/mise): expand file patterns to match mise's config search (#40094)
* fix(manager/mise): expand file patterns to match mise's config search

Updates mise manager file patterns to align with the official mise configuration file search patterns. The patterns now include:
- Additional config locations (.config/mise/, .config/mise.toml)
- Legacy rtx.toml files
- Environment-specific configs (e.g., mise.production.toml)
- Local configs (e.g., mise.local.toml)

This ensures Renovate detects all mise configuration files that mise itself recognizes.

* CR

* Use brace expansions in the patterns

* Fix stupid typo
2026-01-23 13:14:10 +00:00
Sergei Zharinov 5e56e2a636 refactor(github-actions): Simplify line parsing (#40096)
* base: pile foundation

* docs(github-actions): add comments to parsing functions
2026-01-23 12:58:33 +00:00
Christoffer 2b6dbf4871 feat(flux): map Helm sourceRef names via registryAliases (#40158)
* feat(flux): map Helm sourceRef names via registryAliases

* fix: update docs with packageRules for registryAliases showcase

* fix: add tests to fill coverage

* fix: test for isOCIRegistry
2026-01-23 11:52:02 +00:00
Jamie Tanna 30eece1f61 fix(pnpm): de-duplicate version numbers in minimumReleaseAgeExclude (#40613)
As noted in #40611, we shouldn't reference the same version multiple
times in the same exclude directive.

This also handles the case where we could end up with multiple comments
for a given package.

This is slightly more complex logic, and slightly simplifes by
extracting out to a new helper method.

We also need to make sure that we use `getIn` so we get the raw node, so
we can look at the comment inside the `minimumReleaseAgeExclude`'s list,
but before the first element.
2026-01-23 08:54:20 +00:00
Jamie Tanna 8752c280fc fix(pnpm): use exact versions in minimumReleaseAgeExclude (#40612)
As noted in #40610, when `newVersion` contains a caret (or other
npm-specific versioning constraints) a generated
`minimumReleaseAgeExclude` directive will result in

    ERR_PNPM_INVALID_MINIMUM_RELEASE_AGE_EXCLUDE  Invalid value in
    minimumReleaseAgeExclude: Invalid versions union. Found: "...". Use
    exact versions only.

To handle this better, we can make sure we use `newVersion` over
`newValue`, as it'll provide the raw version number.

We also need to update an unrelated to test to make sure it's using
`newVersion`.
2026-01-22 17:17:41 +00:00
RahulGautamSingh 5922ab6ae4 feat(pnpm): update minimumReleaseAgeExclude for security updates (#40020)
* pnpm mra exclude

* move logic to npm:updateArtifacts

* only update pnpm workspace if security upgrade

* handle no matching setting found case

* refactor: minor

* fix tests

* variable name change

* in-between

* add tests

* refacto

* add test

* update helper function

* fix coverage

* fix coverage

* use AST based approach

makes the code more maintainable & readable

* add tests

* remove lockFileName

---------

Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-01-22 09:36:43 +00:00
renovate[bot] 742854c004 chore(deps): update python:3.14 docker digest to 17bc9f1 (main) (#40582)
chore(deps): update python:3.14 docker digest to 17bc9f1

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-21 16:27:16 +00:00
mikaello 9a1a5e93f8 docs(homebrew): fix typo (#40569) 2026-01-21 15:13:32 +00:00
Michael Miller d366df5ac2 feat(manager/mise): add support for caddy (#40276)
feat(manager/mise): add caddy
2026-01-21 08:21:11 +00:00
Jamie Tanna 8a6cb4742c fix(git-submodules): infer the sourceUrl from the packageName (#40472)
As noted in #30231, it would be useful to present a changelog URL for
Git submodule PRs, which is possible with
`helpers:githubDigestChangelogs`.

However, because the `sourceUrl` is not set, this doesn't get applied.

Given the `packageName` is the HTTP URL for the Git submodule, we can
use this for our `sourceUrl`.
2026-01-20 14:28:43 +00:00
Jamie Tanna 19bd22ccff fix(util/exec): correctly pass commands around when using binarySource=docker (#40517)
As noted in #40513, when running Composer's `lockFileMaintenance`
against a repository with `symfony/flex`[0], we hit a case[1] where
Composer needs to be installed first, which then results in a failure
when running in `binarySource=docker`, which strips any options from
`CommandWithOptions`.

This is because we were stripping the options and was inadvertently left
in as it fixed Typescript type checking, but subtly broke
implementation.

This also corrects a test that was a sign that this wasn't quite working
for Yarn, but we'd expected that it was mocked, not actually broken.

[0]: https://github.com/renovatebot/renovate/blob/795a121b5486138fd65e344ac7feaf370278d791/lib/modules/manager/composer/utils.ts#L15
[1]: https://github.com/renovatebot/renovate/blob/795a121b5486138fd65e344ac7feaf370278d791/lib/modules/manager/composer/artifacts.ts#L170
2026-01-19 13:14:41 +00:00
renovate[bot] acacad57c6 chore(deps): update linters (main) (#40277)
* chore(deps): update linters

| datasource | package              | from   | to     |
| ---------- | -------------------- | ------ | ------ |
| npm        | eslint-plugin-oxlint | 1.36.0 | 1.38.0 |
| npm        | typescript-eslint    | 8.50.1 | 8.52.0 |

* chore: enable oxlint gha format

* chore: fix lint

* chore: fix lint

* chore: fix lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-01-14 15:32:48 +00:00
renovate[bot] d633e3386b chore(deps): update python:3.14 docker digest to 37cba11 (main) (#40415)
chore(deps): update python:3.14 docker digest to 37cba11

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-14 01:34:08 +00:00
renovate[bot] 6e59bcd7b6 chore(deps): update python:3.14 docker digest to 93c7740 (main) (#40412)
chore(deps): update python:3.14 docker digest to 93c7740

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-13 22:25:44 +00:00
renovate[bot] 3560775ffc chore(deps): update python:3.14 docker digest to 0abd92b (main) (#40404)
chore(deps): update python:3.14 docker digest to 0abd92b

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-13 12:33:20 +00:00
renovate[bot] 47838a1562 chore(deps): update python:3.14 docker digest to 9953689 (main) (#40401)
chore(deps): update python:3.14 docker digest to 9953689

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-13 10:34:40 +00:00
Punsoong Khut 20c0662fc9 fix(bazel-module): registryAliases for bazel-module oci.pull (#38511)
* registryAlias for bazel-module oci.pull

* use getDep from dockerfile manager instead

* expand testing for oci.pull

* test: merge autoReplaceStringTemplate assertion into registryAliases test

* move assertion to other test

* Update lib/modules/manager/bazel-module/extract.spec.ts

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

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-01-13 10:21:10 +00:00
Johannes Feichtner 47adb58433 test(manager/gradle): remove test duplicates, minor corrections (#40317) 2026-01-11 09:48:36 +00:00
Matthias Schoettle e70495f08a docs: fix indent in pre-commit hook example in Go section (#40358)
* docs: fix indent in pre-commit hook example for Go

* use single quotes
2026-01-11 09:38:44 +00:00
Matthias Schoettle cbcc72d552 feat(pre-commit): support golang additional dependencies (#39469)
* add tests

* finish implementation

* update readme

* Apply suggestions from code review

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

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2026-01-09 11:56:19 +00:00
Jamie Tanna b48e9629d4 fix(flux): use shell semantics for file redirection (#40324)
As reported in #40275, since f430552de4
we've seen Flux failing to update.

We can take advantage of the new `shell` option to handle this safe
shell semantics usage for file redirection.
2026-01-08 14:46:43 +00:00
Jamie Tanna 4e6e29f74e fix(yarn): don't rely on shell semantics for ignoring command failures (#40292)
As reported in #40294, since f430552de4
we've seen Yarn 1 failing to update.

We can take advantage of the new `ignoreFailure` option to replace the
usage of shell semantics.

We also refactor `getOptimizeCommand` to make sure this always returns
the split command-and-arguments.
2026-01-08 12:59:44 +00:00
Jamie Tanna 7c467de395 fix(composer): don't rely on shell semantics for ignoring command failures (#40291)
As reported in #40284, since f430552de4
we've seen Composer failing to update.

We can take advantage of the new `ignoreFailure` option to replace the
usage of shell semantics.
2026-01-08 09:48:50 +00:00
Jamie Tanna 0dfe0f94e4 chore(gradle): clarify log message on errors (#40196)
So it's a little clearer what action(s) may be needed.
2026-01-06 08:42:03 +00:00
Christian Katzmann cf3fb29e2c feat(manager/mise): add swiftformat and swiftlint (#40178) 2026-01-03 21:15:08 +00:00
renovate[bot] 9846f0d50f chore(deps): update python:3.14 docker digest to 6d58c1a (main) (#40262)
chore(deps): update python:3.14 docker digest to 6d58c1a

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-03 20:27:07 +00:00
Niko Böckerman e3e7327898 feat(manager/mise): add conan to short tool names (#40246)
* feat(manager): add conan to mise short tool names

* Apply changes requested in review
2026-01-02 12:35:31 +00:00
Jamie Tanna eda8991a7d fix(util/exec): remove hash for Containerbase installs (#40234)
After recent changes to remove `shell: true`, it's clear from #40231
that this breaks Containerbase's installing of tools, as we use the
`hash` shell built-in.

As we no longer need the `hash` call, we can remove it.
2025-12-31 12:51:09 +00:00
Sergei Zharinov fb80abbadd refactor(github-actions): Simplify line parsing (#40216) 2025-12-30 19:29:54 +00:00
renovate[bot] 021ace67a6 chore(deps): update python:3.14 docker digest to f05033a (main) (#40222)
chore(deps): update python:3.14 docker digest to f05033a

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-30 16:28:12 +00:00
Jamie Tanna e773b32431 fix(util/exec): migrate to execa for command execution (#40212)
* fix(util/exec): migrate to `execa` for command execution

As part of a future change, we need to make sure that we have
cross-platform support for specific command executions.

By using `execa`'s functionality on top of `node:child_process`, we can
provide this functionality, as well as retain a consistent API with
internal users.

We need to make a couple of small tweaks to setting the `RawExecOptions`
as we're now bound by `readonly` properties.

As the `stdio` property's type is not exported, we can replace this with
an explicit setting of `stdin`, `stdout` and `stderr`.

This requires a number of test changes to make sure that the `stdin`,
`stdout` and `stderr` are set.

This doesn't migrate any calls under `tools`, as they can remain using
`node:child_process`.

* chore(util/exec): ignore floating promises `.on` calls

Since moving to use `execa`, we now have "floating promises" for the
`.on` method calls.

As we aren't handling them here, we can now mark them as `void` (as an
alternative to ignoring the ESLint rule).
2025-12-30 14:28:18 +00:00
renovate[bot] 4c7edafceb chore(deps): update python:3.14 docker digest to 5279485 (main) (#40211)
chore(deps): update python:3.14 docker digest to 5279485

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-30 10:28:06 +00:00
Jamie Tanna 39bfc0975e refactor(util/exec): remove deprecated encoding property (#40199)
This has been deprecated since 2022-07, and is unused as we only ever
use UTF-8.

In `tools/utils/exec.ts` we make sure to specify it explicitly, so we
don't get a Buffer returned.
2025-12-30 09:55:31 +00:00
renovate[bot] 14b4782b8c chore(deps): update python:3.14 docker digest to 5fdc8eb (main) (#40210)
chore(deps): update python:3.14 docker digest to 5fdc8eb

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-30 07:28:56 +00:00
renovate[bot] e1d620e21c chore(deps): update python:3.14 docker digest to 8797f8e (main) (#40209)
chore(deps): update python:3.14 docker digest to 8797f8e

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-30 04:25:36 +00:00
Johannes Feichtner 4392c1c758 fix(manager/gradle): ignore DependencySubstitution modules (#39965) 2025-12-28 09:39:02 +00:00
Sebastian Poxhofer f3c3fe8904 feat(homebrew): support NPM packages (#40059)
* feat(homebrew): support NPM packages

* use parseUrl

* add logging
2025-12-18 15:26:13 +00:00
Elaman Imashov a30c55080e fix(composer): Remove composer.lock file for lock file maintenance (#39920)
* Remove composer lock file for lock maintenance.

* Remove try/catch

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

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2025-12-18 13:41:27 +00:00
Jamie Tanna 0723e80602 docs(gradle): clarify ./gradlew for Verificaton Metadata updates (#40044) 2025-12-18 10:29:47 +00:00
Jamie Tanna f50470985c feat: add allowedUnsafeExecutions for ./gradlew (#39945)
We recently introduced the ability for self-hosted administrators to
control execution of possibly unsafe commands with
`allowedUnsafeExecutions`.

An existing attack vector of Gradle Wrapper commands being executed
(i.e. for Verification Metadata or lockfile updates) needs to be
retrofit into `allowedUnsafeExecutions` as part of #39657.

This will be kept on-by-default until the next breaking change, after
which self-hosted administrators will be able to opt-in to enabling this
functionality is required.
2025-12-18 10:28:39 +00:00