Release Notes (Page 11)

Cake v0.27.1 released

Published
Saturday, 21 April 2018
Category
Release Notes
Author
gep13

Version 0.27.1 of Cake has been released.

This is a hotfix release of Cake. Following the release of Cake 0.27.0 it was noted that there was an issue with loading some dependencies, which would result in a Stack Overflow exception. This was first noted here, and also here.

As a result of these issues being raised, a bug was identified in the ScriptAssemblyResolver.cs where it could end up in an endless loop. This bug has now been addressed.

Contributions were included from:

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

Read more...

Cake v0.27.0 released

Published
Thursday, 19 April 2018
Category
Release Notes
Author
mholo65

Version 0.27.0 of Cake has been released.

The third release of 2018 is here! It contains mostly improvements and bug fixes. While this release doesn't contain any known breaking changes, we would like to take this opportunity to inform you that the next release will. The next release will introduce typed contexts to Cake, this will really improve the flexibility of Cake scripts, read more about this here.

The most notable bug fixes in 0.27.0 were made around addin installation. We updated the internals of Cake to use v4.6.0 of the NuGet Client libraries, which comes with performance improvements. Cake now also supports "offline" builds when using in-process NuGet, this was kind of a regression since it used to work with the old nuget.exe based installer. Another enhancement is that we've added a runtime assembly resolver for assembly versions that can't be found. This tackles most of the issues experienced around addin loading and dependency resolution. Last but not least, in-process NuGet now also supports specifying multiple NuGet sources through config. This can be achieved by separating sources using semicolon (;) when setting the NuGet Download Url configuration value. Below is an example using cake.config:

Last but not least, a friendly reminder that if you haven't pinned to a specific version of Cake, you should do it now :-) More information about pinning to a specific version can be found here.

Contributions were included from:

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

Read more...

Cake v0.26.1 released

Published
Saturday, 3 March 2018
Category
Release Notes
Author
gep13

Version 0.26.1 of Cake has been released.

This is a bug fix release. After releasing 0.26.0 last week, it was noted that when running Cake on Mono, it wasn't possible to load netstandard 2.0 assemblies. Since this will impact a number of users, we decided to release a fix for this as soon as possible.

Contributions were included from:

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

Read more...

Cake v0.26.0 released

Published
Tuesday, 27 February 2018
Category
Release Notes
Author
mholo65

Version 0.26.0 of Cake has been released.

The second release of 2018 is here! This release brings you the long awaited .NET Core 2 support. A special thanks goes to Adam Hathcock for all the hard work with the contribution.

One of the benefits in moving to .NET Core 2 is that addin authors should no longer need to target both net46 and netstandard1.6 in order to support Cake and Cake.CoreCLR. Instead addins should now be able to target netstandard2.0 only and still be compatible with both Cake and Cake.CoreCLR. At the time of writing, we are experiencing an issue with loading netstandard2.0 assemblies when running Cake on mono. We are currently investigating this and will provide a hotfix once the issue is resolved.

While working on this release, we introduced a breaking change in one of the interfaces in Cake.Core. Because of that, we bumped the latest breaking change version number to 0.26.0. In practice this means that Cake will not load addins targeting a lower version than 0.26.0 of Cake.Core. This is by design and for your protection. Even though the breaking change should be compatible with the majority of the addins out there. one can never be sure. However, if you really need to use an incompatible addin and have verified that the breaking change introduced doesn't concern the addin directly, we'll allow you to temporarily opt-out of the assembly verification until addin author has released a version of the assembly targeting the minimum required version of Cake.Core. See the skip verification configuration value for more details.

Contributions were included from:

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

Read more...

Cake v0.25.0 released

Published
Wednesday, 17 January 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...