Blog (Page 13)

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...

Intellisense improvements in Visual Studio Code

Published
Wednesday, 21 February 2018
Category
Announcement
Author
mholo65

In case you missed it, intellisense support for Cake files in Visual Studio Code was announced a couple of months ago. Since then, we have actively been working on improving it, and the v1.14.0 release of C# for Visual Studio Code comes with some Cake specific improvements we'd like to share with you. In the v1.28.0 release notes for Omnisharp-Roslyn we can read the following:

Read more...