Commit graph

8668 commits

Author SHA1 Message Date
Lctrs
2e25de1211
feat(datasource): support range constraints filtering (#20842)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-15 06:12:08 +00:00
Adam Setch
8137533c94
feat(auto-replace): ability to specify global or first match from replacement rules (#20604)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-03-14 21:02:24 +00:00
Simon Eßlinger
3c5224eee4
feat: add datasource, versioning and manager for Azure Bicep resources (#20755)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-14 18:29:25 +00:00
Florian Greinacher
b74813180b
fix(presets): add k8s registry move to all replacements (#20928) 2023-03-14 18:25:12 +00:00
Rhys Arkins
d458a93356
fix: log duration after rawExec error (#20924) 2023-03-14 11:53:43 +00:00
Florian Greinacher
69c15abdcc
feat: add replacements for Kubernetes container registry move (#20898)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2023-03-14 05:57:13 +00:00
Martin Herndl
3f5a0c04f5
feat(composer): skip path repo dependencies (#20887) 2023-03-14 05:10:30 +00:00
Maxime Brunet
7b627e3900
fix(gomod): skip updating import path for incompatible versions (#20812) 2023-03-14 05:09:15 +00:00
Adam Setch
98be25f787
feat(platform/bitbucket): add support for Bitbucket development branching model (#20860)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-12 12:50:54 +00:00
Adam Setch
e09153b6be
feat: support name only replacements (#20629)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-12 12:50:16 +00:00
Jamie Magee
1567386f50
refactor: safely parse Pipfile.lock (#20825) 2023-03-12 05:54:12 +00:00
Jamie Magee
cbbeecbefc
refactor: satisfy types for unknown arrays (#20878) 2023-03-12 05:53:06 +00:00
Jamie Magee
8b23f0ba57
refactor: safely parse decrypted config (#20879) 2023-03-12 05:52:19 +00:00
Adam Setch
06feaaabaf
docs(platform/bitbucket): update requiring implementation section (#20863) 2023-03-11 12:50:32 +00:00
Adam Setch
d760c2f4cb
docs(platform/bitbucket): update header to be consistent with other platforms (#20870) 2023-03-11 10:28:26 +00:00
Liora Milbaum
b69fcda426
feat(asdf): Support pulumi plugin (#20852) 2023-03-11 09:23:18 +00:00
RahulGautamSingh
b475231176
refactor: use satisfies (#20781) 2023-03-11 05:24:17 +00:00
Rhys Arkins
b53b8bca6b
chore: fix coverage 2023-03-10 10:31:52 +01:00
Rhys Arkins
a4ab4523f8
feat(config)!: forkProcessing (#20759)
Removes "includeForks" option and replaces with "forkProcessing". New default behavior is to process forks if automerge=false.

Closes #20752

BREAKING CHANGE: Forked repos will now be processed automatically if autodiscover=false. includeForks is removed and replaced by new option forkProcessing.
2023-03-10 09:34:41 +01:00
Rhys Arkins
d53d39bf0a
refactor(datasource): prefer packageName over depName in datasource (#20221) 2023-03-10 09:34:41 +01:00
Rhys Arkins
f765e6fb1d
feat!: internalChecksAsSuccess (#20572)
Adds new config option `internalChecksAsSuccess`, defaulting to `false`.

Closes #7800

BREAKING CHANGE: Internal checks such as `renovate/stability-days` will no longer count as passing/green, meaning that actions such as `automerge` won't
occur if the only checks are Renovate internal ones. Set `internalChecksAsSuccess=true` to restore existing behavior.
2023-03-10 09:34:41 +01:00
Sebastian Poxhofer
8e2df85268
feat(versioning)!: default to semver-coerced instead of semver (#20573)
BREAKING CHANGE: default versioning is now `semver-coerced`, instead of `semver`.
2023-03-10 09:34:41 +01:00
Paul Gschwendtner
177ffedb85
feat(datasource/github-releases)!: digest computation use git tag, not file digest (#20178)
The github-releases datasource has been copied into a new datasource called github-release-attachments.
The github-releases general datasource is updated to use the underlying Git tag of a GitHub release entry for digest computation.

Fixes #20160, Fixes #19552

BREAKING CHANGE: Regex Manager configurations relying on the github-release data-source with digests will have different digest semantics. The digest
will now always correspond to the underlying Git SHA of the release/version. The old behavior can be preserved by switching to the
github-release-attachments datasource.
2023-03-10 09:34:40 +01:00
Rhys Arkins
b17bcf2789
refactor(datasource): use packageName and not depName for datasource lookups (#20474) 2023-03-10 09:34:40 +01:00
Rhys Arkins
73c8227132
fix(versioning)!: bump short ranges to version (#20494)
When rangeStrategy=bump, and the existing range is "short" (e.g. `^1`), and a bump is required, the new result will be a version range (e.g. `^1.0.7`).

Closes #20488
2023-03-10 09:34:40 +01:00
Rhys Arkins
0f86d313da
chore: fix artifacts tests 2023-03-10 09:34:40 +01:00
Michael Kriese
ec4b17b8b6
feat(config)!: default dockerImagePrefix to containerbase (#20150)
Sidecar containers will now use `containerbase/` prefix instead of `renovate/` prefix.

BREAKING CHANGE: containerbase/ account used for sidecar containers instead of renovate/
2023-03-10 09:34:40 +01:00
Rhys Arkins
222cda6058
feat(cache): file cache cleanup (#20061)
Checks file cache for expired items at the end of a run. Non-breaking change but it may result in some long cleanup jobs for any bots which have been left to populate their package cache for a long time.

Closes #13732
2023-03-10 09:34:39 +01:00
Rhys Arkins
b6ed33ec01
fix(regex): don’t escape forward slash in fileMatch (#19314)
This cleanup of default `fileMatch` values should be backwards compatible.
2023-03-10 09:34:39 +01:00
Rhys Arkins
d92e19437a
feat(go)!: default GOPROXY (#20081)
Set default GOPROXY value to match `go`'s own default.

Closes #20040

BREAKING CHANGE: Renovate will now use go's default `GOPROXY` settings. To avoid using the public proxy, configure `GOPROXY=direct`.
2023-03-10 09:34:39 +01:00
Rhys Arkins
d28763fa01
feat(datasource/npm): default cacheHardTtlMinutes to 24 hours (#20079)
Renovate will now use "soft" expiry of npm datasource lookups, combined with a hard expiry of 24 hours. Soft expired results are used to improve
performance plus can be reused in case npmjs errors on subsequent lookups

BREAKING CHANGE: Package cache will include entries for up to 24 hours after the last lookup. Set cacheHardTtlMinutes=0 to revert to existing behavior.
2023-03-10 09:33:50 +01:00
Rhys Arkins
a75f9d71c1
feat(config)!: non-zero defaults for PR concurrent, hourly limits (#19958)
Sets new defaults:
- `prConcurrentLimit`: 10 (instead of 0)
- `prHourlyLimit`: 2 (instead of 0)

Closes #19800

BREAKING CHANGE: Renovate now defaults to applying hourly and concurrent PR limits. To revert to unlimited, configure them back to `0`.
2023-03-10 09:25:51 +01:00
Rhys Arkins
016e647390
feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942)
Changes `rangeStrategy` default value from `'replace'` to `'auto'`. Also changes `auto` behavior so that `update-lockfile` is preferred if the manager
supports the `updateLockedDependency()` function.

Closes #19800

BREAKING CHANGE: Renovate will now default to updating locked dependency versions. To revert to previous behavior, configure rangeStrategy=replace.
2023-03-10 09:25:45 +01:00
RahulGautamSingh
dcd298a625
feat(config)!: add new option constraintsFiltering (#19992)
Adds new option `constraintsFiltering`.

Closes #19979

BREAKING CHANGE: PyPI releases will no longer be filtered by default based on `constraints.python` compatibility. To retain existing functionality, set
`constraintsFiltering=strict`.
2023-03-10 09:24:44 +01:00
Liora Milbaum
bcb61d5360
feat(manager/dockerfile): match Containerfile (#20804)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-10 05:37:14 +00:00
Rhys Arkins
29e865aee1
chore: better hashicorp versioning logging 2023-03-10 06:48:40 +01:00
Rhys Arkins
a72998724e
fix(datasource/npm): cache public modules (#20815)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-03-09 12:16:21 +00:00
Rhys Arkins
a3cc159f7e
chore: extract and lookup duration logging (#20816) 2023-03-09 11:24:50 +00:00
Jamie Magee
67b076ae6e
refactor: safely parse emoji shortcodes (#20814) 2023-03-09 06:31:16 +00:00
Henrik Poulsen
d5ece8bf45
fix(datasource): add warning when unable to find datasource (#20805)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-08 11:25:00 +00:00
Philip
6e0ef61d98
docs(platform/codecommit): add aws codebuild examples (#19374)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-03-08 07:08:58 +00:00
Johannes Feichtner
8512072d41
feat(manager/gradle): add support for AndroidX Compose plugin (#20796) 2023-03-08 06:31:56 +00:00
Johannes Feichtner
98231804c3
feat(manager/gradle): add support for map notation deps in Groovy maps (#20798) 2023-03-08 06:31:28 +00:00
RahulGautamSingh
bccf0997fb
refactor: delete cached configFilename (#20746) 2023-03-07 10:09:04 +00:00
Seiya Kokushi
6faefcdfa8
feat(manager/asdf): support dart and flutter (#20786) 2023-03-07 05:17:53 +00:00
Johannes Feichtner
f31d62810c
feat(manager/gradle): add support for jmh plugin (#20784) 2023-03-07 04:59:12 +00:00
Johannes Feichtner
f1e3803d96
refactor(manager/gradle): manage nesting depth separate from tokens (#20763) 2023-03-06 05:37:48 +00:00
Adam Setch
923755e1e7
fix: auto-replace pinning (#20627) 2023-03-05 18:34:05 +00:00
Shawn Smith
eb5db5b492
fix(datasource/docker): Artifactory next link is broken for tags api (#20745)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-05 18:29:06 +00:00
Sergei Zharinov
865608a91d
test(schedule): Use template literal with test.each (#20750) 2023-03-04 15:25:03 +00:00
RahulGautamSingh
ecc60897ef
feat(datasource/nuget): support password only registry auth (#20749) 2023-03-04 14:23:29 +00:00
Sergei Zharinov
9ec4804579
feat(bazel): Use Gradle versioning for maven_install by default (#20748) 2023-03-04 10:32:38 +00:00
Maxime Brunet
14019fed16
feat(gomod): enable gomodUpdateImportPaths for gopkg.in (#20743) 2023-03-04 08:32:04 +00:00
Rhys Arkins
7ff1a3b730 chore: fix swift coverage 2023-03-04 09:30:54 +01:00
Rhys Arkins
c41cfdbef6
docs: gomod artifacts hostRules (#20222)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-03-04 07:38:17 +01:00
Rhys Arkins
f2d162e7ea
refactor: non-null packageName (#20485) 2023-03-04 07:29:07 +01:00
Sergei Zharinov
d37a372356
fix(packagist): Support both objects and minified arrays in v2 (#20720) 2023-03-03 07:03:18 +00:00
HonkingGoose
5249759b39
docs(config options): PAT triage rights to apply labels forking renovate (#20684) 2023-03-03 07:04:08 +01:00
Sergei Zharinov
cd06651f89
fix(packagist): Replace V2 URL path instead of joining it (#20709) 2023-03-02 14:19:55 +00:00
jingyang
c5edc5d54e
fix: checkout base branch after commit files (#20658)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-02 11:58:13 +00:00
Andreas Hippler
34d26700cf
fix: support docker /library retry with abortOnError (#20652)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-28 19:29:28 +00:00
Sergei Zharinov
8cd9f43cbc
fix(datasource/packagist): Support for obsolete SHA1 hashes (#20664) 2023-02-28 11:16:51 +00:00
Rhys Arkins
2f8aa56fd8
refactor(autoreplace): set depIndex during flatten (#20665) 2023-02-28 10:16:33 +00:00
Adam Setch
14e2c7d3cf
docs: add replacement to matchUpdateTypes (#20656) 2023-02-28 09:32:03 +00:00
Sergei Zharinov
c9fe3b99fa
feat(packagist): Support for v2 protocol (#20626) 2023-02-28 09:31:16 +00:00
Rhys Arkins
54196346a1
refactor(autoreplace): extractPackageFile (#20660) 2023-02-28 06:16:25 +00:00
Kelly Su
456a8dad44
fix(setup_cfg): parsing for requirements install requires (#20657) 2023-02-28 05:35:00 +00:00
Sergei Zharinov
d7ad012988
fix(packagist): Fix url resolving (#20650) 2023-02-27 18:22:02 +00:00
Gaël Jourdan-Weil
a8ec421a7d
feat(manager/sbt): Extract sbt version from build.properties (#20587)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-27 06:06:14 +00:00
Johannes Feichtner
ad4523468e
refactor(manager/gradle): reduce code redundancy when parsing maps (#20636) 2023-02-27 06:05:46 +00:00
Sergei Zharinov
36b1e4e86e
fix(github): Reconcile entire GraphQL pages (#20630) 2023-02-26 09:02:33 +00:00
Sergei Zharinov
e97cde57dd
refactor(packagist): Reorganize datasource methods (#20595) 2023-02-25 19:33:47 +00:00
RahulGautamSingh
acc6c59138
test: replace as assertions (#20527)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-25 18:56:23 +00:00
RahulGautamSingh
352c9db904
test: add new wrapper for partial (#20618) 2023-02-25 06:46:32 +00:00
Rhys Arkins
8621d8cbbf
chore: simplify package types (#20598) 2023-02-24 15:28:35 +00:00
Sergei Zharinov
eb8a02c37f
refactor(github): Use schema validation for GraphQL (#20519) 2023-02-24 09:01:58 +00:00
Sergei Zharinov
fd200d4198
refactor(packagist): Refactor RegistryMeta to inferred via schema (#20592) 2023-02-24 05:55:04 +00:00
Johannes Feichtner
54dd427670
fix(gradle): set Java 17 as constraint for gradle >= 7.3 (#20603) 2023-02-24 05:00:17 +00:00
Tobias Kongsvik
a340830ee6
fix(gomod): Use correct major version to update go import paths (#20140)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-23 11:23:40 +00:00
Rhys Arkins
9f96c1e224
chore: remove unnecessary Range types (#20582) 2023-02-23 09:13:27 +00:00
Adam Setch
18bdac9d35
fix(platform/bitbucket): remove blockquote markdown from bitbucket issue description (#20588) 2023-02-23 07:01:44 +01:00
Tobias Bieniek
ed6cd8a8de
chore(VersioningApi): add doc comments (#20333)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-02-22 17:56:15 +00:00
Rhys Arkins
109f3491ab
refactor: getBranchStatus and tests (#20585) 2023-02-22 17:53:35 +00:00
Adam Setch
5cc4260ba7
feat(platform/bitbucket): consolidate types (#20570) 2023-02-22 17:01:03 +00:00
Adam Setch
77b2189603
fix: remove rebase-all-open-prs checkbox from read only issue bodies (#20578) 2023-02-22 15:28:30 +00:00
Sergei Zharinov
edef60045c
feat(schema): Add looseValue and looseObject helpers (#20576) 2023-02-22 14:45:26 +00:00
Paul Gschwendtner
340a913a48
feat(platform/github): flag to control whether PRs can be edited by maintainers if forkTokenis set (#19771) 2023-02-22 13:07:03 +00:00
Lctrs
27eda56db2
fix(versioning/composer): support range versions normalization (#20558)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-22 13:06:20 +00:00
Sergei Zharinov
9364ab002a
feat(schema): Add looseArray and looseRecord helpers (#20563) 2023-02-22 08:21:09 +00:00
Markus Schulz
dd6c8e5147
feat: Move some Git commands behind a PlatformScm interface (#19327)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-22 08:18:53 +00:00
Adam Setch
c82c38b498
fix: auto-replace for pinDigest without currentDigest or shortDigest (#20317) 2023-02-22 06:41:56 +00:00
Sergei Zharinov
d9b025bf63
refactor(packagist): Remove deprecated URL API (#20547) 2023-02-21 13:48:46 +00:00
Jérémie Astori
68e4ad4e9b
feat(presets): group @types/react and @types/react-dom together, along with other React packages (#20462)
Signed-off-by: Jérémie Astori <jeremie@astori.fr>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-02-21 13:42:44 +00:00
HonkingGoose
d3ba01bf54
chore: link to discussion (#20543) 2023-02-21 13:18:20 +00:00
RahulGautamSingh
0f51c9f524
test: replace as with partial (#20511) 2023-02-21 10:46:29 +00:00
RahulGautamSingh
5279064773
fix: allow null/undefined as param (#20528) 2023-02-21 06:11:00 +00:00
RahulGautamSingh
63fde6b3bc
feat(cache): pr fingerprint implementation (#18850)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-21 06:07:48 +00:00
Johannes Feichtner
27c46cc673
feat: add support for RegEx patterns in baseBranches (#20503)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-02-20 23:32:08 +00:00
Rhys Arkins
cc33d34ca8
refactor: PackageFile types (#20498)
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-20 14:58:49 +00:00
Sergei Zharinov
43848b7329
fix(gomod): Don't append indirect mark twice (#20479) 2023-02-20 14:51:22 +00:00