Mockingbird v0.4.0 Release Notes
Release Date: 2019-09-10 // over 4 years ago-
๐ฅ Breaking
- โก๏ธ Update mock initialization API for classes;
mock(SomeClassWithoutInitializers.self)
andmock(SomeClassWithInitializers.self).initialize(...)
Andrew Chang - ๐ Make Mockingbird CLI installer use synchronous generation by default and rename
--synchronous
option to--asynchronous
Andrew Chang
Experimental
- None
โจ Enhancements
- ๐ Improve generator performance and reduce generated code length, see Performance.md for benchmarks
Andrew Chang - Uniquify generated accessor methods so that it cannot conflict with original methods that have the same function signature
Andrew Chang - โ Remove ability to directly create protocol mocks using
init(sourceLocation:)
Andrew Chang
๐ Bug Fixes
- ๐ Fix type qualification system not searching all imported modules
Andrew Chang - ๐ Fix support for mocking and stubbing stored variables in classes
Andrew Chang - ๐ Fix nested classes not able to be initialized with the new mock initialization system
Andrew Chang - ๐ Fix support for implicitly unwrapped types
Andrew Chang
- โก๏ธ Update mock initialization API for classes;