Mockingbird v0.4.0 Release Notes

Release Date: 2019-09-10 // almost 3 years ago
  • ๐Ÿ’ฅ Breaking

    • โšก๏ธ Update mock initialization API for classes; mock(SomeClassWithoutInitializers.self) and mock(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