renovate/lib/modules/manager/swift
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
..
__fixtures__ feat(manager/swift): Support Swift 5.7 exact: syntax (#20072) 2023-02-14 08:16:42 +01:00
__snapshots__ refactor: PackageFile types (#20498) 2023-02-20 14:58:49 +00:00
extract.ts chore: fix swift coverage 2023-03-04 09:30:54 +01:00
index.spec.ts feat(manager/swift): Support Swift 5.7 exact: syntax (#20072) 2023-02-14 08:16:42 +01:00
index.ts feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942) 2023-03-10 09:25:45 +01:00
range.spec.ts feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942) 2023-03-10 09:25:45 +01:00
range.ts feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942) 2023-03-10 09:25:45 +01:00
readme.md feat(manager/swift): Support Swift 5.7 exact: syntax (#20072) 2023-02-14 08:16:42 +01:00
types.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00

Anything other than .exact(<...>) or exact:<...> will be treated as range with respect to Swift specific. Because of this, some PR descriptions will look like from: <...> => <...>.

Examples:

package(name: "<...>", .exact("1.2.3"))   // => 1.2.3
package(name: "<...>", exact: "1.2.3")    // => 1.2.3
package(name: "<...>", from: "1.2.3")     // => from: "2.0.0"
package(name: "<...>", "1.2.3"...)        // => "2.0.0"...
package(name: "<...>", "1.2.3"..."1.3.0") // => "1.2.3"..."2.0.0"
package(name: "<...>", "1.2.3"..<"1.3.0") // => "1.2.3"..<"2.0.0"
package(name: "<...>", ..."1.2.3")        // => ..."2.0.0"
package(name: "<...>", ..<"1.2.3")        // => ..<"2.0.0"