Swift 5.10 Release
MaxDesiatov
released this
06 Mar 15:00
·
606 commits
to main
since this release
Notable Changes
-
On macOS,
swift build
andswift run
now produce binaries that allow backtraces in debug builds. PassSWIFT_BACKTRACE=enable=yes
environment variable to enable backtraces on such binaries when running them. -
Binary artifacts are now cached alongside repository checkouts so they do not need to be re-downloaded across projects.
Merged Pull Requests
- Plugin import scanner isn't passing in the library directory, making
canImport
not work by @abertelrud in #6323 - Destinations: fix missing
remove
command message by @MaxDesiatov in #6319 - Mark types conforming to
FileSystem
asSendable
by @MaxDesiatov in #6318 - rdar://105991217 (Make macros testable) by @neonichu in #6312
- Rearrangement in preparation for 5.9 branching by @neonichu in #6309
- Use new shorthand syntax for unwrapping optionals by @sheikhbayazid in #6329
- Basics: clean up
DiagnosticsEngine
inObservability
by @MaxDesiatov in #6333 - better diagnostics when potentially duplicate packages are found by @tomerd in #6317
- improve diagnostics when registry configuration is broken by @tomerd in #6331
- better diagnostics for networking errors by @tomerd in #6330
- update docker compose with new swift versions by @tomerd in #6332
- Reduce errors from manifest signature validation by @yim-lee in #6325
- Fix compilation error in Swift 5.7.2 by @yim-lee in #6341
- cleanup mirror config command by @tomerd in #6339
- Destinations: throw error on duplicate artifact ID by @MaxDesiatov in #6343
- Package manifest checksum TOFU by @yim-lee in #6322
- Add 5.8 release notes by @tomerd in #6347
- Add templates for build tool plugins and command plugins by @neonichu in #6111
- PackageLoading: anchor relative paths for Windows by @compnerd in #6345
- change validation to throw instead of pre-condition to avoid crashes by @tomerd in #6354
- Fix deprecation warning in
PackageBuilder.swift
by @MaxDesiatov in #6360 - Do not pollute home directory with test data by @neonichu in #6364
- NFC: fix comment typo in
ZipArchiver
by @MaxDesiatov in #6366 - Expected signing entity verification by @neonichu in #6359
- Cross-compilation: fix bundles not unpacked on installation by @MaxDesiatov in #6361
- Support Target Grouping by @elsh in #6356
- Update registry service spec per SE-0391 by @yim-lee in #6275
- Include signing entity in version metadata by @neonichu in #6363
- rdar://107033737 (Expose
PackageVersionMetadata
fromPackageSearchClient
) by @neonichu in #6351 - [NFC] BuildOperation.swift: fix comment typo by @MaxDesiatov in #6379
- PackageModel, CoreCommands: fix build flags not passed by @MaxDesiatov in #6380
- Basics: add support for
.tar.gz
archives by @MaxDesiatov in #6368 - Fix product lookup by @neonichu in #6376
- Documentation on registry usage by @yim-lee in #6373
- Set a default value to the group param for a macro target by @elsh in #6384
- Basics: support multiple formats with a single archiver by @MaxDesiatov in #6369
- Fix symlinked
swift-experimental-destination
invocations by @MaxDesiatov in #6382 - Tests: use
FileManager
instead ofcp
by @compnerd in #4872 - PackageSigning: mark
SigningEntityType
asSendable
by @MaxDesiatov in #6390 - Basics: make
supportedExtensions
inUniversalArchiver
constant by @MaxDesiatov in #6388 - PackageModelTests: fix warnings in
DestinationBundleTests
by @MaxDesiatov in #6391 - sort identities from url lookup to make lookup result consistent by @tomerd in #6397
- Basics: allow reusing cancellator handlers from
SwiftTool
by @MaxDesiatov in #6396 - Package: adjust the package definition for Windows by @compnerd in #6394
- Add a minimal test for the PD macro API by @neonichu in #6399
- On ELF platforms, only add runpaths as needed by @finagolfin in #6321
- ManifestSourceGeneration incorrectly writes out
DriverKit
instead ofdriverKit
by @abertelrud in #6405 - Add author to collection package release metadata by @yim-lee in #6408
- Add publication time to registry package release metadata by @yim-lee in #6407
- Destinations: use
UniversalArchiver
ininstall
command by @MaxDesiatov in #6392 - Improve Swift Macro template by @ahoppen in #6410
- A few fixes for building SwiftPM for MacCatalyst by @neonichu in #6414
- Add author and signer to package collection models by @yim-lee in #6415
- Fix iOS buid by @neonichu in #6419
- Format test target in the macro package consistently with other targets by @ahoppen in #6421
- Bump SwiftPM's minimum deployment target to macOS 12 by @neonichu in #6138
- Use exact SwiftCrypto version to work around self-hosting failure by @MaxDesiatov in #6428
- Update CODEOWNERS by @neonichu in #6432
- Re-enable disabled tests by @neonichu in #6422
- Basics: remove
AsyncFileSystem
as unused by @MaxDesiatov in #6436 - Rename "CC Destination" to "Swift SDK" by @MaxDesiatov in #6424
- Update to swift-crypto 2.4.1 by @yim-lee in #6431
- Build: fix duplicate
case
ofswitch
inBuildPlan.swift
by @MaxDesiatov in #6389 - Expose
SigningEntity
via package metadata by @neonichu in #6442 - fix functional test by @tomerd in #6437
- Change
testPluginCanBeReferencedByProductName
by @neonichu in #6443 - refactor RelativePath to allow late stage canonicalization in support of windows by @tomerd in #5910
- bootstrap: fix use of deprecated
-Xmanifest
flag by @MaxDesiatov in #6435 - quiet down redundant warnings for binary targets with multiple info.plist by @tomerd in #6445
- Update BUG_REPORT.yml by @compnerd in #6449
- Newly created build tool and command plugin templates should have conditional support for XcodeProjectPlugin by @abertelrud in #6446
- Tests: adjust windows librarian test slightly by @compnerd in #6450
- NFC: 5.9 Documentation update. by @zkiraly in #6434
- Supplemental fix for XcodeProjectPlugin support in package init template by @abertelrud in #6451
- BuildTests: remove some likely debugging leftovers by @compnerd in #6457
- Update macro API by @neonichu in #6459
- WorkspaceTests: simplify constant construction by @compnerd in #6461
- Update to swift-certificates 0.4.0 by @yim-lee in #6316
- Add unit test for surfacing potential regression from #5728 by @ncooke3 in #5991
- Change TargetGroup enum param to packageAccess bool in target declaration by @elsh in #6463
- Minor code cleanup in PackageSigning by @yim-lee in #6462
- Bump swift-certificates to 0.4.1 by @yim-lee in #6465
- Workspace: log both branch and revision during checkout by @MaxDesiatov in #6470
- Remove empty line in ArtifactsArchiveMetadata.swift by @mooyoung2309 in #6476
- Add macros to 5.9 tools-version by @neonichu in #6472
- Enable armv7em and os none triples by @rauhul in #6438
- Disable
testImportOfMissedDepWarning
by @neonichu in #6479 - Remove Target packageAccess param default value by @elsh in #6473
- Skip SDK dependent tests in macOS bootstrap by @neonichu in #6480
- Disambiguate apple and darwin triples by @rauhul in #6478
- Support macro targets in plugin context by @neonichu in #6483
- [5.9] Editorial review changes of PackageDescription documentation. by @zkiraly in #6471
- improve string interpolation of errors by @tomerd in #6482
- Use assertMacroExpansion in test cases of macro template by @ahoppen in #6485
- CoreCommands: fix comment typo by @MaxDesiatov in #6489
- Fix some stream operator deprecation warnings by @MaxDesiatov in #6487
- fix VersionSetSpecifier calculation for versions with pre-release identifiers by @tomerd in #6492
- Commands/Utilities: remove
GenerateLinuxMain
by @MaxDesiatov in #6490 - reduce use of byte string by @tomerd in #6497
- Fix warnings by @neonichu in #6496
- Tests: prefer to use
first
rather than indexing by @compnerd in #6502 - Tests: prefer to use
first
rather than indexing by @compnerd in #6503 - Fix use of XCTest minimum deployment target by @neonichu in #6504
- Basics: introduce some native path representation helpers by @compnerd in #6454
- PackageRegistry: improve error handling of availability check by @tomerd in #6506
- Put
CommandsTests
behindSWIFTCI_DISABLE_SDK_DEPENDENT_TESTS
by @neonichu in #6507 - Improve handling of tool build flags by @rauhul in #6475
- Allow enabling C++ interop without explicit version by @egorzhdan in #6416
- move Product, SwiftPMProductError from TSC to SwiftPM by @tomerd in #6515
- Rewrite PackageCollectionsSigning using swift-certificates by @yim-lee in #6468
- refactor path model by @tomerd in #6509
- sandbox: UInt8 is too small to hold a TCP or UDP port by @euanh in #6518
- Fix CHANGELOG.md’s link by @Kyle-Ye in #6523
- Fix plugin templates by @neonichu in #6517
- Remove 10.15 fallback for manifest/plugin compilation by @neonichu in #6526
- PackageLoadingTests: ensure that we use the correct path spelling by @compnerd in #6510
- Run build tool plugins for C-family targets by @neonichu in #6516
- Fix Swift SDK bundles not working due to quarantine by @MaxDesiatov in #6426
- Enable package visibility feature for tools-version 5.9 by @elsh in #6534
- SourceControl: rename
useBuiltinFSMonitor
tofsmonitor
by @compnerd in #6549 - Add comma to executable template by @neonichu in #6551
- SourceControl: centralise git cloning by @compnerd in #6550
- SourceControl: attempt to enable long path support for Windows by @compnerd in #6553
- Documentation fixes for
PluginNetworkPermissionScope
. by @zkiraly in #6555 - Wrap registry login errors by @neonichu in #6556
- BuildPlan: infer
-lc++
based on run-time triple by @MaxDesiatov in #6581 - SwiftSDKBundle.swift: update strings to use "Swift SDK" naming by @MaxDesiatov in #6579
- Improve error message for 'package-registry publish' by @yim-lee in #6576
- Remove the version parameter for C++ interop mode build setting by @egorzhdan in #6583
- Fix
Triple
formatting in error messages by @MaxDesiatov in #6544 - rdar://109108066 (Derive '-external-plugin-path' compiler arguments in SwiftPM) by @neonichu in #6560
- Build: remove unused parameter by @compnerd in #6587
- Add token-file option to 'package-registry login' by @yim-lee in #6567
- Swift SDKs: refactor and extend
SwiftSDKBundleTests
by @MaxDesiatov in #6588 - Delete macOS triple hardcode by @aleksproger in #6569
- Update
build-using-self
by @neonichu in #6594 - Stop using llbuild's Swift compiler tool by @neonichu in #6585
- Commands/SwiftTestTool.swift: update TestCaseSpecifier doc comments by @MaxDesiatov in #6604
- Adopt
swift-certificates
0.6.0
by @dnadoba in #6528 - Registry login interactive mode cannot read password/token over 128 chars long by @yim-lee in #6562
- Change PackageCollectionSigning API from callback-based to async/await by @yim-lee in #6609
- Write link file list as a build command by @neonichu in #6606
- BuildDescription: Set output path for bc files by @rauhul in #6611
- Use constants instead of strings for platform versions by @neonichu in #6616
withLock
should be marked as having a discardable result by @neonichu in #6615- IntegrationTests: fix use of deprecated
RelativePath.init
by @MaxDesiatov in #6620 - Handle swift-sdk search paths by @rauhul in #6608
- Build: migrate to file lists for driver invocations by @compnerd in #6573
- Fix missing link in
Documentation/Registry.md
by @revolter in #6628 - Add PackageDescription platform constants for the 2023 Apple OS versions by @abertelrud in #6636
- [NFC] SwiftPMProduct.swift: fix use of deprecated initializer by @MaxDesiatov in #6641
- SwiftSDKTool: convert previously blocking code to
async
by @MaxDesiatov in #6623 - [cxx-interop] pass the C++ language standard to Clang importer in Swi… by @hyp in #6649
- Improve macros test template by @neonichu in #6646
- Tests: attempt to handle arc separators in tests by @compnerd in #6653
- Workspace,Build: reduce
mtime
updates by @compnerd in #6655 - [docs] Requiring System Libraries with .systemLibrary targets by @natikgadzhi in #6634
- CoreCommands,PackageModel: introduce
-debug-format
option by @compnerd in #6659 - Use swift-driver triple by @rauhul in #6627
- Add
visionOS
as a platform alongsideiOS
,tvOS
,watchOS
, and the others by @abertelrud in #6662 - Support String Catalogs in Packages when using XCBuild by @matthewseaman in #6645
- Remove
swiftpm-xctest-helper
by @neonichu in #6667 - Build: centralise the debug information flag handling by @compnerd in #6665
- Allow opt-out of PII in CONTRIBUTORS.txt by @therealbnut in #6670
- Tests: adjust the WalkPath test for Windows by @compnerd in #6669
- Do not store Swift object files in subdirectories by @neonichu in #6674
- Add support for Musl libc by @MaxDesiatov in #6666
- README.md: update copyright year to 2023 by @MaxDesiatov in #6677
- Update Swift SDK nomenclature by @MaxDesiatov in #6678
- refactor signature handling validations by @tomerd in #6680
- PackageModel: honour
.librarian
for toolsets by @compnerd in #6688 - Build: use target properties to define the target by @compnerd in #6687
- Remove extra paths added to LD_LIBRARY_PATH on Linux when running tests by @bnbarham in #6684
- [nfc] cleanup use of pins by @tomerd in #6694
- PackageLoading: enable the manifest VFS on Windows by @compnerd in #6693
- optimize repository updates by @tomerd in #6685
- build: silence a pkg-config warning on Windows by @compnerd in #6701
- CoreCommands: support
-debug-info-format none
for Windows by @compnerd in #6702 - Don't link plugin dependencies to products by @neonichu in #6695
- Preserve port when computing the login URL by @Palleas in #6711
- [NFC] Rename
Destination
type toSwiftSDK
by @MaxDesiatov in #6707 - Fix CMake build to explicitly pick up ar and ranlib from toolchain. by @al45tair in #6721
- Transition away from
Foundation.URL
by @neonichu in #6706 - Fix issues with excluding macros/plugins from dependency computation by @neonichu in #6723
- Restore
RepositorySpecifier.Location.gitURL
by @neonichu in #6725 - Disable tag.gpgsign in test git repos by @keith in #6727
- Remove -incremental when using -whole-module-optimization by @keith in #6728
- Add
SerializedJSON
type as string literal escaping helper by @MaxDesiatov in #6730 - Package plugins can't use the UniformTypeIdentifiers module by @ian-twilightcoder in #6731
- Clean up the testUniformTypeIdentifiers unit test by @ian-twilightcoder in #6735
- Build: correct a typo in an error message by @compnerd in #6736
- PackageLoading,Basics: properly handle cross-root manifests by @compnerd in #6734
- Add logging to KeychainAuthorizationProvider by @yim-lee in #6737
- Keychain credentials - better support for protocol and port by @yim-lee in #6738
- Build: filter
-use-ld=lld
fromswift-symbolgraph-extract
by @compnerd in #6742 - Add availability to source module APIs by @neonichu in #6744
- PackagePlugin: avoid warnings on Windows by overloading functions by @compnerd in #6718
- Keychain search to return all matches by @yim-lee in #6748
- fix dynamic library building issue by @miku1958 in #6751
- Fix an XCBuild compatibility issue by @neonichu in #6752
- Fix interpreter flags for manifests using pre-release tools-version by @neonichu in #6633
- Skip compiling plugins when skipping building by @neonichu in #6696
- Fix another XCBuild compatibility issue by @neonichu in #6762
- Workspace/Workspace.swift: fix
swift-frontend
warning by @neonichu in #6759 - Add subcommands to install and uninstall packages by @NSAntoine in #6768
- Update help message in
InstalledPackages.swift
by @MaxDesiatov in #6775 - Only pass
-framework
on platforms that support frameworks by @neonichu in #6778 - Remove
emitSwiftModuleSeparately
option by @neonichu in #6779 - canonicalize repository lcoation for storage path calculation by @tomerd in #6780
- prefer versions in package.resolved file when one exists and matches the original manifest by @tomerd in #6698
- Add documentation for package fingerprints by @yim-lee in #6785
- Fingerprint filename for the same Git repository is not consistent by @yim-lee in #6784
- better error message when cycle is detected by @tomerd in #6782
- Resolve sandbox issues on external volumes by @neonichu in #6773
- Set
-user-module-version
for any version-based package by @neonichu in #6781 - filter empty authorization tokens from headers by @tomerd in #6789
- improve error message when running into an unknown target dependency by @tomerd in #6787
- plugins: Build command plugin dependencies for the host, not the target by @euanh in #6791
- improve diagnostics when running into multiple product conflicts by @tomerd in #6792
- Support custom platforms in conditionals by @neonichu in #6794
- Update swift-syntax version in macro template by @neonichu in #6745
- Update tools-version for
-user-module-version
by @neonichu in #6795 - Bring back test fixes from 5.9 branch by @neonichu in #6797
- Add missing dependency by @neonichu in #6807
- add instrumentation probes for easier performance analysis by @tomerd in #6796
- Clean up some XCTSkips by @neonichu in #6808
- Fix dependencies in
SWIFTPM_LLBUILD_FWK
case by @neonichu in #6809 - Opt in to explicit target dependencies by @neonichu in #6810
- [netrc] Use the most recent match for auth by @yim-lee in #6811
- CLI commands should not require workspace to update user-level registries config by @yim-lee in #6812
- Commands: add missing dependency on LLBuildManifest by @compnerd in #6815
- Make SwiftPM test suite run parallel in Xcode by @neonichu in #6818
- Move the OpenAPI doc for package registry into a separate file by @czechboy0 in #6821
- Tests: adjust PackageModelTests for Windows by @compnerd in #6686
- Improve handling of non-macOS Darwin triples (reprise) by @kabiroberai in #6732
- Tests: adjust the BuildPlanTests for Windows by @compnerd in #6682
- Tests: adjust the ModuleAliasingBuildTests for Windows by @compnerd in #6831
- Do not use product identifier based lookup for older tools-versions by @neonichu in #6793
- Remove /usr/bin/../lib/ from directories passed to linker to look up libraries for target triple by @finagolfin in #6824
- Tests: adjust the tests for path spellings by @compnerd in #6835
- Improve version-specific manifest selection by @neonichu in #6801
- Tests: adjust the SerializedJSONTests on Windows by @compnerd in #6838
- Rely on resolved revision for branch dependencies by @neonichu in #6848
- Tests: adjust the expectations for Windows by @compnerd in #6852
- reduce redundant git operations by @tomerd in #6857
- increase number of concurrent git operations allowed by @tomerd in #6858
- Update CHANGELOG.md to reflect 5.9 scope by @tomerd in #6839
- Reduce calls to
getHostTriple()
by @neonichu in #6855 - Fix
swift package plugin --list
by @neonichu in #6805 - Fix
availableCommandPlugins()
by @neonichu in #6806 - Implement
swift-get-version
in SwiftPM by @neonichu in #6840 - Preserve environment in
tripleString(forPlatformVersion:)
by @kabiroberai in #6834 - Improve handling of broken JSON responses from XCTest helpers by @neonichu in #6860
- add performance probes for manifest loading by @tomerd in #6863
- Qualify use of
fatalError
withSwift
by @neonichu in #6847 - Remove fallback in
dummy-swiftc
by @neonichu in #6867 - Tests: adjust SPMBuildCoreTests for Windows by @compnerd in #6854
- [NFC] Remove unused parameter from pvt. method in
LLBuildManifestBuilder.swift
by @ncooke3 in #6826 - small perfromance fixes by @tomerd in #6870
- make preference of dependency URL more deterministic by @tomerd in #6871
- Add experimental test output by @neonichu in #6861
- Use llvm-ar as default librarian on Unix platforms by @finagolfin in #6829
- Update CODEOWNERS by @neonichu in #6874
- Fix
platforms
declaration inIntegrationTests
package by @neonichu in #6873 - Swift SDKs: implement
swiftResourcesPath
by @kabiroberai in #6717 - Fix testable executables once more by @neonichu in #6875
- Reduce XCTest minimum deployment target computation by @neonichu in #6849
- Support experimental test summary on non-Darwin by @neonichu in #6878
- Disable
IncrementalBuildTests
in unsupported environments by @neonichu in #6885 - [5.10] Update related dependencies branch to release/5.10 by @ahoppen in #6884
- Revert "missing pinned version" change for 5.10 by @neonichu in #6883
- Apply mirrors to root dependencies by @neonichu in #6765
- Fix missing
from
arguments in PackageDependency's comments by @bc-lee in #6876 - Update Product.swift to render the api description correctly by @x-0o0 in #6879
- Revert "Support experimental test summary on non-Darwin (#6878)" by @compnerd in #6887
- Improve test tool diagnostics by @neonichu in #6893
- Hide
--test-product
option by @neonichu in #6892 - Remove mailing list mention in
README.md
by @MaxDesiatov in #6895 - Do not process code coverage when tests failed by @neonichu in #6894
- Invoke build tool plugins based on
allTargets
by @neonichu in #6776 - Avoid host triple computation in
BuildParameters.forTriple()
by @neonichu in #6900 - Compute path to
swift-plugin-server
on demand by @neonichu in #6899 - Refine error message with package name suggestion by @mininny in #6897
- Fix remaining mentions of "cross-compilation destinations" by @MaxDesiatov in #6918
- [5.10] Rename "destination" to "Swift SDK" in comments and code by @MaxDesiatov in #6928
- [5.10] Fix remaining mentions of "cross-compilation destinations" by @MaxDesiatov in #6921
- [5.10] Fix backward compatibility in host triple checks by @MaxDesiatov in #6925
- Fix deprecation warnings by @neonichu in #6915
- Bump version to 5.10 by @neonichu in #6916
- Rename "destination" to "Swift SDK" in comments and code by @MaxDesiatov in #6927
- Package-level
moduleAliases
should be internal by @neonichu in #6917 - [NFC] Update SwiftPM-Package.xcscheme by @MaxDesiatov in #6926
- Swift SDKs: fix
toolset.linker.path
not passed to-ld-path
by @kabiroberai in #6719 - load => loadUnaligned by @neonichu in #6929
- Skip tests which need
-suppress-warnings
to work if it doesn't work by @neonichu in #6930 - Fix backward compatibility in host triple checks by @MaxDesiatov in #6819
- [5.10] Add and fix missing
Triple
tests by @MaxDesiatov in #6932 - Fix XCTest deployment target computation in
BuildPlan
by @neonichu in #6933 - Revert "Swift SDKs: fix
toolset.linker.path
not passed to-ld-path
(#6719)" by @neonichu in #6939 - Bring back "Support experimental test summary on non-Darwin" by @neonichu in #6938
- Support qualifiers for ambiguous plugin commands by @neonichu in #6920
- Disable the bootstrap checking for explicit target dependencies and remove wrong llbuild dependency by @finagolfin in #6909
- Revert "Fix
platforms
declaration inIntegrationTests
package (#6873)" by @neonichu in #6934 - Revert "missing pinned version" change for main by @neonichu in #6945
- Sort
swift experimental-sdk list
stdout output by @MaxDesiatov in #6942 - Delete
Utilities/build_ubuntu_cross_compilation_toolchain
by @MaxDesiatov in #6943 - Add and fix missing
Triple
tests by @MaxDesiatov in #6842 - Merge
main
intorelease/5.10
by @MaxDesiatov in #6953 - Read SwiftSyntax version for macro template from a configuration file by @neonichu in #6774
- do not emit "exhausted attempts to resolve the dependencies graph" when previous errors occurred by @tomerd in #6955
- Partially revert #6726 by @neonichu in #6954
- Use non-optional functions for
Data
conversion by @zunda-pixel in #6952 - Add "Creating a Macro Package" to
Usage.md
by @BrianHenryIE in #6944 - improve "exhausted attempts" diagnostics by @tomerd in #6956
- restore manifest in-memory cache by @tomerd in #6957
- Clarify/correct buildCommand docs by @dabrahams in #6941
- improve validation of existing checkouts by @tomerd in #6960
- Revert "Add diagnostics to use module aliasing when duplicate targets found (#5606)" by @neonichu in #6961
- Cache
mirrorIndex
inDependencyMirrors
by @neonichu in #6964 - only update local checkout if necessary by @tomerd in #6965
- [NFC] Split
LLBuildManifestBuilder.swift
into extension files by @MaxDesiatov in #6966 - filter out expected signals when logging test crashing by @tomerd in #6968
- [NFC] Build/Commands: fix
triple
property deprecation warnings by @MaxDesiatov in #6971 - Diagnose invalid module alias by @neonichu in #6841
- Fix to call
didFinishCommand
by @omochi in #6757 - Patch
*.sdk
paths from pkgConfig files to the current SDK by @fwcd in #6772 - [NFC] LLBuildManifest: add
WriteAuxiliary.EntitlementPlist
by @MaxDesiatov in #6975 - Tests: adjust tests for Windows path expectations by @compnerd in #6978
- Tests: special case deserialisation on Windows by @compnerd in #6980
- Add an rpath flag to disable the default of looking in the local directory for shared libraries by @finagolfin in #6947
- [NFC] Build/PackageModel: split
Target.swift
andBuildPlan.swift
by @MaxDesiatov in #6972 - [NFC] SPMBuildCore: make
BuildSystemProvider.Provider
a protocol by @MaxDesiatov in #6984 - Handle macOS CLT
--show-sdk-platform-path
issues by @neonichu in #6977 - Update swift-certificates to 1.0.1, swift-crypto to 3.0.0 by @yim-lee in #6949
- [NFC] Group
BuildParameters
properties into separate structs by @MaxDesiatov in #6976 - [5.10] Revert "Update swift-certificates to 1.0.1, swift-crypto to 3.0.0 (#6949)" by @yim-lee in #6988
- Fix Swift SDK handling URLs without filename components by @MaxDesiatov in #6708
- Use Swift Concurrency in
SwiftcImportScanner
by @MaxDesiatov in #6996 - Tests: cover testing multiple async executable targets by @kateinoigakukun in #6986
- [NFC] Fix deprecation in
IntegrationTests/SwiftPMTests.swift
by @MaxDesiatov in #6999 - [NFC] Move manifests-related code to
Workspace+Manifests.swift
by @MaxDesiatov in #7000 - [NFC] Fix typos in
PluginScriptRunner.swift
comments by @MaxDesiatov in #7008 - Filter superfluous diagnostics by @neonichu in #7003
- BuildTests: adjust the path rendering for Windows by @compnerd in #6985
- Do not use canonical location for checkouts by @neonichu in #7001
- Tests: mitigate progressivity issue in LegacyHTTPClientTests by @kateinoigakukun in #7011
- Remove outdated check for Ubuntu 14.04 and Clang 3.6 by @MaxDesiatov in #7012
- Add trailing newlines consistently in
InitPackage.swift
by @MaxDesiatov in #7013 - refine location comparison when pre-loading package state from local state by @tomerd in #7002
- [NFC] Remove unused imports of
TSCUtility.Diagnostics{Engine,}
by @MaxDesiatov in #7019 - SwiftSyntax version in new macro template has trailing period in dependency version, causing error reading manifest by @stmontgomery in #7018
- [NFC] Build: remove unused
TestBuildCommand.indent
function by @MaxDesiatov in #7017 - llbuild: Support
is-mutated
/is-command-timestamp
nodes by @MaxDesiatov in #7020 - Conditionalize
testInstallRemote
correctly by @neonichu in #7024 - Improve diagnostics if
testPackageContextName
fails by @neonichu in #7025 - Update iOS/tvOS deployment targets according to the SDKs by @MaxDesiatov in #7014
- Codesign w/ debugging entitlement for backtraces on macOS by @MaxDesiatov in #7010
- [NFC] Split
Workspace.swift
into smaller files by @MaxDesiatov in #7006 - Stop using implementation-only imports by @neonichu in #7026
isValidDirectory
andisValidRefFormat
should be throwing by @neonichu in #7033- Revert "refine location comparison when pre-loading package (#7002)" by @MaxDesiatov in #7031
- [NFC] CoreCommands: simplify
*get-task-allow-entitlement
flags by @MaxDesiatov in #7028 - Tests: avoid abnormal exit on failure by @compnerd in #7029
- Disable branch name validation by @neonichu in #7037
- bring back #7002 by @tomerd in #7039
- Generate Clang module maps during the build by @neonichu in #6983
- [5.10] Bring back "Update swift-certificates to 1.0.1, swift-crypto to 3.0.0 (#6949)" by @yim-lee in #6989
- Ensure Xcode SDK paths are set when running test targets. by @grynspan in #7040
- Revert "Generate Clang module maps during the build" by @neonichu in #7046
- Infer properties of derived test target. by @grynspan in #7041
- pass -fno-omit-frame-pointer in support of new backtracer by @tomerd in #7042
- Remove bogus SCM validation by @neonichu in #7048
- Disable
testCommandPluginInvocation
by @neonichu in #7051 - Support additional dependencies in forced resolution mode by @neonichu in #7023
- Swift SDKs: fix
toolset.linker.path
not passed to-ld-path
by @MaxDesiatov in #7021 - Revert "Ensure Xcode SDK paths are set when running test targets." by @neonichu in #7054
- Warn if specified
--toolchain
path doesn't exist by @MaxDesiatov in #7058 - Warn against absolute paths in
Documentation/Usage.md
by @MaxDesiatov in #7059 - filter transient env variables from manifest and plugin cache keys by @tomerd in #7056
- refactor dependency mapping by @tomerd in #7055
- cache DriverSupport capabilities across targets by @tomerd in #7057
- [NFC] XCBuildSupport: fix comment typo in
PIFBuilder.swift
by @MaxDesiatov in #7067 - PackageModel: make
Toolset.init(toolchainBinDir:buildFlags:)
public by @MaxDesiatov in #7064 - Fix broken links in documentation for PackageRegistry by @spqw in #7070
- Update bootstrap script to disable --parallel for testing by default by @shahmishal in #7073
- Skip
testDownloadDefaultAuthenticationSuccess
on CI by @neonichu in #7071 - FileList should conform to Collection by @dabrahams in #6845
- remove graph loading on package update by @tomerd in #7072
- Disable
testPackageNameFlag
by @neonichu in #7075 - Add
LLBuildManifestTests
to test plan by @neonichu in #7077 - Only show command output in verbose mode by @neonichu in #7078
- Revert "Update bootstrap script to disable --parallel for testing by default" by @neonichu in #7088
- Disable CMake bootstrap by default by @neonichu in #7089
- [5.10] Revert "Only show command output in verbose mode (#7078)" by @MaxDesiatov in #7131
- [5.10] Skip unknown XCBuild message types by @jakepetroules in #7139
- [5.10] cache binary artifact globally by @tomerd in #7146
- [5.10] validate local repository has the correct remote by @tomerd in #7147
- [5.10] adjust git call supported by older git clients by @tomerd in #7157
- [5.10] Add test fixture for
--experimental-lto-mode
option by @MaxDesiatov in #7166 - [5.10] make it possible to specify permitted network port access at runtime by @MaxDesiatov in #7178
- 🍒[cxx-interop] Make test discovery compatible with C++ interop by @egorzhdan in #7177
- 🍒[cxx-interop] Do not pass the C++ standard if C++ interop is not enabled by @egorzhdan in #7194
- [5.10] Set
file-system
asdevice-agnostic
in build manifest by @MaxDesiatov in #7189 - [5.10] Pass
-disable-sandbox
to Swift compiler if requested by @neonichu in #7227 - [5.10] Filter
codesign
messages by @neonichu in #7295 - [5.10] Gate new tests on
supportsSDKDependentTests()
by @neonichu in #7308 - [5.10] Bump swift-syntax version in the macro template by @neonichu in #7340
New Contributors
- @sheikhbayazid made their first contribution in #6329
- @mooyoung2309 made their first contribution in #6476
- @aleksproger made their first contribution in #6569
- @dnadoba made their first contribution in #6528
- @revolter made their first contribution in #6628
- @natikgadzhi made their first contribution in #6634
- @miku1958 made their first contribution in #6751
- @NSAntoine made their first contribution in #6768
- @kabiroberai made their first contribution in #6732
- @bc-lee made their first contribution in #6876
- @x-0o0 made their first contribution in #6879
- @mininny made their first contribution in #6897
- @zunda-pixel made their first contribution in #6952
- @BrianHenryIE made their first contribution in #6944
- @omochi made their first contribution in #6757
- @fwcd made their first contribution in #6772
- @spqw made their first contribution in #7070
Full Changelog: swift-5.9.2-RELEASE...swift-5.10-RELEASE