Releases: pointfreeco/swift-macro-testing
Releases · pointfreeco/swift-macro-testing
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:
assertMacronow 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
0.1.0
- Initial release.