You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
Introduce a second version of `Package.resolved` file format which more accurately captures package identity.
39
+
36
40
*[#3890]
37
41
38
42
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
43
40
44
*[#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
+
47
51
Swift 5.5
48
52
-----------
49
53
*[#3410]
@@ -66,6 +70,7 @@ Swift 5.5
66
70
67
71
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.
68
72
73
+
69
74
Swift 5.4
70
75
-----------
71
76
*[#2937]
@@ -89,7 +94,6 @@ Swift 5.4
89
94
The package manager now throws an error if a manifest file contains invalid UTF-8 byte sequences.
90
95
91
96
92
-
93
97
Swift 4.2
94
98
---------
95
99
@@ -130,6 +134,7 @@ Swift 4.2
130
134
*[#1489]
131
135
A simpler progress bar is now generated for "dumb" terminals.
132
136
137
+
133
138
Swift 4.1
134
139
---------
135
140
@@ -152,6 +157,7 @@ Swift 4.0
152
157
*`--specifier` option for `swift test` is now deprecated.
0 commit comments