- Published
- Tuesday, 12 November 2024
- Category
- Release Notes
- Author
- devlead
Version 5.0.0 of Cake has been released. Take it for a spin and give us feedback on our discussion board.
This release includes new features, improvements and bug fixes to both Cake Scripting and Cake Frosting since the Cake v4.2.0 release! 🚀 🍰
Highlights of this release
- .NET 9 support & C# 13 support
- FreeBSD support
- Addin recommended Cake version set to 5.0.0
- 100 million downloads of Cake.Tool
.NET 9 support & C# 13 support
Cake now fully supports running on .NET 9, and with this C# 13, which means you can take advantage of the latest framework, runtime, and language improvements.
Cake itself will no longer run on .NET 6 or .NET 7, but Cake will continue to support the building of .NET Framework projects, as well as projects targeting .NET 7.0 or older.
The supported platform matrix for Cake 5.0.0 will look like this:
Runner | .NET 9 | .NET 8 |
---|---|---|
Cake .NET Tool | ||
Cake Frosting |
FreeBSD support
The FreeBSD operating system should now be recognized as Environment.Platform.Family
PlatformFamily.FreeBSD
, and new bool IsRunningOnFreeBSD
alias and bool IsUnix
alias will now be true for FreeBSD.
Addin recommended Cake version set to 5.0.0
We've now set the recommended version of Cake.Core for addins to target to 5.0.0.
This won't break the build, but you might see warnings like the one below when addins or modules are loaded.
The assembly 'Cake.Addin, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'
is referencing an older version of Cake.Core (4.0.0).
For best compatibility it should target Cake.Core version 5.0.0.
The recommended target framework monikers for addins are now:
net9.0
net8.0
100 million downloads of Cake.Tool
We are thrilled to announce that Cake.Tool has reached an incredible milestone of 100 million downloads on NuGet.org! This accomplishment wouldn't have been possible without the contributions of over 300 individuals and the unwavering support of our users. Join us as we reflect on the journey of Cake, featuring 129 releases and over 300 third-party community add-ins.
Contributors
This release was made possible thanks to the Cake team and the contribution of these awesome members of the Cake community listed below:
Full details of everything that was included in this release can be seen below.
Issues
As part of this release we had 13 issues closed.
Breaking change
- #4384 Remove obsolete members / methods.
- #4383 Update LatestPotentialBreakingChange to 5.0.0.
- #4346 Remove Unsupported TFMS .NET 6 & 7 (net6.0 & net7.0).
Feature
- #4396 Add DotNetSlnAdd alias for dotnet sln add command.
- #4393 Add DotNetSlnList alias for dotnet sln list command.
- #4379 C# 13 Scripting Support.
- #4345 Add .NET 9 (net9.0) TFM.
- #4310 Update Cake.Tool to support running on FreeBSD.
Bug
- #4391 DownloadArtifacts errors in latest Cake 4.2.0 with 404 error.