devlead

Cake v0.31.0 released

Published
Thursday, December 13, 2018
Category
Release Notes
Author
devlead

Version 0.31.0 of Cake has been released.

In this version we've got quite a few new features, improvements and fixes. A full list of changes is at end of this post, but first there's a few we would like to highlight.

Cake's built-in globber has gone through a major overhaul, with several improvements. A few notable ones are:

Example usage:

Full .NET Framework tools will usually execute fine on Windows even if running under .NET Core, but they'll fail on Unix systems. They don't know what to do with .NET Framework executables. With this release, Cake will inspect if tools with .exe extension have a proper .NET Framework PE header and then try to execute it with Mono if available.

This means that you'll be able to use .NET Framework tools even if you're using Cake.CoreCLR or Cake.Tool running under .NET Core, if you have Mono installed.

The --version argument has changed to only output the Semantic Version of Cake i.e. 0.31.0, or 0.31.0-alpha0095, for a pre release. This will make it easier to check and verify available Cake version in scripts and bootstrappers.

You can still get the previous output by using the --info argument.

Cake has been updated to use version 4.9.2 of the NuGet client libraries, which has several fixes, especially around performance and signed packages.

Contributions were included from:

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

Read more...

Cake v0.30.0 released

Published
Wednesday, August 22, 2018
Category
Release Notes
Author
devlead

Version 0.30.0 of Cake has been released.

With this release we've got several improvements and bug fixes contributed from the community, so firstly big thanks to all for your continued support! In this post we would like to highlight a few of those.

Cake is now available as a global .NET CLI tool. This means you can easily install Cake and have it globally available in your environment using the dotnet tool command.

Once installed, you can launch cake from anywhere using the .NET CLI

Which means you can now easily bootstrap the installation of Cake, if you have .NET Core SDK version 2.1.400 or newer installed. Existing boostrappers will still work as we created a new NuGet package for the tool, which means we now have the following packages for Cake:

NuGet client assemblies have been updated to latest stable, this resolves issues with signed NuGet packages which could cause Cake to hang while acquiring tools and addins from NuGet.org.

Setting classes collection properties have been overhauled and refactored to enable initializer syntax. Might seem small, but it's really convenient, it makes

become

Contributions were included from:

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

Read more...

Cake v0.29.0 released

Published
Friday, July 6, 2018
Category
Release Notes
Author
devlead

Version 0.29.0 of Cake has been released.

We're really excited by this release which has some splendid features and improvements!

In this blog post we'll highlight the new exclusive parameter which adds support for executing a single task without dependencies. You can find a full list of changes at the end of this post.

Contributions were included from:

Read more...

Cake v0.28.0 released

Published
Thursday, May 31, 2018
Category
Release Notes
Author
devlead

Version 0.28.0 of Cake has been released.

We're really excited by this release which has some splendid features and improvements!

In this blog post we'll highlight:

Contributions were included from:

Read more...

Cake v0.25.0 released

Published
Wednesday, January 17, 2018
Category
Release Notes
Author
devlead

Version 0.25.0 of Cake has been released.

The first release of 2018 is here! It contains mostly improvements and bug fixes, but it also has one potential breaking change.

The most notable change in this release is that we no longer use the NuGet.exe CLI tool when installing addins, tools, modules and scripts from NuGet sources in our preprocessor directives. Now we instead default to the in-process NuGet client introduced in Cake v0.22.0. This will not only fix many previous issues people have seen with Cake's preprocessor NuGet handling, but also enable us to simplify boostrappers and pave the way to properly solve addin dependencies. It will also make pure .NET Core environments work out of the box with Cake.CoreCLR.

Also notable is that this release will likely be the last one before we migrate Cake.CoreCLR to .NET Core 2.x, we know this is much awaited! The migration work has been going on for some time now and most blockers have been sorted. So our preliminary plan is to have this migration done by the next release.

The new NuGet client shouldn't break any existing scripts, addins or tools, but you might need to clear your tools/addins folder as it has a slightly different folder structure. You can opt-out if you're having issues, by using Cake configuration environment variable, file or argument.

Environment Variable Name

Config File Contents

Direct Argument

Contributions were included from:

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

Read more...