Skip to content

Commit 14cd25a

Browse files
tomerdabertelrud
andauthored
Update CHANGELOG to describe new Package.resolved format (#3991)
* Update CHANGELOG to describe new Package.resolved format motivation: document user visible changes in change log changes: Update CHANGELOG to describe Package.resolved 2.0 format Co-authored-by: Anders Bertelrud <[email protected]>
1 parent ae5eca8 commit 14cd25a

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,21 @@ Swift 5.6
3333
* `.package(url: String, .revision(String))` -> `.package(url: String, revision: String)`
3434
* `.package(url: String, .exact(Version))` -> `.package(url: String, exact: Version)`
3535

36+
* [#3717]
37+
38+
Introduce a second version of `Package.resolved` file format which more accurately captures package identity.
39+
3640
* [#3890]
3741

3842
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.
3943

4044
* [#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.
46-
45+
46+
Location of configuration files (including mirror file) have changed to accomodate new features that require more robust configuration directories structure, such as SE-0292:
47+
* `<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.
48+
* `~/.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.
49+
50+
4751
Swift 5.5
4852
-----------
4953
* [#3410]
@@ -66,6 +70,7 @@ Swift 5.5
6670

6771
Test targets can now link against executable targets as if they were libraries, so that they can test any data structures or algorithms in them. All the code in the executable except for the main entry point itself is available to the unit test. Separate executables are still linked, and can be tested as a subprocess in the same way as before. This feature is available to tests defined in packages that have a tools version of `5.5` or newer.
6872

73+
6974
Swift 5.4
7075
-----------
7176
* [#2937]
@@ -89,7 +94,6 @@ Swift 5.4
8994
The package manager now throws an error if a manifest file contains invalid UTF-8 byte sequences.
9095

9196

92-
9397
Swift 4.2
9498
---------
9599

@@ -130,6 +134,7 @@ Swift 4.2
130134
* [#1489]
131135
A simpler progress bar is now generated for "dumb" terminals.
132136

137+
133138
Swift 4.1
134139
---------
135140

@@ -152,6 +157,7 @@ Swift 4.0
152157
* `--specifier` option for `swift test` is now deprecated.
153158
Use `--filter` instead which supports regex.
154159

160+
155161
Swift 3.0
156162
---------
157163

@@ -199,6 +205,7 @@ Swift 3.0
199205
[#3641]: https://github.com/apple/swift-package-manager/pull/3641
200206
[#3649]: https://github.com/apple/swift-package-manager/pull/3649
201207
[#3670]: https://github.com/apple/swift-package-manager/pull/3670
208+
[#3717]: https://github.com/apple/swift-package-manager/pull/3717
202209
[#3890]: https://github.com/apple/swift-package-manager/pull/3890
203210
[#3901]: https://github.com/apple/swift-package-manager/pull/3901
204211
[#3942]: https://github.com/apple/swift-package-manager/pull/3942

0 commit comments

Comments
 (0)