Skip to content

Automated Dependency Updates for Swift

Renovate supports updating Swift dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)Package\.swift.

For details on how to extend a manager's fileMatch value, please follow this link.

Additional Information

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

Examples:

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"