Releases: pointfreeco/swift-issue-reporting
1.7.0
What's Changed
Important
This release contains a bug fix (#171) that may introduce new fatal errors or test failures to your test suite. Previous versions of Issue Reporting were swallowing test failures reported outside of a Swift Testing test's task. This release of Issue Reporting addresses this issue by always reporting issues to Swift Testing, regardless of current test task. In Swift <6.2, this results in a fatal error (the same behavior as Swift Testing when #expect
or Issue.record
is called outside a test's task). In Swift >=6.2, this results in a test failure that isn't attributed to a specific test (also matching the latest behavior in Swift Testing).
- Added: Overloads to
withErrorReporting
to prevent returning double-nested optionals from the operation (thanks @natemann, #168). - Fixed: Always invoke
Issue.record
andXCTFail
in tests to surface out-of-band Swift Testing failures (#171).
New Contributors
Full Changelog: 1.6.1...1.7.0
1.6.1
1.6.0
What's Changed
- Added: Test traits. #157
- Fixed: Fix empty message crash. #162
- Fixed: Fix Swift 5.10 toolchain issue on Linux builds by @Kolos65 in #159
- Infrastructure: Update installation instructions. #151
- Infrastructure: Issue context clean up. #158
- Infrastructure: Add test target without test support linking. #152
New Contributors
Full Changelog: 1.5.2...1.5.3
1.5.2
What's Changed
- Fixed: Add isolation to
withExpectedIssue
andwithIssueContext
(#147). - Fixed: Linux/Windows support for the Swift Testing framework (#149).
- Infrastructure: Add Android CI (thanks @johankool, #148).
Full Changelog: 1.5.1...1.5.2
1.5.1
What's Changed
- Fixed: Provide isolation to async
withErrorReporting
(#144). - Fixed: Pass
message
along in asyncwithErrorReporting
(#144).
Full Changelog: 1.5.0...1.5.1
1.5.0
What's Changed
- Added:
withErrorReporting
(#143). This helper wraps throwing work in a closure that automatically catches and reports errors thrown within. - Fixed: Compile for Android on CI (thanks @johankool, #142).
Full Changelog: 1.4.3...1.5.0
1.4.3
What's Changed
- Fixed: Android support (thanks @johankool, #138)
- Fixed: Properly surface runtime warnings for
reportIssue(error)
(thanks @Killectro, #140). - Infrastructure: CI fixes (#141).
New Contributors
- @johankool made their first contribution in #138
- @Killectro made their first contribution in #140
Full Changelog: 1.4.2...1.4.3
1.4.2
What's Changed
- Fixed: Emit runtime warning in previews via the console (#135).
- Fixed: Update Package.swift deprecated parameter name (thanks @zunda-pixel, #111).
New Contributors
- @zunda-pixel made their first contribution in #111
Full Changelog: 1.4.1...1.4.2
1.4.1
What's Changed
- Fixed: Xcode 16 Library Evolution support (thanks @gemmakbarlow, #133).
- Infrastructure: Update CI to use the Xcode 16 release (#132).
New Contributors
- @gemmakbarlow made their first contribution in #133
Full Changelog: 1.4.0...1.4.1
1.4.0
What's Changed
- Added:
TestContext.Testing.Test.ID.rawValue
, for returning a type-erased identifier matching Swift Testing's underlyingTest.ID
(#131).
Full Changelog: 1.3.1...1.4.0