Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: renovatebot/renovate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 35.159.7
Choose a base ref
...
head repository: renovatebot/renovate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 36.0.0
Choose a head ref
  • 20 commits
  • 204 files changed
  • 7 contributors

Commits on Jul 4, 2023

  1. feat!: allow post upgrade templating by default (#21326)

    Closes #21320
    
    BREAKING CHANGE: Post upgrade templating is now allowed by default, as long as the post upgrade task command is itself already allowed.
    rarkins committed Jul 4, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6a95024 View commit details
  2. feat(automerge)!: default to platformAutomerge=true (#21327)

    Closes #21319
    
    BREAKING CHANGE: Platform automerge will now be chosen by default whenever automerge is enabled.
    rarkins committed Jul 4, 2023
    Copy the full SHA
    61a7813 View commit details
  3. feat(platform/gitlab)!: prefer commit_email (#21122)

    gitAuthor discover for GitLab now prefers the field `commit_email` over `email`.
    
    Closes #12532
    
    BREAKING CHANGE: GitLab gitAuthor will change from the account's "email" to "commit_email" if they are different.
    viceice authored and rarkins committed Jul 4, 2023
    Copy the full SHA
    08bbf81 View commit details
  4. fix(post-upgrade-tasks)!: enable dot option for file filters (#21282)

    Set `{ dot: true }` for minimatch.
    
    Closes #21276
    
    BREAKING CHANGE: dot files will now be included by default for all minimatch results
    bgutschke authored and rarkins committed Jul 4, 2023
    Copy the full SHA
    bc693f2 View commit details
  5. feat(npm)!: disable rollbackPrs for npm by default (#21970)

    BREAKING CHANGE: Rollback PRs will no longer be enabled by default for npm (they are now disabled by default for all managers)
    rarkins committed Jul 4, 2023
    Copy the full SHA
    530f537 View commit details
  6. fix(presets)!: remove compatibility:additionalBranchPrefix (#22015)

    BREAKING CHANGE: v25 compatibility for language-based branch prefixes is removed
    rarkins committed Jul 4, 2023
    Copy the full SHA
    a23ca9e View commit details
  7. feat(package-rules)!: remove fuzzy matchPaths matching (#22394)

    BREAKING CHANGE: matchPaths will no longer use “any string match” and instead must be a glob pattern
    rarkins committed Jul 4, 2023
    Copy the full SHA
    033d776 View commit details
  8. feat!: merge matchPaths and matchFiles into matchFileNames (#22406)

    Closes #22395
    
    BREAKING CHANGE: matchPaths and matchFiles are now combined into matchFileNames, supporting exact match and glob-only
    rarkins committed Jul 4, 2023
    Copy the full SHA
    e3d5f7d View commit details
  9. feat!: replace dockerImagePrefix with dockerSidecarImage (#22708)

    Closes #21217
    
    BREAKING CHANGE: dockerImagePrefix is now replaced by dockerSidecarImage
    RahulGautamSingh authored and rarkins committed Jul 4, 2023
    Copy the full SHA
    aa14b77 View commit details
  10. feat(release-notes)!: support configurable fetching stage (#22781)

    Changes fetchReleaseNotes from boolean to enum, with values off, branch, pr.
    
    Closes #20476
    
    BREAKING CHANGE: Release notes won't be fetched early for commitBody insertion unless explicitly configured with fetchReleaseNotes=branch
    RahulGautamSingh authored and rarkins committed Jul 4, 2023
    Copy the full SHA
    c2d3ca8 View commit details
  11. feat(npm): support constraintsFiltering=strict (#22447)

    Closes #4826
    
    Co-authored-by: HonkingGoose <[email protected]>
    rarkins and HonkingGoose committed Jul 4, 2023
    Copy the full SHA
    ad0479a View commit details
  12. feat(package-rules)!: match packageName for matchPackageNames (#22703)

    Closes #20926
    
    BREAKING CHANGE: matchPackageNames now matches both depName (existing) and packageName (new)
    rarkins committed Jul 4, 2023
    Copy the full SHA
    e4dead2 View commit details
  13. chore: fix docker exec test

    rarkins committed Jul 4, 2023
    Copy the full SHA
    d059ad1 View commit details
  14. Copy the full SHA
    c7832e5 View commit details
  15. feat(presets)!: rename config:base to config:recommended (#21136)

    Closes #12024
    
    Co-authored-by: Rhys Arkins <[email protected]>
    Co-authored-by: HonkingGoose <[email protected]>
    Co-authored-by: Bastian Gutschke <[email protected]>
    
    BREAKING CHANGE: Preset config:base is now called config:recommended
    viceice authored and rarkins committed Jul 4, 2023
    1
    Copy the full SHA
    f9e3e80 View commit details
  16. feat(datasource)!: default to the central default versioning (#23020)

    BREAKING CHANGE: semver-coerced is now the default versioning
    secustor authored and rarkins committed Jul 4, 2023
    1
    Copy the full SHA
    8ccb0ea View commit details
  17. feat!: drop node v19 support (#23006)

    BREAKING CHANGE: Node v19 is no longer supported
    rarkins committed Jul 4, 2023
    1
    Copy the full SHA
    3923e7e View commit details
  18. feat!: categories (#16534)

    Closes #13953
    
    Co-authored-by: Rhys Arkins <[email protected]>
    Co-authored-by: Michael Kriese <[email protected]>
    Co-authored-by: HonkingGoose <[email protected]>
    
    BREAKING CHANGE: languages are now called categories instead
    secustor authored and rarkins committed Jul 4, 2023
    1
    Copy the full SHA
    19259a0 View commit details
  19. feat!: commit all files in postUpgradeTasks by default (#23126)

    BREAKING CHANGE: all modified files are now commited by default for postUpgradeTasks.fileFilters
    rarkins committed Jul 4, 2023
    1
    Copy the full SHA
    9845082 View commit details
  20. chore(deps): update ghcr.io/containerbase/sidecar docker tag to v9 (#…

    …23138)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 4, 2023
    Copy the full SHA
    2c8d565 View commit details
Showing with 1,155 additions and 1,111 deletions.
  1. +2 −6 docs/development/adding-a-package-manager.md
  2. +1 −1 docs/development/creating-editing-renovate-presets.md
  3. +7 −7 docs/usage/config-presets.md
  4. +101 −121 docs/usage/configuration-options.md
  5. +1 −1 docs/usage/docker.md
  6. +1 −1 docs/usage/examples/self-hosting.md
  7. +1 −1 docs/usage/getting-started/installing-onboarding.md
  8. +1 −1 docs/usage/getting-started/use-cases.md
  9. +9 −0 docs/usage/golang.md
  10. +2 −2 docs/usage/java.md
  11. +5 −7 docs/usage/key-concepts/automerge.md
  12. +3 −3 docs/usage/key-concepts/dashboard.md
  13. +3 −3 docs/usage/key-concepts/presets.md
  14. +1 −1 docs/usage/modules/manager/index.md
  15. +2 −2 docs/usage/reading-list.md
  16. +9 −12 docs/usage/self-hosted-configuration.md
  17. +0 −9 docs/usage/self-hosted-experimental.md
  18. +1 −1 docs/usage/semantic-commits.md
  19. +8 −8 lib/config/__snapshots__/migration.spec.ts.snap
  20. +4 −8 lib/config/__snapshots__/validation.spec.ts.snap
  21. +1 −1 lib/config/global.ts
  22. +0 −1 lib/config/index.spec.ts
  23. +5 −8 lib/config/index.ts
  24. +30 −2 lib/config/migration.spec.ts
  25. +2 −2 lib/config/migrations/custom/automerge-major-migration.spec.ts
  26. +2 −2 lib/config/migrations/custom/automerge-minor-migration.spec.ts
  27. +2 −2 lib/config/migrations/custom/automerge-patch-migration.spec.ts
  28. +22 −0 lib/config/migrations/custom/fetch-release-notes-migration.spec.ts
  29. +12 −0 lib/config/migrations/custom/fetch-release-notes-migration.ts
  30. +51 −1 lib/config/migrations/custom/package-rules-migration.spec.ts
  31. +5 −2 lib/config/migrations/custom/package-rules-migration.ts
  32. +2 −0 lib/config/migrations/migrations-service.ts
  33. +14 −120 lib/config/options/index.ts
  34. +5 −3 lib/config/presets/common.ts
  35. +4 −4 lib/config/presets/index.spec.ts
  36. +0 −28 lib/config/presets/internal/compatibility.ts
  37. +15 −14 lib/config/presets/internal/config.ts
  38. +9 −3 lib/config/presets/internal/default.ts
  39. +9 −5 lib/config/presets/internal/docker.ts
  40. +0 −2 lib/config/presets/internal/index.ts
  41. +9 −1 lib/config/presets/internal/preview.ts
  42. +8 −7 lib/config/types.ts
  43. +5 −12 lib/config/validation.spec.ts
  44. +4 −4 lib/config/validation.ts
  45. +24 −0 lib/constants/category.ts
  46. +1 −1 lib/constants/index.ts
  47. +0 −16 lib/constants/programming-language.ts
  48. +3 −0 lib/modules/datasource/flutter-version/index.ts
  49. +4 −0 lib/modules/datasource/go/index.ts
  50. +3 −0 lib/modules/datasource/hexpm-bob/index.ts
  51. +1 −1 lib/modules/datasource/index.spec.ts
  52. +18 −3 lib/modules/datasource/index.ts
  53. +3 −0 lib/modules/datasource/npm/get.spec.ts
  54. +4 −0 lib/modules/datasource/npm/get.ts
  55. +1 −0 lib/modules/datasource/npm/types.ts
  56. +3 −0 lib/modules/manager/ansible-galaxy/index.ts
  57. +2 −2 lib/modules/manager/ansible/index.ts
  58. +3 −0 lib/modules/manager/argocd/index.ts
  59. +3 −0 lib/modules/manager/azure-pipelines/index.ts
  60. +3 −0 lib/modules/manager/batect-wrapper/index.ts
  61. +3 −0 lib/modules/manager/batect/index.ts
  62. +3 −0 lib/modules/manager/bazel/index.ts
  63. +3 −0 lib/modules/manager/bazelisk/index.ts
  64. +3 −0 lib/modules/manager/bitbucket-pipelines/index.ts
  65. +3 −0 lib/modules/manager/buildkite/index.ts
  66. +15 −21 lib/modules/manager/bundler/artifacts.spec.ts
  67. +3 −2 lib/modules/manager/bundler/index.ts
  68. +3 −3 lib/modules/manager/cake/index.ts
  69. +4 −7 lib/modules/manager/cargo/artifacts.spec.ts
  70. +3 −2 lib/modules/manager/cargo/index.ts
  71. +3 −0 lib/modules/manager/cdnurl/index.ts
  72. +3 −0 lib/modules/manager/circleci/index.ts
  73. +3 −0 lib/modules/manager/cloudbuild/index.ts
  74. +4 −6 lib/modules/manager/cocoapods/__snapshots__/artifacts.spec.ts.snap
  75. +3 −3 lib/modules/manager/cocoapods/artifacts.spec.ts
  76. +3 −0 lib/modules/manager/cocoapods/index.ts
  77. +4 −6 lib/modules/manager/composer/artifacts.spec.ts
  78. +3 −2 lib/modules/manager/composer/index.ts
  79. +3 −0 lib/modules/manager/conan/index.ts
  80. +3 −0 lib/modules/manager/deps-edn/index.ts
  81. +3 −3 lib/modules/manager/docker-compose/index.ts
  82. +3 −3 lib/modules/manager/dockerfile/index.ts
  83. +3 −3 lib/modules/manager/droneci/index.ts
  84. +5 −0 lib/modules/manager/fleet/index.ts
  85. +3 −0 lib/modules/manager/flux/index.ts
  86. +3 −1 lib/modules/manager/github-actions/index.ts
  87. +3 −0 lib/modules/manager/gitlabci-include/index.ts
  88. +3 −3 lib/modules/manager/gitlabci/index.ts
  89. +21 −33 lib/modules/manager/gomod/artifacts.spec.ts
  90. +3 −3 lib/modules/manager/gomod/index.ts
  91. +7 −4 lib/modules/manager/gradle-wrapper/artifacts.spec.ts
  92. +3 −0 lib/modules/manager/gradle-wrapper/index.ts
  93. +4 −5 lib/modules/manager/gradle/artifacts.spec.ts
  94. +3 −2 lib/modules/manager/gradle/index.ts
  95. +3 −0 lib/modules/manager/helm-requirements/index.ts
  96. +3 −0 lib/modules/manager/helm-values/index.ts
  97. +3 −3 lib/modules/manager/helmfile/artifacts.spec.ts
  98. +3 −0 lib/modules/manager/helmfile/index.ts
  99. +3 −0 lib/modules/manager/helmsman/index.ts
  100. +4 −6 lib/modules/manager/helmv3/__snapshots__/artifacts.spec.ts.snap
  101. +10 −2 lib/modules/manager/helmv3/artifacts.spec.ts
  102. +3 −0 lib/modules/manager/helmv3/index.ts
  103. +3 −0 lib/modules/manager/html/index.ts
  104. +0 −6 lib/modules/manager/index.spec.ts
  105. +0 −4 lib/modules/manager/index.ts
  106. +3 −0 lib/modules/manager/jenkins/index.ts
  107. +3 −0 lib/modules/manager/jsonnet-bundler/index.ts
  108. +3 −0 lib/modules/manager/kotlin-script/index.ts
  109. +3 −3 lib/modules/manager/kubernetes/index.ts
  110. +3 −0 lib/modules/manager/kustomize/index.ts
  111. +3 −0 lib/modules/manager/leiningen/index.ts
  112. +7 −4 lib/modules/manager/maven-wrapper/artifacts.spec.ts
  113. +3 −3 lib/modules/manager/maven/index.ts
  114. +3 −3 lib/modules/manager/meteor/index.ts
  115. +3 −0 lib/modules/manager/mint/index.ts
  116. +3 −5 lib/modules/manager/mix/__snapshots__/artifacts.spec.ts.snap
  117. +15 −3 lib/modules/manager/mix/artifacts.spec.ts
  118. +3 −3 lib/modules/manager/mix/index.ts
  119. +10 −8 lib/modules/manager/nix/artifacts.spec.ts
  120. +3 −3 lib/modules/manager/nodenv/index.ts
  121. +1 −1 lib/modules/manager/npm/extract/index.ts
  122. +3 −3 lib/modules/manager/npm/index.ts
  123. +8 −5 lib/modules/manager/npm/post-update/lerna.spec.ts
  124. +4 −4 lib/modules/manager/npm/post-update/npm.spec.ts
  125. +4 −4 lib/modules/manager/npm/post-update/pnpm.spec.ts
  126. +6 −5 lib/modules/manager/npm/post-update/yarn.spec.ts
  127. +7 −7 lib/modules/manager/nuget/artifacts.spec.ts
  128. +3 −3 lib/modules/manager/nuget/index.ts
  129. +3 −3 lib/modules/manager/nvm/index.ts
  130. +0 −3 lib/modules/manager/osgi/index.ts
  131. +7 −5 lib/modules/manager/pep621/artifacts.spec.ts
  132. +7 −4 lib/modules/manager/pep621/processors/pdm.spec.ts
  133. +10 −8 lib/modules/manager/pip-compile/artifacts.spec.ts
  134. +3 −2 lib/modules/manager/pip-compile/index.ts
  135. +8 −5 lib/modules/manager/pip_requirements/artifacts.spec.ts
  136. +3 −3 lib/modules/manager/pip_requirements/index.ts
  137. +3 −3 lib/modules/manager/pip_setup/index.ts
  138. +8 −12 lib/modules/manager/pipenv/__snapshots__/artifacts.spec.ts.snap
  139. +6 −2 lib/modules/manager/pipenv/artifacts.spec.ts
  140. +3 −2 lib/modules/manager/pipenv/index.ts
  141. +15 −9 lib/modules/manager/poetry/artifacts.spec.ts
  142. +3 −2 lib/modules/manager/poetry/index.ts
  143. +8 −5 lib/modules/manager/pub/artifacts.spec.ts
  144. +3 −0 lib/modules/manager/pub/index.ts
  145. +3 −3 lib/modules/manager/puppet/index.ts
  146. +3 −3 lib/modules/manager/pyenv/index.ts
  147. +3 −3 lib/modules/manager/ruby-version/index.ts
  148. +3 −0 lib/modules/manager/sbt/index.ts
  149. +3 −3 lib/modules/manager/setup-cfg/index.ts
  150. +3 −0 lib/modules/manager/swift/index.ts
  151. +3 −0 lib/modules/manager/tekton/index.ts
  152. +3 −0 lib/modules/manager/terraform-version/index.ts
  153. +3 −0 lib/modules/manager/terraform/index.ts
  154. +3 −0 lib/modules/manager/terragrunt-version/index.ts
  155. +3 −0 lib/modules/manager/terragrunt/index.ts
  156. +3 −0 lib/modules/manager/tflint-plugin/index.ts
  157. +3 −3 lib/modules/manager/travis/index.ts
  158. +3 −2 lib/modules/manager/types.ts
  159. +3 −0 lib/modules/manager/velaci/index.ts
  160. +3 −3 lib/modules/manager/woodpecker/index.ts
  161. +2 −2 lib/modules/platform/codecommit/index.md
  162. +3 −3 lib/modules/platform/gitea/index.md
  163. +9 −5 lib/modules/platform/gitlab/index.ts
  164. +3 −0 lib/modules/versioning/index.ts
  165. +0 −1 lib/util/exec/containerbase.spec.ts
  166. +1 −1 lib/util/exec/containerbase.ts
  167. +8 −2 lib/util/exec/docker/index.spec.ts
  168. +3 −5 lib/util/exec/docker/index.ts
  169. +22 −20 lib/util/exec/index.spec.ts
  170. +0 −2 lib/util/exec/index.ts
  171. +20 −0 lib/util/package-rules/categories.ts
  172. +3 −3 lib/util/package-rules/files.spec.ts
  173. +11 −7 lib/util/package-rules/files.ts
  174. +30 −53 lib/util/package-rules/index.spec.ts
  175. +0 −18 lib/util/package-rules/languages.ts
  176. +4 −6 lib/util/package-rules/matchers.ts
  177. +26 −0 lib/util/package-rules/package-names.spec.ts
  178. +8 −6 lib/util/package-rules/package-names.ts
  179. +26 −0 lib/util/package-rules/package-patterns.spec.ts
  180. +23 −15 lib/util/package-rules/package-patterns.ts
  181. +0 −52 lib/util/package-rules/paths.spec.ts
  182. +0 −36 lib/util/package-rules/paths.ts
  183. +2 −2 lib/workers/global/config/parse/cli.spec.ts
  184. +1 −1 lib/workers/global/config/parse/cli.ts
  185. +1 −1 lib/workers/global/config/parse/file.spec.ts
  186. +1 −20 lib/workers/repository/changelog/index.spec.ts
  187. +0 −18 lib/workers/repository/changelog/index.ts
  188. +5 −5 lib/workers/repository/init/__snapshots__/vulnerability.spec.ts.snap
  189. +2 −2 lib/workers/repository/init/merge.spec.ts
  190. +1 −1 lib/workers/repository/init/vulnerability.spec.ts
  191. +3 −3 lib/workers/repository/init/vulnerability.ts
  192. +2 −2 lib/workers/repository/update/branch/execute-post-upgrade-commands.ts
  193. +1 −4 lib/workers/repository/update/branch/index.spec.ts
  194. +5 −9 lib/workers/repository/update/branch/index.ts
  195. +5 −5 lib/workers/repository/update/pr/index.spec.ts
  196. +1 −1 lib/workers/repository/update/pr/index.ts
  197. +2 −35 lib/workers/repository/updates/branchify.spec.ts
  198. +0 −17 lib/workers/repository/updates/branchify.ts
  199. +1 −1 lib/workers/repository/updates/flatten.spec.ts
  200. +0 −1 lib/workers/types.ts
  201. +1 −1 package.json
  202. +9 −0 renovate.json
  203. +1 −1 test/e2e/package.json
  204. +36 −14 tools/docs/manager.ts
8 changes: 2 additions & 6 deletions docs/development/adding-a-package-manager.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Adding a Package Manager

This document explains how to add a new language/package manager.
This document explains how to add a new package manager.

## Code structure

@@ -21,7 +21,7 @@ The manager's `index.ts` file supports the following values or functions:
| `extractPackageFile` | | yes |
| `extractAllPackageFiles` | yes | yes |
| `getRangeStrategy` | yes | |
| `language` | yes | |
| `categories` | yes | |
| `supportsLockFileMaintenance` | yes | |
| `updateArtifacts` | yes | yes |
| `updateDependency` | yes | |
@@ -80,10 +80,6 @@ The `npm` manager uses the `getRangeStrategy` function to pin `devDependencies`

If left undefined, then a default `getRangeStrategy` will be used that always returns "replace".

### `language` (optional)

This is used when more than one package manager shares settings from a common language.

### `supportsLockFileMaintenance` (optional)

Set to `true` if this package manager needs to update lock files in addition to package files.
2 changes: 1 addition & 1 deletion docs/development/creating-editing-renovate-presets.md
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ We have multiple kinds of `group:` presets, with different rules.
##### Rules for `group:*` presets

1. Finally, any other `group:*` presets can be added if they are beneficial to a wide number of users
1. They don't need to be added to `group:recommended`, meaning that users will "opt in" to them one by one and not get them automatically from `config:base`, which includes `group:monorepo` and `group:recommended`
1. They don't need to be added to `group:recommended`, meaning that users will "opt in" to them one by one and not get them automatically from `config:recommended`, which includes `group:monorepo` and `group:recommended`

#### Replacement presets

14 changes: 7 additions & 7 deletions docs/usage/config-presets.md
Original file line number Diff line number Diff line change
@@ -101,7 +101,7 @@ You can set a Git tag (like a SemVer) to use a specific release of your shared c
An example of a small rule is `:preserveSemverRanges`, which has the description "Preserve (but continue to upgrade) any existing SemVer ranges.".
It simply sets the configuration option `rangeStrategy` to `replace`.

An example of a full config is `config:base`, which is Renovate's default configuration.
An example of a full config is `config:recommended`, which is Renovate's default configuration.
It mostly uses Renovate config defaults but adds a few smart customizations such as grouping monorepo packages together.

<!-- prettier-ignore -->
@@ -111,27 +111,27 @@ It mostly uses Renovate config defaults but adds a few smart customizations such

## How to Use Preset Configs

By default, Renovate App's onboarding PR suggests the `["config:base]"` preset.
If you're self hosting, and want to use the `config:base` preset, then you must add `"onboardingConfig": { "extends": ["config:base"] }` to your bot's config.
By default, Renovate App's onboarding PR suggests the `["config:recommended]"` preset.
If you're self hosting, and want to use the `config:recommended` preset, then you must add `"onboardingConfig": { "extends": ["config:recommended"] }` to your bot's config.

Read the [Full Config Presets](https://docs.renovatebot.com/presets-config/) page to learn more about our `config:` presets.

A typical onboarding `renovate.json` looks like this:

```json
{
"extends": ["config:base"]
"extends": ["config:recommended"]
}
```

Here's an example of using presets to change Renovate's behavior.
You're happy with the `config:base` preset, but want Renovate to create PRs when you're not at the office.
You're happy with the `config:recommended` preset, but want Renovate to create PRs when you're not at the office.
You look at our `schedule:` presets, and find the `schedule:nonOfficeHours` preset.
You put `schedule:nonOfficeHours` in the `extends` array of your `renovate.json` file, like this:

```json
{
"extends": ["config:base", "schedule:nonOfficeHours"]
"extends": ["config:recommended", "schedule:nonOfficeHours"]
}
```

@@ -256,7 +256,7 @@ For example:
"version": "0.0.1",
"renovate-config": {
"default": {
"extends": ["config:base", "schedule:nonOfficeHours"]
"extends": ["config:recommended", "schedule:nonOfficeHours"]
}
}
}
Loading