Skip to content

Releases: swiftlang/swift-testing

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.