Blog (Page 2)

Cake v3.1.0 released

Published
Sunday, 9 July 2023
Category
Release Notes
Author
devlead

Version 3.1.0 of Cake has been released. Take it for a spin and give us feedback on our discussion board.

This release includes new features, improvements and bug fixes to both Cake Scripting and Cake Frosting since the Cake v3.0.0 release! 🚀 🍰

This release was made possible thanks to the Cake team and the contribution of these awesome members of the Cake community listed below:

Full details of everything that was included in this release can be seen below.

Read more...

Celebrating 50 Million Downloads of Cake.Tool🎉

Published
Wednesday, 5 July 2023
Category
Announcement
Author
devlead

We are thrilled to announce that Cake.Tool has reached an incredible milestone of 50 million downloads on NuGet.org! This accomplishment wouldn't have been possible without the contributions of over 300 individuals and the unwavering support of our users. Join us as we reflect on the journey of Cake, featuring 123 releases and over 300 third-party community add-ins.

Read more...

Cake for Rider 5.0.0 released

Published
Wednesday, 14 December 2022
Category
Release Notes
Author
nils-a

Version 5.0.0 of Cake for Rider has been released.

This version fixes a critical bug in Cake for Rider 4.0.0, which prevents the use in all non-EAP version of Rider 2022.3.

Read more...

Cake v3.0.0 released

Published
Tuesday, 8 November 2022
Category
Release Notes
Author
devlead

Version 3.0.0 of Cake has been released. Take it for a spin and give us feedback on our discussion board.

This release includes several new features, improvements and bug fixes to both Cake Scripting and Cake Frosting since the Cake v2.3.0 release! 🚀 🍰

Being a major release we've taken the opportunity to remove obsolete aliases and members, i.e. DotNetCore* aliases were obsoleted and replaced by DotNet* aliases in Cake 2.0 and are now removed with 3.0.0.

Cake itself will no longer run on .NET Core 3.1 or .NET 5, but Cake will continue to support the building of .NET Framework projects, as well as projects targeting .NET 5.0 or older.

The supported platform matrix for Cake 3.0.0 will look like this:

Cake now fully supports running on .NET 7, and with this C# 11, which means you can take advantage of the latest framework, runtime, and language improvements.

For scripting, a new TaskOf<T> method has been introduced to simplify when working with shared typed data contexts, where one only needs to specify the type parameter once and only get task methods that are relevant, example:

Also for scripting, a new RunTargets(IEnumerable<string> targets) method is now available. It'll let you specify multiple targets as the entry point in Cake's dependency graph to execute, where dependencies and dependency order is still respected. For example calling script below with dotnet cake --target="A" --target="B"

will generate the following execution

Cake 3.0.0 comes with a few improvements to build providers i.e.

We've now set the recommended version of Cake.Core for addins to target to 3.0.0.

This won't break the build, but you might see warnings like below when addins or modules are loaded.

This release was made possible thanks to the Cake team and the contribution of these awesome members of the Cake community listed below:

Full details of everything that was included in this release can be seen below.

Read more...

Cake v2.3.0 released

Published
Friday, 14 October 2022
Category
Release Notes
Author
devlead

Version 2.3.0 of Cake has been released. Take it for a spin and give us feedback on our discussion board.

This release includes new features, improvements and bug fixes to both Cake Scripting and Cake Frosting since the Cake v2.2.0 release! 🚀 🍰

Script cache introduced in v2.2.0 has been improved to support parallel builds and multiple versions of the same script even when the cache is in a globally shared location.

While Cake support many tools out of the box or via the many available addins, there will always be tools or scenarios where you need to execute a custom tool, while this is already possible using the StartProcess alias, you need to write custom code for things like i.e. tool resolution, exit code handling, and handling command output.

To solve this we've in this release introduced the Command alias which fills the gap in-between StartProcess and the out-of-the-box typed aliases, it lets you benefit from Cake's built-in tool resolution making it easier to support tools with different executables i.e. Posix/Windows or installed using tool directive. It will default fail the build on non-zero exit codes, and also provides more convenient access to standard output/error. A few Command alias examples below, and several more in the features pull request.

This release was made possible thanks to the Cake team and the contribution of these awesome members of the Cake community listed below:

Full details of everything that was included in this release can be seen below.

Read more...