All Versions
32
Latest Version
Avg Release Cycle
29 days
Latest Release
511 days ago

Changelog History
Page 2

  • v1.0.4 Changes

    May 17, 2019
    • 0๏ธโƒฃ The run script doesn't use realpath command anymore because it's not available by default on Mac OS.
    • โœ‚ Remove redundant stubbing of optional classes.
  • v1.0.3 Changes

    May 16, 2019
    • โž• Add support for optional read only properties.
  • v1.0.2 Changes

    May 16, 2019
    • ๐Ÿ›  Fix where that doesn't work in Swift 4.
    • โž• Add a future API improvement (it's ambiguous at the moment).
    • ๐Ÿ›  Fix some run script bugs.
  • v1.0.1 Changes

    May 15, 2019
    • ๐Ÿ›  Fix any() not working anymore by itself with optional parameters in functions.
  • v1.0.0 Changes

    May 14, 2019

    ๐Ÿ”‹ Features:

    • Generics is now fully supported! This includes generic classes, protocols, and methods.
    • Dictionary matching out of the box.
    • ๐Ÿ‘ Better closure matching. Now allowing up to 7 parameter closures.
    • rethrows functions now work properly.
    • Classes marked final are automatically ignored.
    • ๐Ÿ‘ Allow non-optional values to be passed as matchers for Optionals just like in normal Swift code.
    • โž• Add support for inout method parameters.

    ๐Ÿ›  Fixes:

    • โšก๏ธ Update the build_generator script to work with Swift 5.
    • ๐Ÿ›  Fix not being able to put Optional into functions accepting Optionals.
    • Accessibility of variables and functions in public classes are now public as well.
  • v0.13.0 Changes

    May 06, 2019
    • โšก๏ธ Update cocoapods.
    • ๐Ÿ›  Fix warnings when using Swift 5.0
    • ๐Ÿ›  Fix errors when using Swift 5.0
    • ๐Ÿ‘Œ Improve Xcode 10.2 compatibility.
    • โšก๏ธ Update FileKit reference
  • v0.12.1 Changes

    • โž• Add class accessibility support.
    • โž• Add support for attributes (e.g. @available).
    • โž• Add support for subimport (e.g. import struct UICat.Food).
    • โž• Add --clean option to the run script to always build or download the generator (promptly forget to add its documentation to README.md).
    • ๐Ÿคก Ignore final classes (because we mock by inheritance).
    • ๐Ÿ›  Smaller fixes and improvements in the whole project.
  • v0.12.0 Changes

    • โž• Add first draft of a new Mock initialization DSL.
    • โž• Add enableDefaultImplementation to protocol Mock.
    • ๐Ÿ‘ Reintroduce support for pre-0.11.0 Cuckoo spies.
    • Add regular expression class and protocol matching.
    • Add glob switch that parses input paths as globs enabling for easier project scaling.
    • ๐Ÿ— Build generator by default. Download using --download [VERSION] option.
    • ๐Ÿ— Modify the run bash script to allow the user to build rather than download the cuckoo_generator.
    • โž• Add a debug flag that generates general info above methods when used.
    • ๐Ÿ›  Fix escaping closure (crashing in Xcode 10).
  • v0.11.0 Changes

    • โž• Added contribution guide.
    • ๐Ÿ’ฅ BREAKING CHANGE: Spies were reworked. They now use superclasses as their victims if enabled. Please see the Readme for more information.
    • ๐Ÿ’ฅ BREAKING CHANGE: Verification of properties' get is now a method you have to call, instead of a property. This change was made to remove the "unused result" warning. bug #141
  • v0.10.2 Changes

    • Double the maximum parameters in call and callThrows methods. bug #145
    • ๐Ÿ‘‰ Make the generator deterministic by sorting input files.
    • โž• Add equalTo for Array and Set where Element is Equatable.