Skip to content

Releases: pointfreeco/swift-macro-testing

0.5.2

07 Aug 19:59
20c1a8f
Compare
Choose a tag to compare

What's Changed

  • Fixed: Address an Xcode 16 beta 5 compiler error (#28).

Full Changelog: 0.5.1...0.5.2

0.5.1

12 Jul 20:13
a35257b
Compare
Choose a tag to compare

What's Changed

  • Fixed: Thread fileID through to all assertInlineSnapshot calls (thanks @gohanlon, #26).
  • Fixed: SwiftSyntax dependency has been updated to point to the new swiftlang organization on GitHub, preventing warnings when used with other libraries targeting the same updated organization (#27).

Full Changelog: 0.5.0...0.5.1

0.5.0

09 Jul 17:33
Compare
Choose a tag to compare

What's Changed

  • Added: Beta support for Swift Testing in Xcode 16 beta 3 (#25).
  • Infrastructure: Introduce .editorconfig for consistent code formatting (thanks @Matejkob, #24).

Full Changelog: 0.4.2...0.5.0

0.4.2

03 Jul 13:23
4787b0b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.1...0.4.2

0.4.1

12 Jun 17:21
851c8b6
Compare
Choose a tag to compare

What's Changed

  • Fixed: Support swift-syntax from 600.0.0-latest (#22).

Full Changelog: 0.4.0...0.4.1

0.4.0

08 Apr 19:16
5c4a1b9
Compare
Choose a tag to compare

What's Changed

  • Added: Record mode will now automatically remove snapshots that no longer apply (#21). For example, a macro test that has an "expansion" that re-records a "diagnostic" will delete the "expansion" if it should no longer exist.

Full Changelog: 0.3.0...0.4.0

0.3.0

04 Mar 22:07
90e38ee
Compare
Choose a tag to compare

What's Changed

  • Added: Allow indentation width to be set explicitly (thanks @gohanlon, #8).
  • Fixed: Update fix-it applier to latest code and bring in upstream fixes (thanks @gohanlon, #16).
  • Fixed: Allow swift-syntax to target 5.10.0 (#20).
  • Infrastructure: Update example tests (thanks @Matejkob, #10).

New Contributors

Full Changelog: 0.2.2...0.2.3

0.2.2

14 Nov 23:27
10dcef3
Compare
Choose a tag to compare

What's Changed

  • Fixed: Formatting multiple diagnostics now outputs as expected (thanks @SomeRandomiOSDev, #12)
  • Fixed: Failure diff output has been inverted for readability (#13).

New Contributors

Full Changelog: 0.2.1...0.2.2

0.2.1

06 Oct 21:07
Compare
Choose a tag to compare

What's Changed

  • Fixed: A potential crash due to trailing closure parameter name mismatches has been fixed (#7).
  • Infrastructure: Update MacroTesting example tests (#5).

Full Changelog: 0.2.0...0.2.1

0.2.0

02 Oct 22:20
0d03f14
Compare
Choose a tag to compare

What's Changed

  • Added: assertMacro now asserts using multiple trailing closures (#3). This allows diagnostics, fix-its, and expansions to be independently inlined in a single assertion. The previous API has been deprecated, but many assertions can be automatically re-recorded using withMacroTesting(isRecording: true).
  • Infrastructure: Update .spi.yml (thanks @finestructure, #2).
  • Infrastructure: Add Slack release announcement GitHub action.

New Contributors

Full Changelog: 0.1.0...0.2.0