版本发布 8
## What's Changed * [6.2.2] Update branch version by @grynspan in https://github.com/swiftlang/swift-testing/pull/1411 * [6.2.2] Ensure `NonisolatedNonsendingByDefault` doesn't break exit tests. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1407 **Full Changelog**: https://github.com/swiftlang/swift-testing/compare/swift-6.2.1-RELEASE...swift-6.2.2-RELEASE
## What's Changed * Fix a non-portable target reference in CMake helper function by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/829 * Expand the 'Known Issues' documentation article by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/823 * [6.1] Remove '-dev' from package version by @grynspan in https://github.com/swiftlang/swift-testing/pull/831 * Configure CMake to build and install the Foundation cross-import overlay by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/825 * Document the steps for building & installing the project for macOS using CMake by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/835 * Revert "[6.1] Remove '-dev' from package version" by @grynspan in https://github.com/swiftlang/swift-testing/pull/838 * Bump the Swift version to 6.2 by @shahmishal in https://github.com/swiftlang/swift-testing/pull/833 * Don't install the binary Swift module when building for Apple platforms by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/837 * Change archive format for directories to .zip and add iOS/etc. support. by @grynspan in https://github.com/swiftlang/swift-testing/pull/826 * Add a CoreGraphics cross-import overlay with support for attaching `CGImage`s. by @grynspan in https://github.com/swiftlang/swift-testing/pull/827 * Fix DocC warnings and errors, including those from SPI by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/836 * Make `Attachment` conform to `CustomStringConvertible`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/849 * Adopt prerelease tags of swift-syntax-601. by @grynspan in https://github.com/swiftlang/swift-testing/pull/847 * Simplify the logic for parsing and handling test arguments in the @Test macro by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/834 * Fix multiline comments not rendering correctly at CLI. by @grynspan in https://github.com/swiftlang/swift-testing/pull/850 * Fix `posix_spawn()` error handling. by @grynspan in https://github.com/swiftlang/swift-testing/pull/855 * Add a `preferredName(for:basedOn:)` member to `Attachable` to allow customizing filenames. by @grynspan in https://github.com/swiftlang/swift-testing/pull/854 * build: tweak for portability with exceptions by @compnerd in https://github.com/swiftlang/swift-testing/pull/856 * Add example for how to test any error is thrown in the error testing documentation article by @heckj in https://github.com/swiftlang/swift-testing/pull/853 * [SWT-0006] Return the thrown error from `#expect(throws:)` and `#require(throws:)`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/780 * Change default behavior of exit tests to always succeed. by @grynspan in https://github.com/swiftlang/swift-testing/pull/858 * Remove an import of UniformTypeIdentifiers from the Foundation overlay. by @grynspan in https://github.com/swiftlang/swift-testing/pull/864 * Additional FreeBSD fixes by @michael-yuji in https://github.com/swiftlang/swift-testing/pull/865 * Fix more things on FreeBSD by @michael-yuji in https://github.com/swiftlang/swift-testing/pull/867 * Fix some typos in the new FreeBSD-specific code. by @grynspan in https://github.com/swiftlang/swift-testing/pull/871 * Add `@_spi` annotations to reexport decls in cross-import overlays. by @grynspan in https://github.com/swiftlang/swift-testing/pull/870 * Remove the workaround for swift-package-manager-#8111. by @grynspan in https://github.com/swiftlang/swift-testing/pull/872 * Don't use `@_semantics`, use our own attribute instead. by @grynspan in https://github.com/swiftlang/swift-testing/pull/874 * Mark `#expect(_:throws:)` and `#require(_:throws:)` as to-be-deprecated. by @grynspan in https://github.com/swiftlang/swift-testing/pull/875 * [docs] Correct the link of Proposal SWT-0006 by @lamtrinhdev in https://github.com/swiftlang/swift-testing/pull/877 * Remove the `introduced: 6.0` argument from the to-be-deprecated attributes on `#expect(performing:throws:)` and `#require(performing:throws:)`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/881 * Add speculative support for OpenBSD. by @grynspan in https://github.com/swiftlang/swift-testing/pull/890 * Revert "Work around a crash importing FoundationXML. (#786)" by @grynspan in https://github.com/swiftlang/swift-testing/pull/882 * Use the Toolhelp32 API to enumerate loaded Win32 modules. by @grynspan in https://github.com/swiftlang/swift-testing/pull/892 * Discover test content stored in the test content section of loaded images. by @grynspan in https://github.com/swiftlang/swift-testing/pull/893 * Add an attribute that emits a warning. by @grynspan in https://github.com/swiftlang/swift-testing/pull/895 * Add a missing `#if !SWT_NO_EXIT_TESTS`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/896 * [SWT-NNNN] Introduce API allowing traits to customize test execution by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/733 * Fix statically-linked platforms building new test content discovery code. by @grynspan in https://github.com/swiftlang/swift-testing/pull/897 * Use `Never` instead of `Void` as the fallback lock/mutex type. by @grynspan in https://github.com/swiftlang/swift-testing/pull/898 * Assign "Test Scoping Traits" proposal a number by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/900 * Fix several compile-time warnings that have snuck in. by @grynspan in https://github.com/swiftlang/swift-testing/pull/899 * Add support for raw identifiers. by @grynspan in https://github.com/swiftlang/swift-testing/pull/887 * Remove SPIAwareTrait and adopt TestScoping in its place by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/901 * Remove C++-based section discovery logic. by @grynspan in https://github.com/swiftlang/swift-testing/pull/902 * Remove some remnants of the C++ section discovery code that we no longer need. by @grynspan in https://github.com/swiftlang/swift-testing/pull/905 * Update .spi.yml by @finestructure in https://github.com/swiftlang/swift-testing/pull/908 * Remove @dennisweissmann from CODEOWNERS by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/910 * Update README.md's note about development toolchain requirements. by @grynspan in https://github.com/swiftlang/swift-testing/pull/911 * Don't capture arguments to `#expect(exitsWith:)` during macro expansion. by @grynspan in https://github.com/swiftlang/swift-testing/pull/912 * Refactor test content discovery to produce a sequence. by @grynspan in https://github.com/swiftlang/swift-testing/pull/914 * Fix the build for WASI by @tshortli in https://github.com/swiftlang/swift-testing/pull/916 * Revert #916 and apply a slightly different change. by @grynspan in https://github.com/swiftlang/swift-testing/pull/917 * Limit the amount of value reflection data expectation checking collects by default by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/915 * Don't allocate a buffer on the heap when enumerating type metadata. by @grynspan in https://github.com/swiftlang/swift-testing/pull/918 * Remove arm64e ptrauth resigning from test content discovery. by @grynspan in https://github.com/swiftlang/swift-testing/pull/919 * [TestingMacros] Remove reference to implicit backtracing import. by @al45tair in https://github.com/swiftlang/swift-testing/pull/921 * Make all test content types directly conform to `TestContent`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/920 * Use `swift_getErrorValue()` unless Objective-C is available. by @grynspan in https://github.com/swiftlang/swift-testing/pull/922 * Remove Stubs.cpp and reimplement what it has in Swift. by @grynspan in https://github.com/swiftlang/swift-testing/pull/929 * Declare Swift 6.1 availability for TestScoping-related APIs by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/927 * Update Documentation/README.md to cover more files. by @grynspan in https://github.com/swiftlang/swift-testing/pull/928 * Missing an explicit include of `<mach-o/dyld.h>` on Apple platforms. by @grynspan in https://github.com/swiftlang/swift-testing/pull/932 * Ensure the `ObjectiveC` module is visible to Discovery.swift by @grynspan in https://github.com/swiftlang/swift-testing/pull/933 * Fix building on FreeBSD via cmake by @michael-yuji in https://github.com/swiftlang/swift-testing/pull/925 * Implement `CommandLine.executablePath` on all Apple platforms. by @grynspan in https://github.com/swiftlang/swift-testing/pull/934 * [Code style] Require explicitly specified types for public properties by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/926 * Avoid using `String` while holding an internal libobjc lock. by @grynspan in https://github.com/swiftlang/swift-testing/pull/938 * Update `Comment` to use `CustomTestStringConvertible` during string interpolation. by @grynspan in https://github.com/swiftlang/swift-testing/pull/936 * Add a `type` argument to the ABI accessor function signature. by @grynspan in https://github.com/swiftlang/swift-testing/pull/939 * Simplify statically-linked section discovery. by @grynspan in https://github.com/swiftlang/swift-testing/pull/940 * Use `os_unfair_lock` on Darwin when available. by @grynspan in https://github.com/swiftlang/swift-testing/pull/942 * Introduce a severity level for issues, and a 'warning' severity by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/931 * Suppress warning about `#require(nonOptional)` in some cases. by @grynspan in https://github.com/swiftlang/swift-testing/pull/947 * Add a (internal-only) `CustomIssueRepresentable` protocol. by @grynspan in https://github.com/swiftlang/swift-testing/pull/945 * Revert "Introduce a severity level for issues, and a 'warning' severity (#931)" by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/950 * Introduce a severity level for issues, and a 'warning' severity (un-revert #931) by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/952 * Some fixes/cleanup to TestContent.md by @grynspan in https://github.com/swiftlang/swift-testing/pull/948 * Move JSON ABI source files to prepare for v1. by @grynspan in https://github.com/swiftlang/swift-testing/pull/953 * Require sendable userInfo values in JSON.withEncoding(of:userInfo:_:) by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/955 * Enable Library Evolution in package builds for public library targets by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/951 * Declare a package name for CMake builds and remove @_spi(ForSwiftTestingOnly) by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/954 * Revert "Require sendable userInfo values in JSON.withEncoding(of:userInfo:_:)" by @bnbarham in https://github.com/swiftlang/swift-testing/pull/957 * Cleaning recently changed docs by @iamleeg in https://github.com/swiftlang/swift-testing/pull/924 * Require sendable userInfo values in JSON.withEncoding(of:userInfo:_:) by @bnbarham in https://github.com/swiftlang/swift-testing/pull/959 * Update proposals to reflect implementation status, Swift version, and forum discussion links by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/961 * Improve the project's GitHub Issue templates by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/962 * Add an overview of test serialization to the XCTest migration guide by @iamleeg in https://github.com/swiftlang/swift-testing/pull/960 * Corrects use of XCTAssertEqual macro in parallelization examples. by @iamleeg in https://github.com/swiftlang/swift-testing/pull/963 * Plumb the schema version through the JSON ABI layers. by @grynspan in https://github.com/swiftlang/swift-testing/pull/956 * Remove references to Xcode 16 Beta 1 (just Xcode 16, please.) by @grynspan in https://github.com/swiftlang/swift-testing/pull/966 * Avoid calling `unsafeBitCast(_:to:)` to cast C function pointers. by @grynspan in https://github.com/swiftlang/swift-testing/pull/967 * Don't hard-code numeric representations of ABI versions. by @grynspan in https://github.com/swiftlang/swift-testing/pull/968 * Silence a warning on the latest 6.2-dev toolchain when building a test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/969 * Restrict use of a new overload of `contains()` to Apple platforms that have it. by @grynspan in https://github.com/swiftlang/swift-testing/pull/970 * Show the number of test cases that ran at the end of a test by @hrayatnia in https://github.com/swiftlang/swift-testing/pull/972 * Change the return types of test content accessors and add `ExitTest.current`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/974 * Delete sidecar DocC files. by @grynspan in https://github.com/swiftlang/swift-testing/pull/979 * Note in documentation when `#expect(throws:)` started returning a value. by @grynspan in https://github.com/swiftlang/swift-testing/pull/980 * Rename `ExitTestArtifacts` and split `ExitCondition` in twain. by @grynspan in https://github.com/swiftlang/swift-testing/pull/975 * Use more distinct characters for 'skip' and 'pass w/known issues' symbols by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/983 * Add a utility tool for previewing event symbol rendering by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/984 * JUnit XML recorder should ignore warning issues by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/986 * Diagnose when using a non-escapable type as suite. by @grynspan in https://github.com/swiftlang/swift-testing/pull/988 * Suppress `.unsafeFlags()` in Package.swift when tagging for release. by @grynspan in https://github.com/swiftlang/swift-testing/pull/991 * Relocate the proposal template to swift-evolution and update documentation accordingly by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/976 * Disable snapshot types on Android. by @grynspan in https://github.com/swiftlang/swift-testing/pull/994 * Begin installing textual .swiftinterface instead of binary .swiftmodule in toolchain builds for non-Apple platforms by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/982 * Add a new _TestDiscovery library/target. by @grynspan in https://github.com/swiftlang/swift-testing/pull/981 * build: restructure the installation location by @compnerd in https://github.com/swiftlang/swift-testing/pull/971 * build: update missed callsites of `get_swift_testing_install_lib_dir` by @compnerd in https://github.com/swiftlang/swift-testing/pull/999 * [CMake] Fix quote in a generator expression by @rintaro in https://github.com/swiftlang/swift-testing/pull/1002 * Fix link to Swift Forums by @ZevEisenberg in https://github.com/swiftlang/swift-testing/pull/1001 * Fix some broken links in Documentation by @plemarquand in https://github.com/swiftlang/swift-testing/pull/1003 * Raise `types(withNamesContaining:)` to SPI rather than `package`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1004 * Remove the "Result" section of this project's Pull Request template by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1005 * [CMake] Set CMP0157 to OLD when targeting Android with the Windows toolchain by @weliveindetail in https://github.com/swiftlang/swift-testing/pull/1009 * Refine type-based test discovery mechanism to use test content records. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1010 * Add ConditionTraitTests to cover the Swift 6.0 compiler issue for custom trait + closure + macro by @Kyle-Ye in https://github.com/swiftlang/swift-testing/pull/1008 * Store test content in a custom metadata section. by @grynspan in https://github.com/swiftlang/swift-testing/pull/880 * Fix crash when loading test content records from the type metadata section. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1015 * Enable upcoming feature 'MemberImportVisibility' and fix issues it reveals by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1020 * Don't emit `@_section` attributes unless the macro target has `SymbolLinkageMarkers`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1018 * Add a dedicated `TestContentKind` type to `_TestDiscovery`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1019 * Add a `reserved` argument to the test content record accessor signature. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1017 * Enable 'MemberImportVisibility' upcoming feature in CMake rules by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1022 * Continue encoding value for deprecated property in runner plan snapshot to avoid decoding error in clients by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1023 * build: avoid doubly nesting the swift module by @compnerd in https://github.com/swiftlang/swift-testing/pull/1025 * Represent non-encodable test argument values in Test.Case.ID by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1000 * Adjust a timing-sensitive TimeLimitTrait test to avoid flakiness in CI by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1029 * Rewrite static section bounds discovery in Swift. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1012 * build: account for spaces in the toolchain by @compnerd in https://github.com/swiftlang/swift-testing/pull/1030 * Change `Attachment.attach()` to `Attachment.record()` and `Attachable.withUnsafeBufferPointer()` to `Attachable.withUnsafeBytes()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1032 * Work around a compiler crash building `Attachment.record()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1033 * Ensure `Locked+Platform.swift` is not stripped when statically linking. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1035 * Remove unused "override comment" from ConditionTrait implementation by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1036 * Qualify `@__testing(warning:)` usage in macro expansion with module name and enhance a related unit test by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1038 * Add ConditionTrait.evaluate() by @Uncommon in https://github.com/swiftlang/swift-testing/pull/909 * Erase environment variables set by exit tests after reading them. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1044 * Pause child processes on spawn. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1042 * Emit a diagnostic if an exit test's body closure includes a capture list. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1046 * Replace CRC-32 with SHA-256 in our macro target by @grynspan in https://github.com/swiftlang/swift-testing/pull/1047 * Revert "Ensure `Locked+Platform.swift` is not stripped when statically linking. (#1035)" by @grynspan in https://github.com/swiftlang/swift-testing/pull/1050 * [6.2] Update version to 6.2. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1051 * Update the build version to 6.3-dev. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1052 * Miscellaneous bookkeeping/cleanup of `_TestDiscovery`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1055 * Use the entire SHA-256 hash as an exit test ID. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1053 * Add signal handler for `SIGABRT_COMPAT` on Windows. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1056 * [6.2] Miscellaneous bookkeeping/cleanup of `_TestDiscovery`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1057 * [6.2] Use the entire SHA-256 hash as an exit test ID. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1058 * [6.2] Add signal handler for `SIGABRT_COMPAT` on Windows. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1059 * [Experimental] Add Embedded Swift support to the `_TestDiscovery` target. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1043 * Don't use a class to store the current exit test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1065 * [6.2] Don't use a class to store the current exit test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1066 * Fully-qualify reference to Swift's `Actor` protocol in macro expansion code for synchronous test functions by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1067 * Promote attachments to API by @grynspan in https://github.com/swiftlang/swift-testing/pull/973 * Introduce a severity level when recording issues by @suzannaratcliff in https://github.com/swiftlang/swift-testing/pull/1070 * Add support for the `--attachments-path` CLI argument. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1074 * Add `CustomStringConvertible` conformance to `ExitTest.Condition` and `StatusAtExit`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1073 * Add isFailure to Issue by @suzannaratcliff in https://github.com/swiftlang/swift-testing/pull/1078 * Add `unsafe` keyword handling to macro expansions. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1069 * [Experimental] Capturing values in exit tests by @grynspan in https://github.com/swiftlang/swift-testing/pull/1040 * Ensure the .whenEmbedded() build setting condition evaluates to false when building for non-Embedded without a fallback condition by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1081 * Relax the alignment requirement for `DiscoverableAsTestContent.Context`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1076 * Enable Library Evolution for package-based builds of the _TestDiscovery target by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1082 * Update README to reference 6.1 CI jobs instead of 6.0 and add Windows job by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1083 * Enable experimental 'AllowUnsafeAttribute' feature to continue supporting 6.1 development snapshot toolchains by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1084 * Reserve the 'play' content kind in _TestDiscovery by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1090 * Update CODEOWNERS file by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1094 * Fix crash in ConsoleOutputRecorder when an issue has a comment with an empty string by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1091 * Fix build failure when building with pre-6.2 toolchain due to unrecognized `unsafe` keyword by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1093 * Merge 'main' branch to 'release/6.2' by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1088 * Include code comments before expectations which are preceded by try/await in recorded issues by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1092 * Merge 'main' branch to 'release/6.2' by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1095 * Fix image URL for Swift 6.1 Windows CI badge in README by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1096 * Add withKnownIssue comments to known Issues by @aroben in https://github.com/swiftlang/swift-testing/pull/1014 * Introduce issue handling trait (as SPI) by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1080 * Remove experimental status for evaluate() and add metadata by @Uncommon in https://github.com/swiftlang/swift-testing/pull/1097 * Promote exit tests to API by @grynspan in https://github.com/swiftlang/swift-testing/pull/324 * Work around a macOS CI failure by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1100 * Merge 'main' branch to 'release/6.2' by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1101 * Restore DocC `@Comment` blocks to documentation line comments by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1103 * Work around compiler bug affecting macro decls with #if-guarded availability when building w/legacy driver by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1106 * Simplify usages of withTaskGroup to infer ChildTaskResult type where possible by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1102 * Add missing Foundation imports to fix test build errors on iOS with MemberImportVisibility enabled by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1108 * Merge 'main' branch to 'release/6.2' by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1109 * Documentation: Update CMake.md to use the ABI entry point by @ADKaster in https://github.com/swiftlang/swift-testing/pull/828 * [CMake] Fix usage of lowercase or in condition by @drodriguez in https://github.com/swiftlang/swift-testing/pull/1117 * Include total number of suites in "run ended" console message by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1116 * Refinements to IssueHandlingTrait SPI by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1121 * Remove the 'triage-needed' label from New Issue templates by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1124 * Output console message for test case ended events in verbose mode, with status and issue counts by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1125 * Enable upcoming feature 'InferIsolatedConformances' and fix issues it reveals by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1126 * Merge 'main' branch to 'release/6.2' by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1127 * Revert "Work around a macOS CI failure (#1100)" by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1129 * Expand parameterized testing documentation to mention try/await support and showcase helper pattern by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1133 * Acknowledge unsafe API usages in code expanded from testing library macros by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1134 * Work around macOS build failures affecting test targets by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1139 * IssueHandlingTrait refinements: Rename to 'compactMapIssues' and special-case system issues by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1136 * Merge 'main' branch to 'release/6.2' by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1141 * Update outdated Suite macro documentation by @Wouter01 in https://github.com/swiftlang/swift-testing/pull/1142 * Disable inheritance of file descriptors created by Swift Testing by default. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1145 * Declare Xcode 26 availability for all Swift 6.2 APIs by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1148 * Use `posix_spawn_file_actions_adddup2()` to clear `FD_CLOEXEC`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1147 * Synthesize display names for de facto suites with raw identifiers. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1105 * Have `DiscoverableAsTestContent` enumeration produce `some Sequence` instead of `AnySequence`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1122 * Improve the diagnostics for a bad exit test capture. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1146 * Use our `posix_spawn()` wrapper in the Foundation CIO rather than `Process`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1114 * Add an unreachable marker function. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1150 * Remove `@convention(thin)` from exit test macro declarations. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1153 * Infer the types of function/closure arguments when captured by an exit test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1130 * Fix some typos in documentation. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1156 * Revert "Update outdated Suite macro documentation" by @grynspan in https://github.com/swiftlang/swift-testing/pull/1159 * Suppress the complex expansion of expectations when we see effects in the lexical context. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1161 * Improve type inference for exit test value captures. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1163 * Diagnose when we incorrectly infer the type of a capture list item in an exit test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1152 * Work around a compiler regression affecting exit test value capturing. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1171 * Merge 'main' branch to 'release/6.2' by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1170 * [6.2] Fix a miscompile when a test function has a raw identifier parameter label. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1173 * [6.2] Add (hidden) synchronous overloads of `#expect(throws:)`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1179 * [6.2] Remove redundant word from console output for test case started events in verbose mode by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1181 * [6.2] Ensure that when .serialized is applied to a parameterized @Test func, its test cases are serialized by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1190 * [6.2] FreeBSD: Gate GNU-only API by @etcwilde in https://github.com/swiftlang/swift-testing/pull/1194 * [6.2] Disallow the `@Test` attribute on operator declarations. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1207 * [6.2] Emit "barriers" into the stdout/stderr streams of an exit test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1220 * [6.2] Reset the working directory of child processes we spawn on Windows. by @grynspan in https://github.com/swiftlang/swift-testing/pull/1219 * [6.2] Only clear exit test ID env var upon successful lookup by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1227 * [6.2] Promote Issue Handling Traits to public API by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1228 * [6.2] Clarify the outcome of applying a timeLimit trait to a suite. (#1225) by @iamleeg in https://github.com/swiftlang/swift-testing/pull/1229 * [6.2] Declare Xcode 26 availability for IssueHandlingTrait by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1252 ## New Contributors * @heckj made their first contribution in https://github.com/swiftlang/swift-testing/pull/853 * @michael-yuji made their first contribution in https://github.com/swiftlang/swift-testing/pull/865 * @lamtrinhdev made their first contribution in https://github.com/swiftlang/swift-testing/pull/877 * @al45tair made their first contribution in https://github.com/swiftlang/swift-testing/pull/921 * @hrayatnia made their first contribution in https://github.com/swiftlang/swift-testing/pull/972 * @ZevEisenberg made their first contribution in https://github.com/swiftlang/swift-testing/pull/1001 * @plemarquand made their first contribution in https://github.com/swiftlang/swift-testing/pull/1003 * @weliveindetail made their first contribution in https://github.com/swiftlang/swift-testing/pull/1009 * @Uncommon made their first contribution in https://github.com/swiftlang/swift-testing/pull/909 * @aroben made their first contribution in https://github.com/swiftlang/swift-testing/pull/1014 * @drodriguez made their first contribution in https://github.com/swiftlang/swift-testing/pull/1117 * @Wouter01 made their first contribution in https://github.com/swiftlang/swift-testing/pull/1142 **Full Changelog**: https://github.com/swiftlang/swift-testing/compare/swift-6.1.3-RELEASE...swift-6.2-RELEASE
## What's Changed * 🍒6.1: [CMake] Set CMP0157 to OLD when targeting Android with the Windows toolchain (#1009) by @etcwilde in https://github.com/swiftlang/swift-testing/pull/1045 * Bump the Swift version to 6.1.2 by @shahmishal in https://github.com/swiftlang/swift-testing/pull/1061 * 🍒 [6.1.2] Fully-qualify reference to Swift's `Actor` protocol in macro expansion code for synchronous test functions by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1072 **Full Changelog**: https://github.com/swiftlang/swift-testing/compare/6.1.1...swift-6.1.2-RELEASE
## What's Changed * Bump the Swift version to 6.1.1 by @shahmishal in https://github.com/swiftlang/swift-testing/pull/1060 * 🍒 [6.1.1] Fully-qualify reference to Swift's `Actor` protocol in macro expansion code for synchronous test functions by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/1071 **Full Changelog**: https://github.com/swiftlang/swift-testing/compare/swift-6.1-RELEASE...swift-6.1.1-RELEASE
## What's Changed * Fixes to exit tests. by @grynspan in https://github.com/swiftlang/swift-testing/pull/615 * Allow move-only types as suites. by @grynspan in https://github.com/swiftlang/swift-testing/pull/619 * Remove stray use of old `SWT_BUILDING_WITH_CMAKE` condition. by @grynspan in https://github.com/swiftlang/swift-testing/pull/621 * Warn when passing a non-optional value to `try #require(T?)`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/620 * Reduce overhead of `.expectationChecked` event handling in `#expect()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/610 * Implement an overload of `confirmation()` that takes an unbounded range. by @grynspan in https://github.com/swiftlang/swift-testing/pull/598 * Fix a merge conflict on main-next. by @grynspan in https://github.com/swiftlang/swift-testing/pull/627 * Testing: use `clock_gettime` on Android by @compnerd in https://github.com/swiftlang/swift-testing/pull/629 * Disallow `@Test` on member functions of `XCTestCase` subclasses. by @grynspan in https://github.com/swiftlang/swift-testing/pull/626 * Improve test coverage of CustomTestStringConvertible.swift. by @grynspan in https://github.com/swiftlang/swift-testing/pull/628 * Testing: add some force unwraps for Android by @compnerd in https://github.com/swiftlang/swift-testing/pull/631 * Fix incorrectly-specified platform list in CMake file. by @grynspan in https://github.com/swiftlang/swift-testing/pull/633 * Fix build errors in `ExitCondition` operators on platforms without exit tests. by @grynspan in https://github.com/swiftlang/swift-testing/pull/635 * Merge main-next into main. by @grynspan in https://github.com/swiftlang/swift-testing/pull/636 * Special-case comparisons of ranges in `__checkBinaryOperation()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/640 * Don't define `swt_getWASIVersion()` on non-WASI. by @grynspan in https://github.com/swiftlang/swift-testing/pull/632 * Set the library version reported via CMake to 6.1-dev. by @grynspan in https://github.com/swiftlang/swift-testing/pull/637 * [6.0] Fix incorrectly-specified platform list in CMake file. by @grynspan in https://github.com/swiftlang/swift-testing/pull/634 * Add `isolation` argument to functions taking non-sendable async closures. by @grynspan in https://github.com/swiftlang/swift-testing/pull/624 * Generalize optional chaining detection used by `#require()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/625 * Plumb through the testing library version into a function instead of a C++ macro. by @grynspan in https://github.com/swiftlang/swift-testing/pull/648 * [CMake] Fix build with SwiftTesting_BuildMacrosAsExecutables option set by @ADKaster in https://github.com/swiftlang/swift-testing/pull/645 * Special-case `FileHandle(forWritingAtPath: "CONOUT$")` on Windows. by @grynspan in https://github.com/swiftlang/swift-testing/pull/654 * Add basic platform support for Android. by @grynspan in https://github.com/swiftlang/swift-testing/pull/653 * [android] fix 32 bit android build by @hyp in https://github.com/swiftlang/swift-testing/pull/656 * Optimizations to `Backtrace.current()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/647 * Do not include sysctl.h on Linux. by @grynspan in https://github.com/swiftlang/swift-testing/pull/660 * Add support for capturing backtraces from typed throws. by @grynspan in https://github.com/swiftlang/swift-testing/pull/642 * Optimize `failureBreakpoint()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/655 * Add an EditorConfig file by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/600 * Remove `#expect(throws: Never.self)` and `#require(throws: Never.self)` as distinct overloads. by @grynspan in https://github.com/swiftlang/swift-testing/pull/661 * Replace rethrows with typed throws in Graph by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/662 * Work around compiler regression causing CI failure. by @grynspan in https://github.com/swiftlang/swift-testing/pull/664 * Work around swiftinterface generation bug on Windows. by @grynspan in https://github.com/swiftlang/swift-testing/pull/663 * Work around the swiftinterface generation issue for Android too by @hyp in https://github.com/swiftlang/swift-testing/pull/665 * Don't use `Synchronization.Atomic` for `deliverExpectationCheckedEvents`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/666 * Exit tests shouldn't emit crash logs. by @grynspan in https://github.com/swiftlang/swift-testing/pull/670 * CMake: Install `_TestingInternals` in static library builds by @kateinoigakukun in https://github.com/swiftlang/swift-testing/pull/651 * Fix a typo in a call of install path getter function name by @kateinoigakukun in https://github.com/swiftlang/swift-testing/pull/672 * Ask Foundation to capture `NSError`/`CFError` backtraces for us. by @grynspan in https://github.com/swiftlang/swift-testing/pull/673 * Expose the target triple as a separate string from the testing library version. by @grynspan in https://github.com/swiftlang/swift-testing/pull/652 * Revert "Replace rethrows with typed throws in Graph" by @artemcm in https://github.com/swiftlang/swift-testing/pull/679 * Silence a concurrency warning on Linux/Windows building an actor-isolated test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/680 * [android] fix the build by @hyp in https://github.com/swiftlang/swift-testing/pull/681 * Add the current configuration to `Event.Context`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/677 * Optionally symbolicate backtraces. by @grynspan in https://github.com/swiftlang/swift-testing/pull/676 * Add platform-specific branches for FreeBSD. by @grynspan in https://github.com/swiftlang/swift-testing/pull/685 * Require explicit backtrace and source location when creating and recording issues by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/688 * Remove the `Confirmation.ExpectedCount` marker protocol. by @grynspan in https://github.com/swiftlang/swift-testing/pull/689 * Switch to official 600.0.0 tag for swift-syntax by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/690 * Move `spawnAndWait(forExecutableAtPath:)` to a separate file. by @grynspan in https://github.com/swiftlang/swift-testing/pull/695 * Un-revert "Replace rethrows with typed throws in Graph" by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/692 * Add a `Pipe` type. by @grynspan in https://github.com/swiftlang/swift-testing/pull/694 * Disable pipes code on WASI. by @grynspan in https://github.com/swiftlang/swift-testing/pull/699 * CMake: Use `CMAKE_SYSTEM_NAME STREQUAL "WASI"` instead of `WASI` by @kateinoigakukun in https://github.com/swiftlang/swift-testing/pull/700 * Support: unwrap storage for parameter to `pipe` by @compnerd in https://github.com/swiftlang/swift-testing/pull/703 * Hoist JSON Lines logic from EntryPoint.swift. by @grynspan in https://github.com/swiftlang/swift-testing/pull/701 * Add manpage links for FreeBSD headers mentioned in documentation. by @grynspan in https://github.com/swiftlang/swift-testing/pull/704 * Preserve `verbosity` argument in `HumanReadableOutputRecorder.record()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/707 * Remove TemporaryGettingStarted.md. by @grynspan in https://github.com/swiftlang/swift-testing/pull/706 * Make the `ExitTest` type move-only. by @grynspan in https://github.com/swiftlang/swift-testing/pull/712 * Add a document about porting to new platforms. by @grynspan in https://github.com/swiftlang/swift-testing/pull/711 * [CMake] Explicitly link Testing to Foundation by @rintaro in https://github.com/swiftlang/swift-testing/pull/693 * Record issues generated within exit tests. by @grynspan in https://github.com/swiftlang/swift-testing/pull/697 * Avoid accidental use of `#_sourceLocation` in the library target. by @grynspan in https://github.com/swiftlang/swift-testing/pull/722 * Avoid truncating the path to the test executable on Windows. by @grynspan in https://github.com/swiftlang/swift-testing/pull/724 * Remove extraneous @escaping and @Sendable attributes from CustomExecutionTrait.execute(...) SPI by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/726 * Walk PE files' sections instead of using `swift_enumerateAllMetadataSections()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/728 * Fix the 32-bit Windows build by @hjyamauchi in https://github.com/swiftlang/swift-testing/pull/731 * Don't use `swift_enumerateAllMetadataSections()` on WASI. by @grynspan in https://github.com/swiftlang/swift-testing/pull/730 * Only call `getsectiondata()` once per image. by @grynspan in https://github.com/swiftlang/swift-testing/pull/734 * Distinguish when an error is part of a recorded issue in an exit test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/718 * Reset default signal handlers on child processes before spawning them. by @grynspan in https://github.com/swiftlang/swift-testing/pull/732 * Set `RLIMIT_CORE=1` instead of `=0` on Linux. by @grynspan in https://github.com/swiftlang/swift-testing/pull/737 * Do not emit a `time=` attribute in JUnit output for skipped tests. by @grynspan in https://github.com/swiftlang/swift-testing/pull/741 * Inherit isolation in `#expect(exitsWith:)`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/736 * Fix macro expansion failure for a non-copyable suite type with a `test` method. by @grynspan in https://github.com/swiftlang/swift-testing/pull/739 * Disable reformatting of macro expansions. by @grynspan in https://github.com/swiftlang/swift-testing/pull/743 * Disable formatting for more macros. by @grynspan in https://github.com/swiftlang/swift-testing/pull/744 * Simplify the configuration option for synchronous test isolation. by @grynspan in https://github.com/swiftlang/swift-testing/pull/747 * Simplify the thunk names we generate for test functions. by @grynspan in https://github.com/swiftlang/swift-testing/pull/750 * Fix a test that fails to compile on 32-bit targets. by @grynspan in https://github.com/swiftlang/swift-testing/pull/753 * Work around a compiler crash trying to demangle an expression macro inside an attached macro expansion. by @grynspan in https://github.com/swiftlang/swift-testing/pull/754 * Stub out symbolication on platforms without dynamic linking/loading. by @grynspan in https://github.com/swiftlang/swift-testing/pull/758 * Remove unintentional label from 'isolated' parameter on a thunk emitted by @Test by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/759 * Combine the test discovery implementations for WASI and static Mach-O. by @grynspan in https://github.com/swiftlang/swift-testing/pull/761 * Update Porting.md to describe how to handle platforms that use static linkage. by @grynspan in https://github.com/swiftlang/swift-testing/pull/763 * Fix missing newlines in error JSON propagated from an exit test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/767 * Add `.index-build` to `.gitignore` by @MaxDesiatov in https://github.com/swiftlang/swift-testing/pull/768 * Split `SWT_NO_EXIT_TESTS` into `SWT_NO_EXIT_TESTS` and `SWT_NO_PROCESS_SPAWNING`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/769 * Add a return type for exit tests. by @grynspan in https://github.com/swiftlang/swift-testing/pull/762 * Update documentation to explain misconfigurations of `SWT_` conditions. by @grynspan in https://github.com/swiftlang/swift-testing/pull/772 * Handle signals on Windows in exit tests. by @grynspan in https://github.com/swiftlang/swift-testing/pull/766 * Avoid using `NTSTATUS` near `exit()`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/776 * Ensure trailing trivia is trimmed from @Suite trait expressions by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/778 * Make the result of an exit test optional with `#expect`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/779 * Add support for collecting `stdout` and `stderr` in an exit test. by @grynspan in https://github.com/swiftlang/swift-testing/pull/773 * Make `ExitTestArtifacts.observedValues` properly sendable. by @grynspan in https://github.com/swiftlang/swift-testing/pull/781 * Fix some compiler conditional uses (`SWT_NO_*`). by @grynspan in https://github.com/swiftlang/swift-testing/pull/782 * [SWT-0005] Range-based confirmations by @grynspan in https://github.com/swiftlang/swift-testing/pull/691 * Update documentation for new `confirmation()` overload. by @grynspan in https://github.com/swiftlang/swift-testing/pull/784 * Work around a crash importing FoundationXML. by @grynspan in https://github.com/swiftlang/swift-testing/pull/786 * Ensure the identifier of a "seen" object is only removed if the object's children were recursively reflected by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/787 * Attachments! by @grynspan in https://github.com/swiftlang/swift-testing/pull/770 * DNM: Revert "Attachments! (#770)" by @tshortli in https://github.com/swiftlang/swift-testing/pull/793 * Ensure the `Bool` overload of `__checkBinaryOperation()` is still preferred. by @grynspan in https://github.com/swiftlang/swift-testing/pull/797 * Attachments! [Take 2] by @grynspan in https://github.com/swiftlang/swift-testing/pull/796 * WASI: Access to `EEXIST` through a stub getter function by @kateinoigakukun in https://github.com/swiftlang/swift-testing/pull/800 * Test cleanup: Remove an obsolete fixture suite and add .hidden to a few tests by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/803 * Specify the module to find the ABI entry point function in (in our own tests). by @grynspan in https://github.com/swiftlang/swift-testing/pull/801 * Fix a crash when describing a confirmation failure with a range. by @grynspan in https://github.com/swiftlang/swift-testing/pull/806 * Add support for platform-specific unconditional availability. by @grynspan in https://github.com/swiftlang/swift-testing/pull/807 * Do not perform full expansion of `#expect()` when `try` or `await` is present. by @grynspan in https://github.com/swiftlang/swift-testing/pull/790 * Eagerly move attachable values to the heap. by @grynspan in https://github.com/swiftlang/swift-testing/pull/809 * Revert "Eagerly move attachable values to the heap. (#809)" by @grynspan in https://github.com/swiftlang/swift-testing/pull/810 * Provide an environment flag to disable error backtrace capturing. by @grynspan in https://github.com/swiftlang/swift-testing/pull/812 * Provide an opt-out conditional for lazy attachment encoding. by @grynspan in https://github.com/swiftlang/swift-testing/pull/811 * Refine the Foundation error backtracing guard by @briancroom in https://github.com/swiftlang/swift-testing/pull/813 * Update install to ensure the build directory is not added to the rpath by @bnbarham in https://github.com/swiftlang/swift-testing/pull/792 * Work around Windows build failure due to SwiftPM regression. by @grynspan in https://github.com/swiftlang/swift-testing/pull/816 * Fix how we check if a range expression covers one value. by @grynspan in https://github.com/swiftlang/swift-testing/pull/815 * Make `Test.Attachment` generic. by @grynspan in https://github.com/swiftlang/swift-testing/pull/814 * SourceLocation.init should enforce valid arguments by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/817 * Hoist `Attachment` and `Attachable` out of `Test`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/821 * Update DocC symbol references for `Attachment` _et al._ by @grynspan in https://github.com/swiftlang/swift-testing/pull/822 * Add support for attachments to the Foundation cross-import overlay. by @grynspan in https://github.com/swiftlang/swift-testing/pull/819 * Defer the recursive propagation of suite traits until after filtering by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/820 * Ensure tests representing containing types of suites are synthesized if necessary by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/407 * [6.1] Remove '-dev' from package version by @grynspan in https://github.com/swiftlang/swift-testing/pull/839 * [6.1] Fix multiline comments not rendering correctly at CLI. by @grynspan in https://github.com/swiftlang/swift-testing/pull/852 * [6.1] Adopt prerelease tags of swift-syntax-601. by @grynspan in https://github.com/swiftlang/swift-testing/pull/851 * [6.1] [SWT-0006] Return the thrown error from `#expect(throws:)` and `#require(throws:)`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/857 * [6.1] Mark `#expect(_:throws:)` and `#require(_:throws:)` as to-be-deprecated. by @grynspan in https://github.com/swiftlang/swift-testing/pull/879 * [6.1] Remove the `introduced: 6.0` argument from the to-be-deprecated attributes on `#expect(performing:throws:)` and `#require(performing:throws:)`. by @grynspan in https://github.com/swiftlang/swift-testing/pull/889 * [6.1] [SWT-0007] Introduce API allowing traits to customize test execution by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/907 * [6.1] Declare Swift 6.1 availability for TestScoping-related APIs by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/930 * [6.1] Suppress warning about `#require(nonOptional)` in some cases. by @grynspan in https://github.com/swiftlang/swift-testing/pull/949 * [6.1] Cleaning recently changed docs by @iamleeg in https://github.com/swiftlang/swift-testing/pull/958 * [6.1] Add an overview of test serialization to the XCTest migration guide by @iamleeg in https://github.com/swiftlang/swift-testing/pull/965 * [6.1] Note in documentation when `#expect(throws:)` started returning a value. by @grynspan in https://github.com/swiftlang/swift-testing/pull/990 * [6.1] Diagnose when using a non-escapable type as suite. by @grynspan in https://github.com/swiftlang/swift-testing/pull/992 * [6.1] Suppress `.unsafeFlags()` in Package.swift when tagging for release. by @grynspan in https://github.com/swiftlang/swift-testing/pull/993 ## New Contributors * @ADKaster made their first contribution in https://github.com/swiftlang/swift-testing/pull/645 * @artemcm made their first contribution in https://github.com/swiftlang/swift-testing/pull/679 * @hjyamauchi made their first contribution in https://github.com/swiftlang/swift-testing/pull/731 **Full Changelog**: https://github.com/swiftlang/swift-testing/compare/swift-6.0.3-RELEASE...swift-6.1-RELEASE
## What's Changed * [6.0] Switch to official 600.0.0 tag for swift-syntax (#708) by @stmontgomery in https://github.com/swiftlang/swift-testing/pull/721 * [6.0] Explicitly link to `Foundation` in CMake builds by @rintaro in https://github.com/swiftlang/swift-testing/pull/709 * Bump the Swift version to 6.0.3 by @shahmishal in https://github.com/swiftlang/swift-testing/pull/742 * [release/6.0] Testing: add some force unwraps for Android by @hyp in https://github.com/swiftlang/swift-testing/pull/830 * [6.0] Update install to ensure the build directory is not added to the rpath by @grynspan in https://github.com/swiftlang/swift-testing/pull/832 **Full Changelog**: https://github.com/swiftlang/swift-testing/compare/swift-6.0.2-RELEASE...swift-6.0.3-RELEASE
## What's Changed * Update version to 6.0.1. by @grynspan in https://github.com/swiftlang/swift-testing/pull/720 **Full Changelog**: https://github.com/swiftlang/swift-testing/compare/6.0.0...6.0.1