Releases: pointfreeco/swift-macro-testing
Releases · pointfreeco/swift-macro-testing
0.5.2
What's Changed
- Fixed: Address an Xcode 16 beta 5 compiler error (#28).
Full Changelog: 0.5.1...0.5.2
0.5.1
What's Changed
- Fixed: Thread
fileID
through to allassertInlineSnapshot
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
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
What's Changed
- Fixed: Resolution of SwiftSyntax 600 by @kabiroberai in #23
New Contributors
- @kabiroberai made their first contribution in #23
Full Changelog: 0.4.1...0.4.2
0.4.1
0.4.0
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
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
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
- @SomeRandomiOSDev made their first contribution in #12
Full Changelog: 0.2.1...0.2.2
0.2.1
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
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 usingwithMacroTesting(isRecording: true)
. - Infrastructure: Update .spi.yml (thanks @finestructure, #2).
- Infrastructure: Add Slack release announcement GitHub action.
New Contributors
- @finestructure made their first contribution in #2
Full Changelog: 0.1.0...0.2.0