Skip to content

Releases: pointfreeco/swift-issue-reporting

1.7.0

03 Oct 19:19
Compare
Choose a tag to compare

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 and XCTFail in tests to surface out-of-band Swift Testing failures (#171).

New Contributors

Full Changelog: 1.6.1...1.7.0

1.6.1

07 Aug 05:48
Compare
Choose a tag to compare

What's Changed

  • Fixed: Xcode 26 (Swift 6.2) support (#167).

Full Changelog: 1.6.0...1.6.1

1.6.0

19 Jul 01:49
23e3442
Compare
Choose a tag to compare

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

24 Feb 18:04
39de59b
Compare
Choose a tag to compare

What's Changed

  • Fixed: Add isolation to withExpectedIssue and withIssueContext (#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

30 Jan 19:33
Compare
Choose a tag to compare

What's Changed

  • Fixed: Provide isolation to async withErrorReporting (#144).
  • Fixed: Pass message along in async withErrorReporting (#144).

Full Changelog: 1.5.0...1.5.1

1.5.0

29 Jan 22:25
Compare
Choose a tag to compare

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

18 Nov 21:42
a3f634d
Compare
Choose a tag to compare

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

Full Changelog: 1.4.2...1.4.3

1.4.2

02 Oct 17:24
770f990
Compare
Choose a tag to compare

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

Full Changelog: 1.4.1...1.4.2

1.4.1

23 Sep 18:10
Compare
Choose a tag to compare

What's Changed

  • Fixed: Xcode 16 Library Evolution support (thanks @gemmakbarlow, #133).
  • Infrastructure: Update CI to use the Xcode 16 release (#132).

New Contributors

Full Changelog: 1.4.0...1.4.1

1.4.0

11 Sep 19:09
bc2a151
Compare
Choose a tag to compare

What's Changed

  • Added: TestContext.Testing.Test.ID.rawValue, for returning a type-erased identifier matching Swift Testing's underlying Test.ID (#131).

Full Changelog: 1.3.1...1.4.0