Skip to content

Commit 5929514

Browse files
committed
Merge branch 'release/4.0.0'
2 parents 1514512 + 7e22cba commit 5929514

File tree

125 files changed

+656
-660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+656
-660
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"cake.tool": {
6-
"version": "3.1.0",
6+
"version": "3.2.0",
77
"commands": [
88
"dotnet-cake"
99
]

.editorconfig

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,14 @@ indent_size = 4
2020

2121
[*.js]
2222
indent_style = tab
23-
indent_size = 2
23+
indent_size = 2
24+
25+
# Verify settings
26+
[*.{received,verified}.{txt,xml,json,cake}]
27+
charset = "utf-8-bom"
28+
end_of_line = lf
29+
indent_size = unset
30+
indent_style = unset
31+
insert_final_newline = false
32+
tab_width = unset
33+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#
1919
# Merging from the command prompt will add diff markers to the files if there
2020
# are conflicts (Merging from VS is not affected by the settings below, in VS
21-
# the diff markers are never inserted). Diff markers may cause the following
21+
# the diff markers are never inserted). Diff markers may cause the following
2222
# file extensions to fail to load in VS. An alternative would be to treat
2323
# these files as binary and thus will always conflict and require user
2424
# intervention with every merge. To do so, just uncomment the entries below
@@ -47,9 +47,9 @@
4747

4848
###############################################################################
4949
# diff behavior for common document formats
50-
#
50+
#
5151
# Convert binary document formats to text before diffing them. This feature
52-
# is only available from the command line. Turn it on by uncommenting the
52+
# is only available from the command line. Turn it on by uncommenting the
5353
# entries below.
5454
###############################################################################
5555
#*.doc diff=astextplain
@@ -61,4 +61,13 @@
6161
#*.pdf diff=astextplain
6262
#*.PDF diff=astextplain
6363
#*.rtf diff=astextplain
64-
#*.RTF diff=astextplain
64+
#*.RTF diff=astextplain
65+
66+
###############################################################################
67+
# Verify files
68+
###############################################################################
69+
70+
*.verified.txt text eol=lf working-tree-encoding=UTF-8
71+
*.verified.xml text eol=lf working-tree-encoding=UTF-8
72+
*.verified.json text eol=lf working-tree-encoding=UTF-8
73+
*.verified.cake text eol=lf working-tree-encoding=UTF-8

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- name: Install .NET SDK 6.0.x
23+
- name: Install .NET SDK 6.0.x - 8.0.x
2424
uses: actions/setup-dotnet@v3
2525
with:
26-
dotnet-version: '6.0.x'
26+
dotnet-version: |
27+
6.0.x
28+
7.0.x
29+
8.0.x
2730
2831
- name: Install .NET Core SDK (global.json)
2932
uses: actions/setup-dotnet@v3
@@ -46,4 +49,5 @@ jobs:
4649
arguments: |
4750
CAKE_NETCOREAPP_6_0_VERSION_OS: ${{ steps.build-cake.outputs.CAKE_NETCOREAPP_6_0_VERSION_OS }}
4851
CAKE_NETCOREAPP_7_0_VERSION_OS: ${{ steps.build-cake.outputs.CAKE_NETCOREAPP_7_0_VERSION_OS }}
49-
52+
CAKE_NETCOREAPP_8_0_VERSION_OS: ${{ steps.build-cake.outputs.CAKE_NETCOREAPP_8_0_VERSION_OS }}
53+
ValidateGitHubActionsProvider: true

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,7 @@ Thumbs.db
9494
.DS_Store
9595

9696
# Generated Assembly info
97-
AssemblyInfo.Generated.cs
97+
AssemblyInfo.Generated.cs
98+
99+
# Verify
100+
*.received

GitVersion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
next-version: 3.0.0
1+
next-version: 4.0.0
22
branches:
33
master:
44
regex: main

ReleaseNotes.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
### New in 4.0.0 (Released 2023/11/18)
2+
3+
* 4266 Update LatestPotentialBreakingChange to 4.0.0.
4+
* 4132 Add File APIs for setting timestamps (creation time, last write time, last access time).
5+
* 4250 Update System.Collections.Immutable to 8.0.0.
6+
* 4260 Unzip alias should support overwrite files.
7+
* 4251 Update System.Reflection.Metadata 8.0.0.
8+
* 4249 Update Microsoft.Extensions.DependencyInjection to 8.0.0.
9+
* 4197 Execution of Cake script fails if an addin defines an alias that uses nullable reference types in its signature.
10+
* 4150 Cake script is contributing unactionable diagnostics in VS Code Problems pane.
11+
112
### New in 3.2.0 (Released 2023/11/10)
213

314
* 4225 Add DotNetRemovePackage alias for dotnet remove package command.

build.cake

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// Install .NET Core Global tools.
55
#tool "dotnet:https://api.nuget.org/v3/index.json?package=GitVersion.Tool&version=5.12.0"
6-
#tool "dotnet:https://api.nuget.org/v3/index.json?package=GitReleaseManager.Tool&version=0.13.0"
6+
#tool "dotnet:https://api.nuget.org/v3/index.json?package=GitReleaseManager.Tool&version=0.16.0"
77
#tool "dotnet:https://api.nuget.org/v3/index.json?package=sign&version=0.9.1-beta.23530.1&prerelease"
88

99
// Load other scripts.
@@ -108,7 +108,7 @@ Task("Run-Unit-Tests")
108108
() => GetFiles("./src/**/*.Tests.csproj"),
109109
(parameters, project, context) =>
110110
{
111-
foreach(var framework in new[] { "net6.0", "net7.0" })
111+
foreach(var framework in new[] { "net6.0", "net7.0", "net8.0" })
112112
{
113113
FilePath testResultsPath = MakeAbsolute(parameters.Paths.Directories.TestResults
114114
.CombineWithFilePath($"{project.GetFilenameWithoutExtension()}_{framework}_TestResults.xml"));
@@ -368,7 +368,8 @@ Task("Run-Integration-Tests")
368368
.DoesForEach<BuildParameters, FilePath>(
369369
parameters => new[] {
370370
GetFiles($"{parameters.Paths.Directories.IntegrationTestsBinTool.FullPath}/**/net6.0/**/Cake.dll").Single(),
371-
GetFiles($"{parameters.Paths.Directories.IntegrationTestsBinTool.FullPath}/**/net7.0/**/Cake.dll").Single()
371+
GetFiles($"{parameters.Paths.Directories.IntegrationTestsBinTool.FullPath}/**/net7.0/**/Cake.dll").Single(),
372+
GetFiles($"{parameters.Paths.Directories.IntegrationTestsBinTool.FullPath}/**/net8.0/**/Cake.dll").Single()
372373
},
373374
(parameters, cakeAssembly, context) =>
374375
{

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"src"
44
],
55
"sdk": {
6-
"version": "7.0.403",
6+
"version": "8.0.100",
77
"rollForward": "latestFeature"
88
}
99
}

src/Cake.Common.Tests/Cake.Common.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
</ItemGroup>
1717
<!-- Global packages -->
1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
20-
<PackageReference Include="xunit" Version="2.5.3" />
19+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
20+
<PackageReference Include="xunit" Version="2.6.1" />
2121
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
2222
<PrivateAssets>all</PrivateAssets>
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

0 commit comments

Comments
 (0)