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!: default to rangeStrategy=auto, prefer update-lockfile #19942

Merged
merged 10 commits into from
Jan 28, 2023

Conversation

rarkins
Copy link
Collaborator

@rarkins rarkins commented Jan 20, 2023

Changes

Changes rangeStrategy default value from 'replace' to 'auto'.

Changes auto behavior so that update-lockfile is preferred if the manager supports the updateLockedDependency() function.

Context

Closes #19800

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

BREAKING CHANGE: Default behavior for rangeStrategy changed, updating lockfiles on by default when rangeStrategy=auto

@rarkins rarkins added the breaking Breaking change, requires major version bump label Jan 20, 2023
@rarkins rarkins requested a review from viceice January 20, 2023 11:34
@rarkins rarkins changed the title feat: default to rangeStrategy=auto, prefer update-lockfile feat!: default to rangeStrategy=auto, prefer update-lockfile Jan 20, 2023
lib/modules/manager/circleci/index.ts Outdated Show resolved Hide resolved
lib/modules/manager/circleci/index.ts Outdated Show resolved Hide resolved
lib/modules/manager/cargo/index.ts Outdated Show resolved Hide resolved
lib/modules/manager/cargo/index.ts Outdated Show resolved Hide resolved
lib/modules/manager/circleci/range.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/cargo/range.ts Outdated Show resolved Hide resolved
lib/modules/manager/conan/range.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/conan/range.ts Outdated Show resolved Hide resolved
lib/modules/manager/swift/range.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/swift/range.ts Outdated Show resolved Hide resolved
@rarkins rarkins requested a review from viceice January 21, 2023 07:21
@rarkins rarkins changed the base branch from main to v35 January 21, 2023 07:22
lib/modules/manager/cargo/range.spec.ts Outdated Show resolved Hide resolved
@viceice viceice mentioned this pull request Jan 23, 2023
6 tasks
@rarkins rarkins marked this pull request as ready for review January 28, 2023 06:50
@rarkins rarkins merged commit 1510acc into v35 Jan 28, 2023
@rarkins rarkins deleted the feat/19800-range-strategy-auto-default branch January 28, 2023 07:11
rarkins added a commit that referenced this pull request Jan 29, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
rarkins added a commit that referenced this pull request Jan 30, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
rarkins added a commit that referenced this pull request Jan 31, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
rarkins added a commit that referenced this pull request Feb 4, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
rarkins added a commit that referenced this pull request Feb 10, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
rarkins added a commit that referenced this pull request Feb 17, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
rarkins added a commit that referenced this pull request Feb 20, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
rarkins added a commit that referenced this pull request Feb 23, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
rarkins added a commit that referenced this pull request Feb 25, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
rarkins added a commit that referenced this pull request Feb 27, 2023
Changes `rangeStrategy` default value from `'replace'` to `'auto'`.

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.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking Breaking change, requires major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default to rangeStrategy=auto, prefer update-lockfile where present
2 participants