Releases: fetch-rewards/swift-mocking
Releases · fetch-rewards/swift-mocking
Version 0.2.0
✨ Features
- Add sendableConformance argument to Mocked (#106)
🐛 Bug Fixes
- Handle composed and mixed associated type constraints (#108)
📝 Documentation
- Add SPI badges to README (#102)
- Fix spelling mistake (#101)
- Add more issue templates (#103)
- Add social preview image asset (#105)
🧪 Testing
- Refactor MacroArgumentValue, reorganize files, and add unit tests (#111)
🔨 Refactoring
- Refactor MacroArgumentValue, reorganize files, and add unit tests (#111)
📦 Dependencies
- Update SwiftFormat minimum version and output version in CI (#110)
- Update Swift Locking, SwiftSyntaxSugar, and SwiftSyntax dependencies (#114)
🛠️ CI/CD
Version 0.1.0
🎉 Initial Release
This is the first public release of Swift Mocking, a library that provides a collection of Swift macros used to generate mocks.
This initial release includes:
@Mocked
- an attached peer macro that generates a mock class from a protocol declaration.@MockedMembers
- an attached member and member-attribute macro that generates mocked members for a mock declaration.@MockableProperty
- an attached macro that marks a property as being mockable.@MockableMethod
- an attached macro that marks a method as being mockable.