From 0f876f556d27d933f1c4f241a822f075a8a42d50 Mon Sep 17 00:00:00 2001 From: Boris Buegling Date: Wed, 8 Feb 2023 10:12:30 -0800 Subject: [PATCH 1/2] Add changelog entries for recently added features. --- CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c42c7804932..983e36d504a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,28 @@ Swift Next 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. +* [#6067] + + Basic support for a new `.embed` resource rule which will allow embedding the contents of the resource into the executable code by generating a byte array, e.g. + + ``` + struct PackageResources { + static let best_txt: [UInt8] = [104,101,108,108,111,32,119,111,114,108,100,10] + } + ``` + + +Swift 5.9 +----------- + +* [#6114] + + 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. + +* [#6060] + + Support for building plugin dependencies for the host when cross-compiling. + Swift 5.8 ----------- From 1f5da22b24732cb7c580f794929f82865fa78131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20B=C3=BCgling?= Date: Wed, 8 Feb 2023 13:40:27 -0800 Subject: [PATCH 2/2] Update CHANGELOG.md Co-authored-by: Max Desiatov --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 983e36d504a..ddb24f5623d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ Swift Next * [#6067] - Basic support for a new `.embed` resource rule which will allow embedding the contents of the resource into the executable code by generating a byte array, e.g. + Basic support for a new `.embed` resource rule which allows embedding the contents of the resource into the executable code by generating a byte array, e.g. ``` struct PackageResources {