All Versions
32
Latest Version
Avg Release Cycle
29 days
Latest Release
1580 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v1.0.4 Changes
May 17, 2019- 0๏ธโฃ The
run
script doesn't userealpath
command anymore because it's not available by default on Mac OS. - โ Remove redundant stubbing of optional classes.
- 0๏ธโฃ The
-
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.
- ๐ Fix
-
v1.0.1 Changes
May 15, 2019- ๐ Fix
any()
not working anymore by itself with optional parameters in functions.
- ๐ Fix
-
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
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.
-
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 toREADME.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 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).
-
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
andcallThrows
methods. bug #145 - ๐ Make the generator deterministic by sorting input files.
- โ Add
equalTo
forArray
andSet
whereElement
isEquatable
.
- Double the maximum parameters in