Skip to content

Commit ae5eca8

Browse files
tomerdabertelrud
andauthored
Update CHANGELOG to describe configuration files location changes (#3990)
* Update CHANGELOG to describe configuration files location changes motivation: document user visible changes in change log changes: Update CHANGELOG to include configuration files location changes Co-authored-by: Anders Bertelrud <[email protected]>
1 parent 6a1636e commit ae5eca8

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,24 @@ Swift 5.6
2525
* [#3641]
2626

2727
Adding a dependency requirement can now be done with the convenience initializer `.package(url: String, exact: Version)`.
28-
29-
* [#3890]
30-
31-
To increase the security of packages, SwiftPM performs trust on first use (TOFU) validation. The fingerprint of a package is now being recorded when the package is first downloaded from a Git repository or package registry. Subsequent downloads must have fingerpints matching previous recorded values, otherwise it would result in build warnings or failures depending on settings.
3228

3329
* [#3641]
3430

3531
Dependency requirement enum calling convention is deprecated in favour of labeled argument:
3632
* `.package(url: String, .branch(String))` -> `.package(url: String, branch: String)`
3733
* `.package(url: String, .revision(String))` -> `.package(url: String, revision: String)`
38-
* `.package(url: String, .exact(Version))` -> `.package(url: String, exact: Version)`
34+
* `.package(url: String, .exact(Version))` -> `.package(url: String, exact: Version)`
35+
36+
* [#3890]
37+
38+
To increase the security of packages, SwiftPM performs trust on first use (TOFU) validation. The fingerprint of a package is now being recorded when the package is first downloaded from a Git repository or package registry. Subsequent downloads must have fingerpints matching previous recorded values, otherwise it would result in build warnings or failures depending on settings.
39+
40+
* [#3670], [#3901], [#3942]
41+
42+
Location of configuration files (including mirror file) have changed to accomodate new features that require more robust configuration directories structure, such as SE-0292:
43+
44+
* `<project>/.swiftpm/config` (mirrors file) was moved to `<project>/.swiftpm/configuration/mirrors.json`. SwiftPM 5.6 will automatically copy the file from the old location to the new one and emit a warning to prompt the user to delete the file from the old location.
45+
* `~/.swiftpm/config/collections.json` (collections file) was moved to `~/.swiftpm/configuration/collections.json`. SwiftPM 5.6 will automatically copy the file from the old location to the new one and emit a warning to prompt the user to delete the file from the old location.
3946

4047
Swift 5.5
4148
-----------
@@ -191,4 +198,7 @@ Swift 3.0
191198
[#3486]: https://github.com/apple/swift-package-manager/pull/3486
192199
[#3641]: https://github.com/apple/swift-package-manager/pull/3641
193200
[#3649]: https://github.com/apple/swift-package-manager/pull/3649
201+
[#3670]: https://github.com/apple/swift-package-manager/pull/3670
194202
[#3890]: https://github.com/apple/swift-package-manager/pull/3890
203+
[#3901]: https://github.com/apple/swift-package-manager/pull/3901
204+
[#3942]: https://github.com/apple/swift-package-manager/pull/3942

0 commit comments

Comments
 (0)