Skip to content

Commit c68de78

Browse files
authored
Merge branch 'main' into issues/1131
2 parents 8a3cfcb + e5e8e81 commit c68de78

14 files changed

Lines changed: 77 additions & 17 deletions

.github/workflows/pr-version-check.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
$isBotBumpPr = ($env:PR_AUTHOR -eq 'github-actions[bot]') -and ($env:HEAD_REF -like 'bot/bump-*' -or $env:HEAD_REF -like 'bot/promote-*')
3636
3737
$labels = $env:LABELS_JSON | ConvertFrom-Json
38-
$isBreaking = $labels -contains 'breaking-change'
38+
$isBreaking = $labels -contains 'breaking change'
3939
$isManualEdit = $labels -contains 'manual-version-edit'
4040
4141
# Reject any human-authored PR that touches version.json unless explicitly
@@ -84,11 +84,11 @@ jobs:
8484
# Unconditional check: if this PR changes the major in version.json, it MUST be
8585
# labeled breaking-change. Catches unlabeled major-version edits.
8686
if ($headMajor -ne $baseMajor -and -not $isBreaking) {
87-
throw "This PR changes version.json's major from $baseMajor to $headMajor but is not labeled 'breaking-change'. Major-version changes must be tagged."
87+
throw "This PR changes version.json's major from $baseMajor to $headMajor but is not labeled 'breaking change'. Major-version changes must be tagged."
8888
}
8989
9090
if (-not $isBreaking) {
91-
Write-Host "PR is not labeled 'breaking-change' and does not change the major; no further checks."
91+
Write-Host "PR is not labeled 'breaking change' and does not change the major; no further checks."
9292
exit 0
9393
}
9494
@@ -122,9 +122,9 @@ jobs:
122122
$expectedMajor = $latestMajor + 1
123123
if ($headMajor -ne $expectedMajor) {
124124
if ($headMajor -le $latestMajor) {
125-
$msg = "PR is labeled breaking-change but its version.json major ($headMajor) is not greater than the latest stable release major ($latestMajor; tag '$latestStable'). Run the 'Bump main to next major preview' workflow with next_major=$expectedMajor first, then rebase this PR onto the updated main."
125+
$msg = "PR is labeled 'breaking change' but its version.json major ($headMajor) is not greater than the latest stable release major ($latestMajor; tag '$latestStable'). Run the 'Bump main to next major preview' workflow with next_major=$expectedMajor first, then rebase this PR onto the updated main."
126126
} else {
127-
$msg = "PR is labeled breaking-change but its version.json major ($headMajor) skips past major $expectedMajor. Main must be at exactly latest_stable_major + 1 ($latestMajor + 1 = $expectedMajor). Reset main to $expectedMajor.0-preview.{height} before merging this PR."
127+
$msg = "PR is labeled 'breaking change' but its version.json major ($headMajor) skips past major $expectedMajor. Main must be at exactly latest_stable_major + 1 ($latestMajor + 1 = $expectedMajor). Reset main to $expectedMajor.0-preview.{height} before merging this PR."
128128
}
129129
throw $msg
130130
}

src/Directory.Build.targets

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
<Product>$(AssemblyName) ($(TargetFramework))</Product>
44
</PropertyGroup>
55

6+
<ItemGroup>
7+
<!-- Automatic file nesting, for .cs files-->
8+
<Compile Update="**\*.*.cs">
9+
<DependentUpon>$([System.Text.RegularExpressions.Regex]::Replace(%(Filename), '\.[^\.]+$', '.cs'))</DependentUpon>
10+
</Compile>
11+
</ItemGroup>
12+
613
<PropertyGroup Condition="$(TargetFramework.StartsWith('net4'))">
714
<DefineConstants>$(DefineConstants);P_LINQ;SUPPORTS_BINDINGLIST</DefineConstants>
815
</PropertyGroup>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class FilterFixture
4+
{
5+
public static partial class DynamicPredicate;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class FilterFixture
4+
{
5+
public static partial class DynamicPredicateAndReFiltering;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class FilterFixture
4+
{
5+
public static partial class DynamicPredicateState;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class ToObservableChangeSetFixture
4+
{
5+
public static partial class Items;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class ToObservableChangeSetFixture
4+
{
5+
public static partial class Sequences;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.List;
2+
3+
public static partial class ToObservableChangeSetFixture
4+
{
5+
public static partial class Items;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.List;
2+
3+
public static partial class ToObservableChangeSetFixture
4+
{
5+
public static partial class Sequences;
6+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright (c) 2011-2025 Roland Pheasant. All rights reserved.
2+
// Roland Pheasant licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for full license information.
4+
5+
namespace DynamicData.Cache.Internal;
6+
7+
internal static partial class ExpireAfter;

0 commit comments

Comments
 (0)