Skip to content

Swift 6.2 Release

Latest

Choose a tag to compare

@jakepetroules jakepetroules released this 14 Oct 06:11
· 406 commits to main since this release
3cf1cb6

What's Changed

  • Include the path to the platform's PrivateFrameworks directory in DYLD_FRAMEWORK_PATH when launching test runners by @stmontgomery in #8199
  • Re-enable APIDiff tests by @yyvch in #8196
  • use closefrom(2) on platforms supports it to reduce race condition window by @michael-yuji in #8201
  • Add support for a prebuilt swift-syntax library for macros by @dschaefer2 in #8142
  • Retrieve resolved package versions in parallel by @fortmarek in #8203
  • Revert "Retrieve resolved package versions in parallel" by @dschaefer2 in #8217
  • Removed unused dependency 'DriverSupport' from 'XCBuildSupport'. by @shawnhyam in #8213
  • Format XCBuildSupport target by @cmcgee1024 in #8221
  • Binary dependencies of C++ module break build planning by @furby-tm in #8056
  • _InternalTestSupport should not depend on Build by @neonichu in #8224
  • Tests: Canary Swift Testing test by @bkhouri in #8222
  • Add a test case for static products with a binary artifact dependency by @bnbarham in #8212
  • Update CI triggers in CONTRIBUTING.md by @shahmishal in #8187
  • Basics,_AsyncFileSystem: internalise SystemPackage by @compnerd in #8231
  • Fix registry package swizzling when package name casing differs by @fortmarek in #8194
  • Fix prepare for indexing so plugin tools are properly built. by @dschaefer2 in #8230
  • Add include dir from a clang module into the build args in diagnose-api-breaking-changes command. by @yyvch in #8209
  • SourceKitLSPAPI: export library as an interface by @compnerd in #8240
  • _AsyncFileSystem: reduce visibility of import (NFCI) by @compnerd in #8239
  • build: add missing dependencies by @compnerd in #8238
  • Basics: internalise Deque usage by @compnerd in #8237
  • Extract more build-related content from _InternalTestSupport by @owenv in #8242
  • Utilities: remove Yams from the bootstrap script by @compnerd in #8247
  • [FreeBSD] suspend all other threads before closing file descriptors by @michael-yuji in #8251
  • Apply toolset's debugger property in swift run by @MaxDesiatov in #8252
  • Apply toolset's testRunner property in swift test by @MaxDesiatov in #8254
  • NFC: Fix comment typo in TestCommandTests.swift by @MaxDesiatov in #8259
  • Handle paginated registry metadata responses by @plemarquand in #8219
  • Revert "Tests: Canary Swift Testing test" by @bkhouri in #8266
  • Update CODEOWNERS by @jakepetroules in #8270
  • Remove the forward slash '/' in the output by @shahmishal in #8280
  • Fix: preserve symlinks in ZipArchive compress function by @sphanley in #8250
  • Update xUnit to display output on failures by @bkhouri in #8147
  • Tests: Canary Swift Testing test by @bkhouri in #8267
  • Add titles to global option groups for better help screens by @natecook1000 in #8282
  • Allow relative path with swift package add-dependency command by @hi2gage in #7871
  • Add additional information by @bkhouri in #8291
  • Tests: Improve testVersion assertion and add duplicate symbol test by @bkhouri in #8293
  • Add new swift-crypto on asn1 to the bootstrap script by @cmcgee1024 in #8297
  • Add package access level to access level enums by @daniel-grumberg in #8261
  • Do not add rpath to swift-testing for CLT or custom toolchains by @bnbarham in #8295
  • pipeline: Convert build-using-self to python by @bkhouri in #8288
  • Add a new BuildDescription.load API for use in SourceKit-LSP by @bnbarham in #8286
  • Disable the testLTO test in MiscellaneousTests by @dschaefer2 in #8307
  • Update path to support swbuild if available by @bkhouri in #8306
  • build: define build path structure in BuildSystemProvider.Kind by @bkhouri in #8298
  • Fix retain cycle in LLBuildProgressTracker by @ahoppen in #8305
  • [SE-0458] Implement the strictMemorySafety Swift setting by @DougGregor in #8314
  • Align --build-system xcode language mode validation with --build-system native by @owenv in #8313
  • Deprecate sync methods in RegistryClient by @plemarquand in #8263
  • update CLanguageStandard c89 description by @esnssr in #8320
  • Create an alternate SwiftPM build system called Swift Build by @cmcgee1024 in #8271
  • Paralellize retrieving resolved packages by @fortmarek in #8220
  • Correct "Did you mean XYZ" messages when a dependency is not found. by @yyvch in #8303
  • Remove use of NSString.replacingOccurrences(of:with:) by @compnerd in #6650
  • Deprecate sync methods in RegistryDownloadsManager by @plemarquand in #8323
  • Add a SourceKit-LSP API to get the output paths of a clang target by @ahoppen in #8317
  • Fix building and testing on FreeBSD; Add FreeBSD platform support by @michael-yuji in #8193
  • Remove trailing comma from downloadAndPopulateCache by @ahoppen in #8328
  • Update contribution guide by @neonichu in #8329
  • [Traits] Disallow disabling default traits of a package without traits by @FranzBusch in #8326
  • Improve debug logging by @bkhouri in #8325
  • update Swift-driver dependency by @bkhouri in #8324
  • Clarify formatting changes in CONTRIBUTING.md by @MaxDesiatov in #8339
  • Remove trailing comma in RegistryDownloadsManager.swift by @ahoppen in #8340
  • Fix some broken links in Documentation by @plemarquand in #8343
  • Move traits into resolution phase by @bripeticca in #8205
  • Fix Swift 6.0 trailing comma compatibility by @ehyche in #8349
  • Include Swift Build support in second stage bootstrap builds by @owenv in #8334
  • Remove code that supports < Swift 6.0 by @plemarquand in #8348
  • Remove unnecessary @retroactive conformances by @plemarquand in #8353
  • Get run and test working against Swift Build. by @dschaefer2 in #8331
  • Revert "Include Swift Build support in second stage bootstrap builds" by @owenv in #8366
  • Add missing self in SwiftBuildSystem by @plemarquand in #8368
  • More swiftbuild testing by @cmcgee1024 in #8333
  • [Traits] Re-enable no unused dependencies assertion in TraitTests.swift by @bripeticca in #8360
  • Add infrastructure for updates to new Swift Build build system. by @shawnhyam in #8338
  • Followup to increasing swift-build test coverage by @cmcgee1024 in #8374
  • Reapply "Include Swift Build support in second stage bootstrap builds" by @owenv in #8373
  • Add toolchain swift stdlib to env when swift run. by @dschaefer2 in #8364
  • Fix test_initDictionaryFromSelf on Windows by @jakepetroules in #8367
  • Add more code owners to the SwiftPM repo by @cmcgee1024 in #8377
  • Fix unhandled platform condition w/ freeBSDFilters for PIFBuilder by @johnbute in #8359
  • Fix dependency conflict warnings by @bkhouri in #8376
  • Add more swiftbuild tests for functions that require swift run by @cmcgee1024 in #8375
  • Include the output paths for clang files in the sources property of a BuildDescription by @ahoppen in #8332
  • Avoid testing library package with swiftbuild build system on Windows by @cmcgee1024 in #8379
  • Remove ALTERNATE_LINKER build setting when building for Windows by @cmcgee1024 in #8381
  • Fixes for platforms that do not have RTLD_FIRST (e.g., Android) by @marcprux in #8372
  • Force the untar of the sample git repo to be the current user by @jakepetroules in #8382
  • Fixup several classes of warnings by @plemarquand in #8361
  • Revert "Add toolchain swift stdlib to env when swift run." by @rintaro in #8387
  • Remove trailing comma by @ahoppen in #8395
  • Add build times to swiftbuild build system by @cmcgee1024 in #8397
  • Add color-diagnostics/no-color-diagnostics CLI flags by @johnbute in #8365
  • Move integration tests to use swift-testing by @kcieplak in #8396
  • Allow creation of non-existent directory during swift package init by @plemarquand in #8401
  • Add a defaultIsolation static method on SwiftSetting. by @hborla in #8301
  • [Changelog] NFC: Add an entry for SE-0466 by @xedin in #8403
  • Provide context necessary to resolve identity conflict. by @yyvch in #8390
  • Add testing trait to indicate a CI environment that has restricted network access by @kcieplak in #8406
  • Remove trailing comma by @bkhouri in #8408
  • [Traits] Fix traits omitting used package dependencies by @bripeticca in #8399
  • NFC: Fix trailing commas by @DmT021 in #8415
  • Update swift-tools-version to 6.0 by @plemarquand in #8404
  • Introduces the new PIF builder for SwiftBuild by @pmattos in #8405
  • Remove usages of deprecated registry methods by @plemarquand in #8335
  • Remove unnecessary trys in PackagePIFProjectBuilder+* by @plemarquand in #8419
  • Fixup deprecation warning in PluginContext.Tool initializer by @plemarquand in #8422
  • Tests: Skip failing tests on windows by @bkhouri in #8210
  • Test: disable a SwiftBuild test on linux by @bkhouri in #8428
  • Docs: Update to reflect new pipeline by @bkhouri in #8429
  • Move files when using package add-target on single target package by @plemarquand in #8413
  • Fix typo, refine wording in Usage.md by @MaxDesiatov in #8423
  • Sever the package dependency if using SwiftBuild Framework by @bkhouri in #8434
  • Updates tests for execution on non Apple hosts. by @kcieplak in #8407
  • Revert "Sever the package dependency if using SwiftBuild Framework" by @bkhouri in #8437
  • Android: remove build flags that are no longer needed and force unwrap dlerror() by @finagolfin in #8438
  • Fix prebuild commands by @dschaefer2 in #8440
  • Properly disable testBuildCompleteMessage on Linux for SwiftBuild by @bkhouri in #8444
  • Use @main instead of top level code when initializing executable by @plemarquand in #8371
  • Bootstrap: update logic to support pre-and post python 3.8 by @bkhouri in #8446
  • Change related dependencies branch to release/6.2 by @ahoppen in #8481
  • Merge main to 6.2 by @dschaefer2 in #8516
  • 6.2 merge main by @dschaefer2 in #8580
  • 6.2 merge main by @dschaefer2 in #8608
  • [6.2] Tests: re-enabled swift-testing in bootstrap by @bkhouri in #8673
  • [6.2] Cherry pick Static Library Binary targets by @FranzBusch in #8705
  • 6.2: Use WasmKit by default for Wasm triples in toolsets by @MaxDesiatov in #8692
  • [6.2] Include search path for Swift Testing's macro plugin from toolchain if present by @stmontgomery in #8706
  • [6.2] Cherry-pick of all of the recent swift package migrate related fixes by @xedin in #8710
  • Dynamically determine the swift compiler version. by @dschaefer2 in #8707
  • [6.2] [Swift migrate] Handle migration for optional features (#8711) by @DougGregor in #8748
  • 6.2 merge main 0602 by @dschaefer2 in #8754
  • [6.2][PackageModel] Toolchain: A few fixes for features supported by Swift compiler by @xedin in #8762
  • [6.2] Allow prebuilt manifests to be updated as platforms are added. by @dschaefer2 in #8785
  • [6.2] Tests: Add "XCTSkipExhibits" call by @bkhouri in #8788
  • [6.2] Fixes a few issues with swift package {migrate, add-setting} commands by @xedin in #8812
  • [6.2] Add amended OS versions to SupportedPlatforms by @jakepetroules in #8816
  • [6.2][ModuleGraph] Bring back original check for implicit system libraries by @xedin in #8825
  • [6.2][Commands] SE-0481: Align the arguments to --target and `--to-featu… by @xedin in #8841
  • [6.2] Async git repository opening (#8721) by @plemarquand in #8853
  • Merge main to 6.2 - June24 by @dschaefer2 in #8865
  • Cherry picks FreeBSD fix to release/6.2 by @pmattos in #8878
  • Revert "Add SwiftBuildSupport to the primary libSwiftPM product (#8780)" by @bnbarham in #8882
  • Cherry-pick Support String Catalog symbol generation by adding String Catalogs as both Sources and Resources (#8815) by @dschaefer2 in #8905
  • Cherry-pick Allow C targets to import the compatibility header generated for Swift libraries #8736 by @dschaefer2 in #8906
  • Cherry-pick Fix pkgconfig file parsing on Windows. (#8904) by @dschaefer2 in #8909
  • [6.2] SwiftFixIt: Skip duplicate insertion fix-its by @AnthonyLatsis in #8915
  • [6.2] Add %p to LLVM_PROFILE_FILE pattern when running tests with coverage by @bkhouri in #8918
  • [6.2] AsyncProcess: simplify the code path to not depend on the TSC wrappers functions on Darwin by @jakepetroules in #8925
  • [6.2][Commands] Migrate: Avoid duplicate fix-its and manifest updates when… by @xedin in #8929
  • Bump swift-syntax in template to 602.0.0-latest by @rconnell9 in #8931
  • [6.2] swift-package-migrate: Hide global options by @AnthonyLatsis in #8935
  • Cherry-pick Fix --quiet option not working with swift run #8844 (#8858) by @dschaefer2 in #8907
  • Cherry-pick Disable check for unsafe flags. (#8896) by @dschaefer2 in #8914
  • [6.2][BuildPlan] Fix traverseModules to account for tests with direct ma… by @xedin in #8943
  • Cherry pick: Only enable unsafe flags if version 6.2 or newer by @dschaefer2 in #8954
  • [6.2][Commands] Allow omitting the target triple for swift sdk configure by @marcprux in #8953
  • [6.2] swift-package-migrate: Call SwiftFixIt once for all diagnostic files by @AnthonyLatsis in #8961
  • Cherry pick swiftCompilerTag and swift-syntax URL redirect by @dschaefer2 in #8960
  • Cherry-pick Assure trait-guarded dependencies are not included in resolution; precompute enabled traits before resolution (#8852) by @bripeticca in #8948
  • Add Swift release managers as codeowners for the release branch by @bnbarham in #8963
  • [6.2] swift-package-migrate: Miscellaneous low-risk improvements and more tests by @AnthonyLatsis in #8967
  • Cannot use Metal properly with Swift Packages by @rconnell9 in #8976

New Contributors

Full Changelog: swift-6.1.3-RELEASE...swift-6.2-RELEASE