Skip to content

Commit 73729a2

Browse files
tomerdMaxDesiatovyim-lee
authored
Update CHANGELOG.md to reflect 5.9 scope (#6839)
motivation: accurate CHANGELOG.md changes: add missing features introduced in 5.9 reorder list chronologically --------- Co-authored-by: Max Desiatov <m_desiatov@apple.com> Co-authored-by: Yim Lee <yim_lee@apple.com>
1 parent 9554786 commit 73729a2

File tree

1 file changed

+51
-15
lines changed

1 file changed

+51
-15
lines changed

CHANGELOG.md

Lines changed: 51 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,51 +3,81 @@ Note: This is in reverse chronological order, so newer entries are added to the
33
Swift Next
44
-----------
55

6-
* [#6111]
7-
8-
Package creation using `package init` now also supports the build tool plugin and command plugin types.
9-
106
* [#5728]
117

128
In packages that specify resources using a future tools version, the generated resource bundle accessor will import `Foundation.Bundle` for its own implementation only. _Clients_ of such packages therefore no longer silently import `Foundation`, preventing inadvertent use of Foundation extensions to standard library APIs, which helps to avoid unexpected code size increases.
139

14-
* [#6185], [#6200]
15-
16-
Add a new `CompilerPluginSupport` module which contains the definition for macro targets. Macro targets allow authoring and distribution of custom Swift macros such as [expression macros](https://github.com/apple/swift-evolution/blob/main/proposals/0382-expression-macros.md).
1710

1811
Swift 5.9
1912
-----------
2013

14+
* [SE-0386]
15+
16+
SwiftPM packages can now use `package` as a new access modifier, allowing accessing symbols in another target / module within the same package without making it public.
17+
18+
* [SE-0387]
19+
20+
New `swift experimental-sdk` experimental command is now available for managing Swift SDK bundles that follow the format described in [SE-0387]: "Swift SDKs for Cross-Compilation".
21+
22+
* [SE-0391]
23+
24+
SwiftPM can now publish to a registry following the publishing spec as defined in [SE-0391]. SwiftPM also gains support for signed packages. Trust-on-first-use (TOFU) check which includes only fingerprints (e.g., checksums) previously has been extended to include signing identities, and it is enforced for source archives as well as package manifests.
25+
2126
* [#5966]
2227

2328
Plugin compilation can be influenced by using `-Xbuild-tools-swiftc` arguments in the SwiftPM command line. This is similar to the existing mechanism for influencing the manifest compilation using `-Xmanifest` arguments. Manifest compilation will also be influenced by `-Xbuild-tools-swiftc`, but only if no other `-Xmanifest` arguments are provided. Using `-Xmanifest` will show a deprecation message. `-Xmanifest` will be removed in the future.
2429

30+
* [#6060]
31+
32+
Support for building plugin dependencies for the host when cross-compiling.
33+
2534
* [#6067]
2635

2736
Basic support for a new `.embedInCode` resource rule which allows embedding the contents of the resource into the executable code by generating a byte array, e.g.
2837

2938
```
3039
struct PackageResources {
31-
static let best_txt: [UInt8] = [104,101,108,108,111,32,119,111,114,108,100,10]
40+
static let best_txt: [UInt8] = [104,101,108,108,111,32,119,111,114,108,100,10]
3241
}
3342
```
3443

35-
* [#6294]
44+
* [#6111]
3645

37-
When a package contains a single target, sources may be distributed anywhere within the `./Sources` directory. If sources are placed in a subdirectory under `./Sources/<target>`, or there is more than one target, the existing expectation for sources apply.
46+
Package creation using `package init` now also supports the build tool plugin and command plugin types.
3847

3948
* [#6114]
4049

4150
Added a new `allowNetworkConnections(scope:reason:)` for giving a command plugin permissions to access the network. Permissions can be scoped to Unix domain sockets in general or specifically for Docker, as well as local or remote IP connections which can be limited by port. For non-interactive use cases, there is also a `--allow-network-connections` commandline flag to allow network connections for a particular scope.
4251

43-
* [#6060]
44-
45-
Support for building plugin dependencies for the host when cross-compiling.
46-
4752
* [#6144]
4853

4954
Remove the `system-module` and `manifest` templates and clean up the remaining `empty`, `library`, and `executable` templates so they include the minimum information needed to get started, with links to documentation in the generated library, executable, and test content.
5055

56+
* [#6185], [#6200]
57+
58+
Add a new `CompilerPluginSupport` module which contains the definition for macro targets. Macro targets allow authoring and distribution of custom Swift macros such as [expression macros](https://github.com/apple/swift-evolution/blob/main/proposals/0382-expression-macros.md).
59+
60+
* [#6276]
61+
62+
Add new build setting in the package manifest that enables Swift/C++ Interoperability for a given Swift target.
63+
64+
```
65+
.interoperabilityMode(.Cxx, version: "swift-5.9")
66+
```
67+
68+
* [#6294]
69+
70+
When a package contains a single target, sources may be distributed anywhere within the `./Sources` directory. If sources are placed in a subdirectory under `./Sources/<target>`, or there is more than one target, the existing expectation for sources apply.
71+
72+
* [#6540]
73+
74+
Build tool plugins can be used with C-family targets
75+
76+
* [#6663]
77+
78+
Add `visionOS` as a platform alongside `iOS` and other platforms
79+
80+
5181
Swift 5.8
5282
-----------
5383

@@ -302,6 +332,9 @@ Swift 3.0
302332
[SE-0339]: https://github.com/apple/swift-evolution/blob/main/proposals/0339-module-aliasing-for-disambiguation.md
303333
[SE-0362]: https://github.com/apple/swift-evolution/blob/main/proposals/0362-piecemeal-future-features.md
304334
[SE-0378]: https://github.com/apple/swift-evolution/blob/main/proposals/0378-package-registry-auth.md
335+
[SE-0386]: https://github.com/apple/swift-evolution/blob/main/proposals/0386-package-access-modifier.md
336+
[SE-0387]: https://github.com/apple/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md
337+
[SE-0391]: https://github.com/apple/swift-evolution/blob/main/proposals/0391-package-registry-publish.md
305338

306339
[SR-5918]: https://bugs.swift.org/browse/SR-5918
307340
[SR-6978]: https://bugs.swift.org/browse/SR-6978
@@ -337,9 +370,12 @@ Swift 3.0
337370
[#5966]: https://github.com/apple/swift-package-manager/pull/5966
338371
[#6060]: https://github.com/apple/swift-package-manager/pull/6060
339372
[#6067]: https://github.com/apple/swift-package-manager/pull/6067
373+
[#6111]: https://github.com/apple/swift-package-manager/pull/6111
340374
[#6114]: https://github.com/apple/swift-package-manager/pull/6114
341375
[#6144]: https://github.com/apple/swift-package-manager/pull/6144
342376
[#6294]: https://github.com/apple/swift-package-manager/pull/6294
343377
[#6185]: https://github.com/apple/swift-package-manager/pull/6185
344378
[#6200]: https://github.com/apple/swift-package-manager/pull/6200
345-
[#6111]: https://github.com/apple/swift-package-manager/pull/6111
379+
[#6276]: https://github.com/apple/swift-package-manager/pull/6276
380+
[#6540]: https://github.com/apple/swift-package-manager/pull/6540
381+
[#6663]: https://github.com/apple/swift-package-manager/pull/6663

0 commit comments

Comments
 (0)