Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: v36 #21810

Merged
merged 19 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
5323633
feat!: allow post upgrade templating by default (#21326)
rarkins Apr 5, 2023
0cb3c58
feat(automerge)!: default to platformAutomerge=true (#21327)
rarkins Apr 5, 2023
f8de01f
feat(platform/gitlab)!: prefer `commit_email` (#21122)
viceice Apr 26, 2023
4d7b4fe
fix(post-upgrade-tasks)!: enable dot option for file filters (#21282)
bgutschke Apr 26, 2023
51d9fa7
feat(npm)!: disable rollbackPrs for npm by default (#21970)
rarkins May 5, 2023
37e6d12
fix(presets)!: remove compatibility:additionalBranchPrefix (#22015)
rarkins May 7, 2023
24e4eaa
feat(package-rules)!: remove fuzzy matchPaths matching (#22394)
rarkins May 24, 2023
3de23a1
feat!: merge matchPaths and matchFiles into matchFileNames (#22406)
rarkins May 25, 2023
86b8d83
feat!: replace `dockerImagePrefix` with `dockerSidecarImage` (#22708)
RahulGautamSingh Jun 17, 2023
7237f76
feat(release-notes)!: support configurable fetching stage (#22781)
RahulGautamSingh Jun 18, 2023
155711d
feat(npm): support constraintsFiltering=strict (#22447)
rarkins Jun 18, 2023
933e4dd
feat(package-rules)!: match packageName for matchPackageNames (#22703)
rarkins Jun 24, 2023
52bdb10
chore: fix docker exec test
rarkins Jun 27, 2023
085c180
feat!: remove BUILDPACK env support
rarkins Jun 27, 2023
abfa06d
feat(presets)!: rename `config:base` to `config:recommended` (#21136)
viceice Jun 27, 2023
5df0e29
feat(datasource)!: default to the central default versioning (#23020)
secustor Jun 29, 2023
8246d71
feat!: drop node v19 support (#23006)
rarkins Jul 1, 2023
8dc85b2
feat!: categories (#16534)
secustor Jul 4, 2023
ca06f6d
feat!: commit all files in postUpgradeTasks by default (#23126)
rarkins Jul 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Expand All @@ -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 | |
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/development/creating-editing-renovate-presets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 7 additions & 7 deletions docs/usage/config-presets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand All @@ -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"]
}
```

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