Cake v0.23.0 released
- Published
- Sunday, 15 October 2017
- Category
- Release Notes
- Author
- patriksvensson
Version 0.23.0 has been released!
This release contains three new features specially worth highlighting and a lot of bugfixes and improvements.
Cake now supports asynchronous tasks. This will let you use the async
and await
C# features within a task.
Tasks will still execute single threaded and in order as before, but this really simplifies asynchronous programming and utilizing asynchronous APIs within your Cake scripts.
Ever wished you could define your task as a dependency of another task - i.e. a reversed dependency relationship? The good news is that you now can.
Since task A
is configured to be a dependee of B
the task definition will be identical to the following:
You can now explicitly specify whether or not a dependency (or dependee) is optional or required. This is useful if you want to create "extension points" in your build script.
In the above example, Bar
is dependent on Foo
while Baz
is dependent on Qux
.
The difference between the two dependencies above is that Cake will throw an exception if no task called Foo
was found.
Contributions were included from:
Full details of everything that was included in these releases can be seen below.
Read more...