Cake 1.0 Release Candidate 3

Version 1.0.0-rc0003 of Cake has been released 🎉

Cake Build
2 min readFeb 1, 2021

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.

--

--

Cake Build
Cake Build

Written by Cake Build

Cake (C# Make) is a build automation system

No responses yet