Skip to content

Releases: uber/mockolo

1.2.7

10 Sep 07:34
Compare
Choose a tag to compare

Fix optional closure type casting handling

1.2.6

10 Sep 06:08
Compare
Choose a tag to compare

Support Swift 5.3 / Xcode 12

1.2.5

31 Aug 10:14
Compare
Choose a tag to compare
  • Self return type handling
  • #if canImport(name) handling
  • A --version (-v) support

1.2.4

19 Jun 03:32
Compare
Choose a tag to compare

Swift tools support dependency version update

1.2.3

09 Jun 09:06
3d8e8d1
Compare
Choose a tag to compare
  • Removed SourceKitten dependency
  • Package updated with Swift 5.2 / Xcode 11.4+
  • History of function argument values is now supported

1.2.2

14 May 05:09
Compare
Choose a tag to compare

Allow toggling for an input option to use a property wrapper @MockObservable for RxSwift Observable variables (default is set to no).

To use the @MockObservable, copy the content of https://github.com/uber/mockolo/blob/master/Sources/MockoloFramework/Templates/PropertyMockable.swift into your project, pass in the module name in your project containing the content to the '--custom-imports' option, and pass in '--use-mock-observable' flag to the command line.

1.2.1

09 Apr 07:22
Compare
Choose a tag to compare

Support imports with macros / bug fixes

1.2.0

06 Apr 18:24
Compare
Choose a tag to compare
  • Supports Swift 5.2
  • Supports more custom input and filtering options to the commandline (-h to see the list)
  • Performance optimizations: caching / allow concurrency with SwiftSyntax parser
  • Supports a common util function that can be called by all mocked functions
  • Supports propertywrapper for observable variables (RxSwift only)

1.1.5

05 Mar 19:55
c757b7f
Compare
Choose a tag to compare
  • Added support for namespacing and specifying subclass types for vars via override arguments in the @mockable annotation
  • Updated output rendering to not generate redundant var getters
  • Updated logging levels
  • Fixed formatting / indentations

1.1.4

25 Feb 21:45
a4deaf0
Compare
Choose a tag to compare

Improvements in commandline input options including new custom testable imports.