Releases: Brightify/Cuckoo
Releases · Brightify/Cuckoo
New Release – 1.0.5
- Fix generic protocol generation and type erasure with multiple methods of same name.
- Exit
run
script with error if it fails to get generator download URL.
New Release – 1.0.4
- The
run
script doesn't userealpath
command anymore because it's not available by default on Mac OS. - Remove redundant stubbing of optional classes.
New Release – 1.0.3
- Add support for optional read-only properties.
New Release – 1.0.2
- Fix
where
clause that doesn't work in Swift 4. - Fix some
run
script bugs.
New Release – 1.0.1
- Fix
any()
not working anymore by itself with optional parameters in functions.
New Release – 1.0.0
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
Optional
s 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 acceptingOptional
s. - Accessibility of variables and functions in
public
classes are nowpublic
as well.
New Release – 0.13.0
- Update cocoapods.
- Fix warnings when using Swift 5.0
- Fix errors when using Swift 5.0
- Improve Xcode 10.2 compatibility.
- Update FileKit reference
New Release – 0.12.1
- 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 toREADME.md
). - Ignore
final
classes (because we mock by inheritance). - Smaller fixes and improvements in the whole project.
New Release – 0.12.0
- Add first draft of a new Mock initialization DSL.
- Add
enableDefaultImplementation
to protocolMock
. - Reintroduce support for pre-0.11.0 Cuckoo spies.
- Add regular expression
class
andprotocol
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 thecuckoo_generator
. - Add a debug flag that generates general info above methods when used.
- Fix escaping closure (crashing in Xcode 10).
New Release – 0.11.3
- Make sure we keep the
cuckoo_generator
in thePods/Cuckoo
dir.