Skip to content

Releases: pointfreeco/swift-issue-reporting

0.8.6

18 Jul 22:12
245d527
Compare
Choose a tag to compare

What's Changed

  • Fixed: Better collocate XCTFail source code context (#67).

Full Changelog: 0.8.5...0.8.6

0.8.5

21 Apr 15:06
Compare
Choose a tag to compare

What's Changed

  • Changed: Invoking XCFail from a non-debug build now prints a warning to the console (#56).
  • Fixed: Silence warning new to Xcode 14.3 with explicit Foundation import (thanks @amonshiz, #57).

New Contributors

Full Changelog: 0.8.4...0.8.5

0.8.4

09 Mar 19:14
ab8c9f4
Compare
Choose a tag to compare
  • Fixed: A warning caused by optional interpolation has been fixed.

Full Changelog: 0.8.3...0.8.4

0.8.3

15 Feb 22:00
62041e6
Compare
Choose a tag to compare

What's Changed

  • Changed: The Host Application warning that is appended to XCTFail has been softened (#50).

Full Changelog: 0.8.2...0.8.3

0.8.2

07 Feb 01:03
ace2130
Compare
Choose a tag to compare

What's Changed

  • Added: XCTFail now detects when it's called from a host application, outside a test case stack and generates an appropriate warning (thanks @tgrapperon, #48). This can help folks diagnose when test helpers are called from their app targets and cause unrelated failures.

New Contributors

Full Changelog: 0.8.1...0.8.2

0.8.1

11 Jan 16:27
16b23a2
Compare
Choose a tag to compare

What's Changed

  • Fixed: Mark XCTFail as @_disfavoredOverload to avoid ambiguity when XCTest is imported (thanks @davdroman, #46).

New Contributors

Full Changelog: 0.8.0...0.8.1

0.8.0

30 Dec 20:23
a9daebf
Compare
Choose a tag to compare

What's Changed

  • Added: New overloads of unimplemented that return values instead of closures. These can be invoked directly in initializers that take autoclosures instead of closures (#41).
  • Added: XCTCurrentTestCase is now publicly available under @_spi(CurrentTestCase) (#42).
  • Infrastructure: Fixed docs to use unimplemented rather than XCTUnimplemented (thanks @hmhv #40).

New Contributors

  • @hmhv made their first contribution in #40

Full Changelog: 0.7.0...0.8.0

0.7.0

20 Dec 21:05
df16fe6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.6.0...0.7.0

0.6.0

14 Nov 22:03
5a5457a
Compare
Choose a tag to compare

What's Changed

  • Added: File/line context is now printed in unimplemented failure messages (#36).
  • Fixed: unimplemented failures now print the debug description of any arguments.
  • Fixed: Added resilience around detecting the current XCTest case.

Full Changelog: 0.5.0...0.6.0

0.5.0

18 Oct 23:07
16e6409
Compare
Choose a tag to compare
  • Changed: XCTUnimplemented has been renamed unimplemented. (XCTUnimplemented is soft-deprecated and will become hard-deprecated in a future release.)
  • Changed: Runtime warnings emitted by XCTFail outside of tests now emit the original failure message unchanged.