- Renamed the Macro target TestingMacros to OzonTestingMacros.
- Ran swiftformat.
-
@FunctionBodyMockmacro for automatic method call proxying to the internalMock()class in@AnyMockable. This is a helper macro and shouldn't be called manually. -
@Nilablemacro for generating nil default values in @Arbitrary macro. Can only be applied to optional and force-unwrapped properties. -
.Arbitrary()method implementation forInt64.
- Bumped Swift version requirement to 6.0.
- Minimum swift-syntax version increased to 600.0.0.
- Added strict-concurrency support for
@Mockand@AnyMockable.
- Ability to add
@Arbitrary(.dynamic)to the exceptions. - Default value generation for properties in
@Mockand@AnyMockable: standard types, collections, and tuples. - Generic type support in
@Mockand@AnyMockable.
Sendableprotocol support inMockMacro.
- Default value generation for Swift or Foundation types and closures in the
Arbitrarymacro.
- Full nested type path generation for properties in the
Arbitrarymacro. For example,One.Two.Three.
Mocknow generates initializers if defined in the protocol.- Actor support in
Mock. Property setters are now generated for mutable properties. - API Mock change: replaced
shouldBeInheritedparameter withinheritability. - Removed
Foundationimport requirement forMockorAnyMockablemacros. Mockautomatically applies weak modifier to delegate properties. Use@Ignoredmacro to override.- Added new README and GitLab wiki.
Arbitrarynow correctly generates default values forBool.- Fixed return value type generation of
someoranyinMockandAnyMockable.