Skip to content

Releases: swiftlang/swift-testing

Swift 6.1.3 Release

08 Sep 21:45
1d1f7e4
Compare
Choose a tag to compare

What's Changed

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

Swift 6.2 Release

18 Sep 02:32
3fdabe5
Compare
Choose a tag to compare

What's Changed

  • Fix a non-portable target reference in CMake helper function by @stmontgomery in #829
  • Expand the 'Known Issues' documentation article by @stmontgomery in #823
  • [6.1] Remove '-dev' from package version by @grynspan in #831
  • Configure CMake to build and install the Foundation cross-import overlay by @stmontgomery in #825
  • Document the steps for building & installing the project for macOS using CMake by @stmontgomery in #835
  • Revert "[6.1] Remove '-dev' from package version" by @grynspan in #838
  • Bump the Swift version to 6.2 by @shahmishal in #833
  • Don't install the binary Swift module when building for Apple platforms by @stmontgomery in #837
  • Change archive format for directories to .zip and add iOS/etc. support. by @grynspan in #826
  • Add a CoreGraphics cross-import overlay with support for attaching CGImages. by @grynspan in #827
  • Fix DocC warnings and errors, including those from SPI by @stmontgomery in #836
  • Make Attachment conform to CustomStringConvertible. by @grynspan in #849
  • Adopt prerelease tags of swift-syntax-601. by @grynspan in #847
  • Simplify the logic for parsing and handling test arguments in the @test macro by @stmontgomery in #834
  • Fix multiline comments not rendering correctly at CLI. by @grynspan in #850
  • Fix posix_spawn() error handling. by @grynspan in #855
  • Add a preferredName(for:basedOn:) member to Attachable to allow customizing filenames. by @grynspan in #854
  • build: tweak for portability with exceptions by @compnerd in #856
  • Add example for how to test any error is thrown in the error testing documentation article by @heckj in #853
  • [SWT-0006] Return the thrown error from #expect(throws:) and #require(throws:). by @grynspan in #780
  • Change default behavior of exit tests to always succeed. by @grynspan in #858
  • Remove an import of UniformTypeIdentifiers from the Foundation overlay. by @grynspan in #864
  • Additional FreeBSD fixes by @michael-yuji in #865
  • Fix more things on FreeBSD by @michael-yuji in #867
  • Fix some typos in the new FreeBSD-specific code. by @grynspan in #871
  • Add @_spi annotations to reexport decls in cross-import overlays. by @grynspan in #870
  • Remove the workaround for swift-package-manager-#8111. by @grynspan in #872
  • Don't use @_semantics, use our own attribute instead. by @grynspan in #874
  • Mark #expect(_:throws:) and #require(_:throws:) as to-be-deprecated. by @grynspan in #875
  • [docs] Correct the link of Proposal SWT-0006 by @lamtrinhdev in #877
  • Remove the introduced: 6.0 argument from the to-be-deprecated attributes on #expect(performing:throws:) and #require(performing:throws:). by @grynspan in #881
  • Add speculative support for OpenBSD. by @grynspan in #890
  • Revert "Work around a crash importing FoundationXML. (#786)" by @grynspan in #882
  • Use the Toolhelp32 API to enumerate loaded Win32 modules. by @grynspan in #892
  • Discover test content stored in the test content section of loaded images. by @grynspan in #893
  • Add an attribute that emits a warning. by @grynspan in #895
  • Add a missing #if !SWT_NO_EXIT_TESTS. by @grynspan in #896
  • [SWT-NNNN] Introduce API allowing traits to customize test execution by @stmontgomery in #733
  • Fix statically-linked platforms building new test content discovery code. by @grynspan in #897
  • Use Never instead of Void as the fallback lock/mutex type. by @grynspan in #898
  • Assign "Test Scoping Traits" proposal a number by @stmontgomery in #900
  • Fix several compile-time warnings that have snuck in. by @grynspan in #899
  • Add support for raw identifiers. by @grynspan in #887
  • Remove SPIAwareTrait and adopt TestScoping in its place by @stmontgomery in #901
  • Remove C++-based section discovery logic. by @grynspan in #902
  • Remove some remnants of the C++ section discovery code that we no longer need. by @grynspan in #905
  • Update .spi.yml by @finestructure in #908
  • Remove @dennisweissmann from CODEOWNERS by @stmontgomery in #910
  • Update README.md's note about development toolchain requirements. by @grynspan in #911
  • Don't capture arguments to #expect(exitsWith:) during macro expansion. by @grynspan in #912
  • Refactor test content discovery to produce a sequence. by @grynspan in #914
  • Fix the build for WASI by @tshortli in #916
  • Revert #916 and apply a slightly different change. by @grynspan in #917
  • Limit the amount of value reflection data expectation checking collects by default by @stmontgomery in #915
  • Don't allocate a buffer on the heap when enumerating type metadata. by @grynspan in #918
  • Remove arm64e ptrauth resigning from test content discovery. by @grynspan in #919
  • [TestingMacros] Remove reference to implicit backtracing import. by @al45tair in #921
  • Make all test content types directly conform to TestContent. by @grynspan in #920
  • Use swift_getErrorValue() unless Objective-C is available. by @grynspan in #922
  • Remove Stubs.cpp and reimplement what it has in Swift. by @grynspan in #929
  • Declare Swift 6.1 availability for TestScoping-related APIs by @stmontgomery in #927
  • Update Documentation/README.md to cover more files. by @grynspan in #928
  • Missing an explicit include of <mach-o/dyld.h> on Apple platforms. by @grynspan in #932
  • Ensure the ObjectiveC module is visible to Discovery.swift by @grynspan in #933
  • Fix building on FreeBSD via cmake by @michael-yuji in #925
  • Implement CommandLine.executablePath on all Apple platforms. by @grynspan in #934
  • [Code style] Require explicitly specified types for public properties by @stmontgomery in #926
  • Avoid using String while holding an internal libobjc lock. by @grynspan in #938
  • Update Comment to use CustomTestStringConvertible during string interpolation. by @grynspan in #936
  • Add a type argument to the ABI accessor function signature. by @grynspan in #939
  • Simplify statically-linked section discovery. by @grynspan in #940
  • Use os_unfair_lock on Darwin when available. by @grynspan in #942
  • Introduce a severity level for issues, and a 'warning' severity by @stmontgomery in #931
  • Suppress warning about #require(nonOptional) in some cases. by @grynspan in #947
  • Add a (internal-only) CustomIssueRepresentable protocol. by @grynspan in #945
  • Revert "Introduce a severity level for issues, and a 'warning' severity (#931)" by @stmontgomery in #950
  • Introd...
Read more

Swift 6.1.2 Release

29 Aug 20:43
d6b70f9
Compare
Choose a tag to compare

What's Changed

  • 🍒6.1: [CMake] Set CMP0157 to OLD when targeting Android with the Windows toolchain (#1009) by @etcwilde in #1045
  • Bump the Swift version to 6.1.2 by @shahmishal in #1061
  • 🍒 [6.1.2] Fully-qualify reference to Swift's Actor protocol in macro expansion code for synchronous test functions by @stmontgomery in #1072

Full Changelog: 6.1.1...swift-6.1.2-RELEASE

Swift 6.1.1 Release

24 May 07:57
32cf2c5
Compare
Choose a tag to compare

What's Changed

  • Bump the Swift version to 6.1.1 by @shahmishal in #1060
  • 🍒 [6.1.1] Fully-qualify reference to Swift's Actor protocol in macro expansion code for synchronous test functions by @stmontgomery in #1071

Full Changelog: swift-6.1-RELEASE...swift-6.1.1-RELEASE

Swift 6.1 Release

01 Apr 08:22
43b6f88
Compare
Choose a tag to compare

What's Changed

  • Fixes to exit tests. by @grynspan in #615
  • Allow move-only types as suites. by @grynspan in #619
  • Remove stray use of old SWT_BUILDING_WITH_CMAKE condition. by @grynspan in #621
  • Warn when passing a non-optional value to try #require(T?). by @grynspan in #620
  • Reduce overhead of .expectationChecked event handling in #expect(). by @grynspan in #610
  • Implement an overload of confirmation() that takes an unbounded range. by @grynspan in #598
  • Fix a merge conflict on main-next. by @grynspan in #627
  • Testing: use clock_gettime on Android by @compnerd in #629
  • Disallow @Test on member functions of XCTestCase subclasses. by @grynspan in #626
  • Improve test coverage of CustomTestStringConvertible.swift. by @grynspan in #628
  • Testing: add some force unwraps for Android by @compnerd in #631
  • Fix incorrectly-specified platform list in CMake file. by @grynspan in #633
  • Fix build errors in ExitCondition operators on platforms without exit tests. by @grynspan in #635
  • Merge main-next into main. by @grynspan in #636
  • Special-case comparisons of ranges in __checkBinaryOperation(). by @grynspan in #640
  • Don't define swt_getWASIVersion() on non-WASI. by @grynspan in #632
  • Set the library version reported via CMake to 6.1-dev. by @grynspan in #637
  • [6.0] Fix incorrectly-specified platform list in CMake file. by @grynspan in #634
  • Add isolation argument to functions taking non-sendable async closures. by @grynspan in #624
  • Generalize optional chaining detection used by #require(). by @grynspan in #625
  • Plumb through the testing library version into a function instead of a C++ macro. by @grynspan in #648
  • [CMake] Fix build with SwiftTesting_BuildMacrosAsExecutables option set by @ADKaster in #645
  • Special-case FileHandle(forWritingAtPath: "CONOUT$") on Windows. by @grynspan in #654
  • Add basic platform support for Android. by @grynspan in #653
  • [android] fix 32 bit android build by @hyp in #656
  • Optimizations to Backtrace.current(). by @grynspan in #647
  • Do not include sysctl.h on Linux. by @grynspan in #660
  • Add support for capturing backtraces from typed throws. by @grynspan in #642
  • Optimize failureBreakpoint(). by @grynspan in #655
  • Add an EditorConfig file by @stmontgomery in #600
  • Remove #expect(throws: Never.self) and #require(throws: Never.self) as distinct overloads. by @grynspan in #661
  • Replace rethrows with typed throws in Graph by @stmontgomery in #662
  • Work around compiler regression causing CI failure. by @grynspan in #664
  • Work around swiftinterface generation bug on Windows. by @grynspan in #663
  • Work around the swiftinterface generation issue for Android too by @hyp in #665
  • Don't use Synchronization.Atomic for deliverExpectationCheckedEvents. by @grynspan in #666
  • Exit tests shouldn't emit crash logs. by @grynspan in #670
  • CMake: Install _TestingInternals in static library builds by @kateinoigakukun in #651
  • Fix a typo in a call of install path getter function name by @kateinoigakukun in #672
  • Ask Foundation to capture NSError/CFError backtraces for us. by @grynspan in #673
  • Expose the target triple as a separate string from the testing library version. by @grynspan in #652
  • Revert "Replace rethrows with typed throws in Graph" by @artemcm in #679
  • Silence a concurrency warning on Linux/Windows building an actor-isolated test. by @grynspan in #680
  • [android] fix the build by @hyp in #681
  • Add the current configuration to Event.Context. by @grynspan in #677
  • Optionally symbolicate backtraces. by @grynspan in #676
  • Add platform-specific branches for FreeBSD. by @grynspan in #685
  • Require explicit backtrace and source location when creating and recording issues by @stmontgomery in #688
  • Remove the Confirmation.ExpectedCount marker protocol. by @grynspan in #689
  • Switch to official 600.0.0 tag for swift-syntax by @stmontgomery in #690
  • Move spawnAndWait(forExecutableAtPath:) to a separate file. by @grynspan in #695
  • Un-revert "Replace rethrows with typed throws in Graph" by @stmontgomery in #692
  • Add a Pipe type. by @grynspan in #694
  • Disable pipes code on WASI. by @grynspan in #699
  • CMake: Use CMAKE_SYSTEM_NAME STREQUAL "WASI" instead of WASI by @kateinoigakukun in #700
  • Support: unwrap storage for parameter to pipe by @compnerd in #703
  • Hoist JSON Lines logic from EntryPoint.swift. by @grynspan in #701
  • Add manpage links for FreeBSD headers mentioned in documentation. by @grynspan in #704
  • Preserve verbosity argument in HumanReadableOutputRecorder.record(). by @grynspan in #707
  • Remove TemporaryGettingStarted.md. by @grynspan in #706
  • Make the ExitTest type move-only. by @grynspan in #712
  • Add a document about porting to new platforms. by @grynspan in #711
  • [CMake] Explicitly link Testing to Foundation by @rintaro in #693
  • Record issues generated within exit tests. by @grynspan in #697
  • Avoid accidental use of #_sourceLocation in the library target. by @grynspan in #722
  • Avoid truncating the path to the test executable on Windows. by @grynspan in #724
  • Remove extraneous @escaping and @sendable attributes from CustomExecutionTrait.execute(...) SPI by @stmontgomery in #726
  • Walk PE files' sections instead of using swift_enumerateAllMetadataSections(). by @grynspan in #728
  • Fix the 32-bit Windows build by @hjyamauchi in #731
  • Don't use swift_enumerateAllMetadataSections() on WASI. by @grynspan in #730
  • Only call getsectiondata() once per image. by @grynspan in #734
  • Distinguish when an error is part of a recorded issue in an exit test. by @grynspan in #718
  • Reset default signal handlers on child processes before spawning them. by @grynspan in #732
  • Set RLIMIT_CORE=1 instead of =0 on Linux. by @grynspan in #737
  • Do not emit a time= attribute in JUnit output for skipped tests. by @grynspan in #741
  • Inherit isolation in #expect(exitsWith:). by @grynspan in #736
  • Fix macro expansion failure for a non-copyable suite type with a test method. by @grynspan in #739
  • Disable reformatting of macro expansions. by @grynspan in #743
  • Disable formatting for more macros. by @grynspan in #744
  • Simplify the configuration option for syn...
Read more

Swift 6.0.3 Release

13 Dec 07:07
18c42c1
Compare
Choose a tag to compare

What's Changed

  • [6.0] Switch to official 600.0.0 tag for swift-syntax (#708) by @stmontgomery in #721
  • [6.0] Explicitly link to Foundation in CMake builds by @rintaro in #709
  • Bump the Swift version to 6.0.3 by @shahmishal in #742
  • [release/6.0] Testing: add some force unwraps for Android by @hyp in #830
  • [6.0] Update install to ensure the build directory is not added to the rpath by @grynspan in #832

Full Changelog: swift-6.0.2-RELEASE...swift-6.0.3-RELEASE

swift-6.0.2-RELEASE

28 Oct 18:16
cd448bb
Compare
Choose a tag to compare

What's Changed

  • Add isolation argument to functions taking non-sendable async closures. by @grynspan in #643
  • Reduce overhead of .expectationChecked event handling in #expect() (take 2) by @grynspan in #659

Full Changelog: swift-6.0.1-RELEASE...swift-6.0.2-RELEASE

swift-6.0.1-RELEASE

27 Oct 15:30
3249409
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.0.0...6.0.1

swift-6.0.0-RELEASE

27 Oct 15:30
9aa8076
Compare
Choose a tag to compare

Initial release with Swift 6.0.