Cake 1.0 Release Candidate 3

This is the third and last pre-release version of Cake 1.0. This release includes improvements and bug fixes to both Cake Scripting and Cake Frosting.

See also:

Highlights of this release

  • Migration from Spectre.Cli to Spectre.Console
  • Preserve Console Mode when executing external processes on Windows
  • Align command-line switches between Cake Script runners and Cake Frosting
  • Addin recommended Cake version set to 1.0
  • Bug fixes

We’ve chosen to release 1.0 as a pre-release to NuGet and Chocolatey, so we and the community can more easily test and ensure that our 1.0 release will be as stable as possible. It will also enable us to see if there are any steps you need to take to adapt your scripts for 1.0, and for us to see if there’re any unintended breaking changes, by testing as many addins, modules, and recipes as possible.

Breaking changes in Cake Frosting

In this release the UseTool extension has been renamed to InstallTool. In our prior release candidate we also noted that CakeHostBuilder has been removed and can be used directly.

With Cake.Frosting 0.38.x:

With Cake.Frosting 1.0:

Addin recommended Cake version set to 1.0

In preparation for the 1.0 release, we’ve now set the recommended version of Cake.Core for addins to target to 1.0.

This won’t break the build but you might see warnings like below when Addins/Modules are loaded.

The assembly 'Cake.DotNetTool.Module, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null' is referencing an older version of Cake.Core (0.33.0).

Addin authors can start preparing for the 1.0 release by starting to build against Cake.Core version 1.0.0-rc0003.

Upgrading

See Upgrade instructions for documentation about breaking changes in this release.

Contributors

Contributions were included from:

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

Issues

As part of this release we had 9 issues closed.

Breaking change

  • #3050 Frosting: Rename CakeHost extension from UseTool to InstallTool

Feature

  • #3020 Migrate to Spectre.Console

Improvement

  • #3018 Cake displays raw ANSI output after running specific executables
  • #3029 Add ICakeArguments.GetArgument extension
  • #3009 Make Cake Core CakeDataService Public

Bug

  • #3007 Different arguments between script runner and Frosting
  • #3032 Frosting project fails on Linux
  • #2961 Update dotnet cake usage instructions (dotnet cake — help)
  • #2066 cake.coreclr help information error

Originally published at https://cakebuild.net.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cake Build

Cake Build

Cake (C# Make) is a build automation system