Releases: swiftlang/swift-testing
Releases Β· swiftlang/swift-testing
Swift 6.3.2 Release
What's Changed
- [6.3.2] Fully-qualify reference to 'Comment' type in #expect expansion when comment argument isn't a string literal by @stmontgomery in #1652
- [6.3.2] Diagnose the use of a generic clause on
@Test,@Suite, and@Tag. by @grynspan in #1653 - Bump the Swift version to 6.3.2 by @shahmishal in #1661
- [6.3.2] Fix off-by-one error trimming barrier sequences from exit test output streams. by @grynspan in #1695
Full Changelog: swift-6.3.1-RELEASE...swift-6.3.2-RELEASE
Swift 6.3.1 Release
What's Changed
- Update the Swift version to 6.3.1 by @shahmishal in #1647
- [6.3.1] Fully-qualify reference to 'Comment' type in #expect expansion when comment argument isn't a string literal by @stmontgomery in #1648
Full Changelog: swift-6.3-RELEASE...swift-6.3.1-RELEASE
Swift 6.3 Release
What's Changed
- Fix a miscompile when a test function has a raw identifier parameter label. by @grynspan in #1168
- Lower the "ambiguous display name" diagnostic to a warning for some names. by @grynspan in #1175
- Revert portion of workaround landed in #1139 which disabled the mandatory perf optimization pass by @stmontgomery in #1172
- Add (hidden) synchronous overloads of
#expect(throws:). by @grynspan in #1178 - Remove redundant word from console output for test case started events in verbose mode by @stmontgomery in #1180
- Provide additional explanation for the Windows signal handling stuff. by @grynspan in #1182
- Ensure that when .serialized is applied to a parameterized @test func, its test cases are serialized by @stmontgomery in #1188
- order limits.h before stdlib.h to workaround for glibc _FORTIFY_SOURCE by @lhoward in #1184
- FreeBSD: Gate GNU-only API by @etcwilde in #1183
- Require
UTTypefor image attachments. by @grynspan in #1192 - Add a cross-import overlay with AppKit to allow attaching
NSImages. by @grynspan in #869 - Fixes to the AppKit/
NSImageoverlay. by @grynspan in #1196 - Add a temporary package product that builds our cross-import overlays. by @grynspan in #1197
- Apply the 'traitRelated' tag to more tests and suites by @stmontgomery in #1199
- Adopt
SuspendingClock.systemEpoch. by @grynspan in #1202 - Disallow the
@Testattribute on operator declarations. by @grynspan in #1205 - Add isFailure to ABI.EncodedIssue by @suzannaratcliff in #1211
- Bump the required compiler version for
systemEpochto 6.3. by @grynspan in #1213 - Clarify the number of supported argument collections in article which discusses combinatoric parameterized testing by @stmontgomery in #1210
- Reset the working directory of child processes we spawn on Windows. by @grynspan in #1212
- Use a custom
AttachableImageFormattype instead of directly relying onUTType. by @grynspan in #1203 - Remove a number of checks for compilers < 6.1. by @grynspan in #1214
- Add a cross-import overlay with CoreImage to allow attaching
CIImages. by @grynspan in #1195 - Add a cross-import overlay with UIKit to allow attaching
UIImages. by @grynspan in #1216 - Simplify
NSImageRep-checking logic to useBundle. by @grynspan in #1217 - Use a consistent definition for unreachable code in macro expansions. by @grynspan in #1166
- Make
ExitTest._currentimmutable. by @grynspan in #1218 - Emit "barriers" into the stdout/stderr streams of an exit test. by @grynspan in #1049
- Add missing links to
UIImagedocumentation. by @grynspan in #1223 - Clarify the outcome of applying a timeLimit trait to a suite. by @iamleeg in #1225
- Only clear exit test ID env var upon successful lookup by @stmontgomery in #1226
- Promote Issue Handling Traits to public API by @stmontgomery in #1198
- Validate format of event stream version CLI argument when passed by @stmontgomery in #1231
- Update docs for decoding stdout and stderr from exit tests by @simonjbeaumont in #1230
- Mention module name and presence in toolchain in README by @stmontgomery in #1233
- Revert "Work around a compiler regression affecting exit test value capturing. (#1171)" by @grynspan in #1208
- Enable exit test value capturing by @grynspan in #1165
- Add FreeBSD and OpenBSD as experimentally supported in the readme. by @grynspan in #1236
- Don't use
_getSuperclass()from the Swift runtime. by @grynspan in #1237 - Use the prefix
swift_testing_for future exported symbols. by @grynspan in #1238 - Remove
swt_copyABIEntryPoint_v0(). by @grynspan in #1240 - Silence a warning on FreeBSD/OpenBSD when calling
pthread_set_name_np(). by @grynspan in #1241 - Rename
"SWT_EXPERIMENTAL_CAPTURED_VALUES". by @grynspan in #1242 - Introduce a new
ABI.VersionNumbertype. by @grynspan in #1239 - Add additional
canImportchecks to AttachmentTests.swift by @grynspan in #1244 - Revert remaining workaround preventing the use of SymbolLinkageMarkers by @stmontgomery in #1234
- Windows image attachments by @grynspan in #1245
- Fix two broken Forum category links in this project's New Issue template chooser by @stmontgomery in #1248
- Remove experimental spi from issue severity by @suzannaratcliff in #1247
- Fix test: issueCountSummingAtRunEnd which was broken by #1247 by @suzannaratcliff in #1250
- Declare Xcode 26 availability for IssueHandlingTrait by @stmontgomery in #1251
- Various
VersionNumberchanges of merit. by @grynspan in #1246 - Rewrite Windows image attachments to use WIC instead of GDI+. by @grynspan in #1254
- Update docc comments for Issue.record by @suzannaratcliff in #1257
- Remove optionality from
_AttachableImageWrapper.wrappedValueon Windows. by @grynspan in #1258 - Harmonize
_AttachableImageWrapperandAttachableAs___across Darwin and Windows. by @grynspan in #1261 - Remove a workaround for a
URL.pathbug on Windows. by @grynspan in #1263 - Enhance documentation for URL attachments. by @grynspan in #1262
- Emit a diagnostic if a display name string is empty by @stmontgomery in #1256
- Test that the fixups are generated if display name is empty by @jerryjrchen in #1267
- Allow attaching an
IWICBitmapSourceinstance directly. by @grynspan in #1266 - Add experimental AdvancedConsoleOutputRecorder skeleton framework by @tienquocbui in #1253
- Revise Windows image attachments to match the draft API proposal. by @grynspan in #1268
- Propagate issue severity from exit test bodies. by @grynspan in #1272
- Add @jerryjrchen as a code owner. by @grynspan in #1273
- Reduce duplicated code between Darwin's and Windows' image attachments. by @grynspan in #1270
- Update README.md to point to 6.2 jobs. by @grynspan in #1275
- Refactor AdvancedConsoleOutputRecorder to use ABI.EncodedEvent architecture by @tienquocbui in #1281
- Tests link with libutil for openpty on OpenBSD. by @3405691582 in #1285
- Include severity and isFailure for Issues in the published JSON event stream by @jerryjrchen in #1279
- Update swift-syntax package dependency to 603 by @stmontgomery in #1286
- Ensure attachments created in exit tests are forwarded to the parent. by @grynspan in #1282
- Promote Darwin image attachments to API. by @grynspan in #1274
- Add experimental SPI to cancel a running test. by @grynspan in #1284
- Clarify note about supported target types in "Defining test functions" article by @stmontgomery in https://github.c...
Swift 6.2.4 Release
What's Changed
- Bump the Swift version to 6.2.4 by @shahmishal in #1465
Full Changelog: swift-6.2.3-RELEASE...swift-6.2.4-RELEASE
Swift 6.2.3 Release
What's Changed
- [6.2] Ensure
NonisolatedNonsendingByDefaultdoesn't break exit tests by @stmontgomery in #1421 - Update the Swift version to 6.2.3 by @shahmishal in #1433
Full Changelog: swift-6.2.2-RELEASE...swift-6.2.3-RELEASE
Swift 6.2.2 Release
What's Changed
- [6.2.2] Update branch version by @grynspan in #1411
- [6.2.2] Ensure
NonisolatedNonsendingByDefaultdoesn't break exit tests. by @grynspan in #1407
Full Changelog: swift-6.2.1-RELEASE...swift-6.2.2-RELEASE
Swift 6.1.3 Release
What's Changed
- Bump the Swift version to 6.1.3 by @shahmishal in #1288
Full Changelog: swift-6.1.2-RELEASE...swift-6.1.3-RELEASE
Swift 6.2.1 Release
What's Changed
- Bump the Swift version to 6.2.1 by @shahmishal in #1269
Full Changelog: swift-6.2-RELEASE...swift-6.2.1-RELEASE
Swift 6.2 Release
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
Attachmentconform toCustomStringConvertible. 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 toAttachableto 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
@_spiannotations 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.0argument 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
Neverinstead ofVoidas 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
ObjectiveCmodule is visible to Discovery.swift by @grynspan in #933 - Fix building on FreeBSD via cmake by @michael-yuji in #925
- Implement
CommandLine.executablePathon all Apple platforms. by @grynspan in #934 - [Code style] Require explicitly specified types for public properties by @stmontgomery in #926
- Avoid using
Stringwhile holding an internal libobjc lock. by @grynspan in #938 - Update
Commentto useCustomTestStringConvertibleduring string interpolation. by @grynspan in #936 - Add a
typeargument to the ABI accessor function signature. by @grynspan in #939 - Simplify statically-linked section discovery. by @grynspan in #940
- Use
os_unfair_lockon 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)
CustomIssueRepresentableprotocol. by @grynspan in #945 - Revert "Introduce a severity level for issues, and a 'warning' severity (#931)" by @stmontgomery in #950
- Introd...
Swift 6.1.2 Release
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
Actorprotocol in macro expansion code for synchronous test functions by @stmontgomery in #1072
Full Changelog: 6.1.1...swift-6.1.2-RELEASE