From 54eab96d8220b61acdefd441c5e02bb8e36d1063 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Fri, 25 Sep 2026 23:05:02 +0200 Subject: [PATCH 1/9] Added releasenotes for NUnit version 5.0 --- .../articles/nunit/release-notes/framework.md | 90 ++++++++++++++++--- 1 file changed, 76 insertions(+), 14 deletions(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index f499d67a5..14f3cd509 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -7,26 +7,41 @@ uid: frameworkreleasenotes # Framework Release -## NUnit 5.0.0-beta.2 - TBD +## NUnit 5.0.0 -There are 33 issues fixed in this release. +NUnit 5.0 is a major release, with a series of breaking changes which are following ups on version 4 towards a more +typesafe NUnit. + +The breaking changes are summarily documented more clearly in [NUnit 5 - Breaking Changes]("link coming"). + +There are also a series of enhancementsm, which are summarily documented in [NUnit 5 - New Features]("link coming"). + +There are in total 48 issues fixed in this release. ### Enhancements -* [5354](https://github.com/nunit/nunit/issues/5354) Expose an `ActiveTests` property on `TestContext`. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5355](https://github.com/nunit/nunit/pull/5355) +* [5396](https://github.com/nunit/nunit/issues/5396) Allow filtered test dependencies to run when dependant can run. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5421](https://github.com/nunit/nunit/pull/5421) +* [5387](https://github.com/nunit/nunit/issues/5387) Add internal "Lock" polyfill. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5388](https://github.com/nunit/nunit/pull/5388) +* [5354](https://github.com/nunit/nunit/issues/5354) Expose a property for ActiveTests in the TestContext. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5355](https://github.com/nunit/nunit/pull/5355) * [5349](https://github.com/nunit/nunit/issues/5349) Use ArgumentOutOfRangeException throw helper and remove CA1512 diagnostic. Thanks to [Shaurya Srivastava](https://github.com/Shaurya2k06) for [PR 5350](https://github.com/nunit/nunit/pull/5350) * [5348](https://github.com/nunit/nunit/issues/5348) Use ArgumentNullException throw helper and remove CA1510 diagnostic. Thanks to [ANSH SINGH](https://github.com/SinghAnsh07) for [PR 5351](https://github.com/nunit/nunit/pull/5351) -* [5323](https://github.com/nunit/nunit/issues/5323) Report compiler error when asserting non-attribute in `Has.Attribute()`. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5322](https://github.com/nunit/nunit/pull/5322) +* [5323](https://github.com/nunit/nunit/issues/5323) Report compiler error when asserting non-attribute in `Has.Attribute<T>()`. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5322](https://github.com/nunit/nunit/pull/5322) * [5316](https://github.com/nunit/nunit/issues/5316) Add .net 10 as target. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5317](https://github.com/nunit/nunit/pull/5317) +* [5267](https://github.com/nunit/nunit/issues/5267) Remove the `OverloadResolutionPriority` attributes added to support the transition to Action and Func-based APIs. * [5260](https://github.com/nunit/nunit/issues/5260) Add a "warning" threshold to the `MaxTime` attribute. Thanks to [Ricardo Macedo](https://github.com/RicardoMacedo-prj) for [PR 5261](https://github.com/nunit/nunit/pull/5261) * [5220](https://github.com/nunit/nunit/issues/5220) Repeat test cases with threshold-based success/failure. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5318](https://github.com/nunit/nunit/pull/5318) * [4857](https://github.com/nunit/nunit/issues/4857) Drop .NET 6 as a build target of the framework. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 4884](https://github.com/nunit/nunit/pull/4884) * [4717](https://github.com/nunit/nunit/issues/4717) Provide generic type definitions for `TestCaseData` to make it type safe. Thanks to [Jonathan Gilbert](https://github.com/logiclrd) for [PR 5138](https://github.com/nunit/nunit/pull/5138) * [4384](https://github.com/nunit/nunit/issues/4384) Assert.ThrowsAsync, Assert.CatchAsync, and Assert.DoesNotThrowAsync should be awaitable. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5268](https://github.com/nunit/nunit/pull/5268) * [3947](https://github.com/nunit/nunit/issues/3947) Simplify asserting ArgumentException.ParamName. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5304](https://github.com/nunit/nunit/pull/5304) +* [51](https://github.com/nunit/nunit/issues/51) Test Dependency Attribute. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5386](https://github.com/nunit/nunit/pull/5386) ### Bug fixes +* [5415](https://github.com/nunit/nunit/issues/5415) DelayedConstraintTests reuses a disposed static wait handle on a second fixture execution. Thanks to [Neil Colvin](https://github.com/oznetmaster) for [PR 5417](https://github.com/nunit/nunit/pull/5417) +* [5414](https://github.com/nunit/nunit/issues/5414) Stream equality compares stale pooled-buffer bytes beyond the end of the streams. Thanks to [Neil Colvin](https://github.com/oznetmaster) for [PR 5416](https://github.com/nunit/nunit/pull/5416) +* [5406](https://github.com/nunit/nunit/issues/5406) Assert.Ignore: Warnings should be displayed. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5405](https://github.com/nunit/nunit/pull/5405) +* [5401](https://github.com/nunit/nunit/issues/5401) A by-ref-returning property on an exception crashes the test host on .NET Framework. Thanks to [Marko Lahma](https://github.com/lahma) for [PR 5402](https://github.com/nunit/nunit/pull/5402) * [5341](https://github.com/nunit/nunit/issues/5341) Confusing difference in Run Settings display between NUnitLite and ConsoleRunner. Thanks to [Amir Tahan](https://github.com/AmirTahan80) for [PR 5361](https://github.com/nunit/nunit/pull/5361) * [5324](https://github.com/nunit/nunit/issues/5324) C++/CLI compiler warning C4642 in EqualNumericConstraint and EqualNumericWithoutUsingConstraint. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5321](https://github.com/nunit/nunit/pull/5321) * [5273](https://github.com/nunit/nunit/issues/5273) Verify that generic AssignableToConstraint and AssignableFromConstraint works as expected. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5277](https://github.com/nunit/nunit/pull/5277) @@ -34,6 +49,8 @@ There are 33 issues fixed in this release. * [5247](https://github.com/nunit/nunit/issues/5247) Assert for null-valued `dynamic` variables doesn't work in 4.6.0. * [4320](https://github.com/nunit/nunit/issues/4320) AssemblyHelper throws Exception when loading dynamically compiled Assemblies. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5308](https://github.com/nunit/nunit/pull/5308) * [3849](https://github.com/nunit/nunit/issues/3849) Assert.Catch inside Assert.Multiple gives unclear failure message. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5280](https://github.com/nunit/nunit/pull/5280) +* [3248](https://github.com/nunit/nunit/issues/3248) Null dereference in TestWorkerThreadProc. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5374](https://github.com/nunit/nunit/pull/5374) +* [2789](https://github.com/nunit/nunit/issues/2789) No tests run when nested classes in generic fixture. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5370](https://github.com/nunit/nunit/pull/5370) * [1001](https://github.com/nunit/nunit/issues/1001) Too many Inconclusive test results. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5251](https://github.com/nunit/nunit/pull/5251) ### Refactorings @@ -44,6 +61,8 @@ There are 33 issues fixed in this release. ### Internal fixes +* [5425](https://github.com/nunit/nunit/issues/5425) Remove remaining .NET 6 build references. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5426](https://github.com/nunit/nunit/pull/5426) +* [5398](https://github.com/nunit/nunit/issues/5398) Suppress namespace messages where it is intentional. Also suppress primary constructor warnings. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5399](https://github.com/nunit/nunit/pull/5399) * [5301](https://github.com/nunit/nunit/issues/5301) Update README and nuspec files for NUnit 5. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5302](https://github.com/nunit/nunit/pull/5302) * [5228](https://github.com/nunit/nunit/issues/5228) Set assembly version to Minver default for the 5.0.0.0 release. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5299](https://github.com/nunit/nunit/pull/5299) * [5222](https://github.com/nunit/nunit/issues/5222) AssemblyVersion. @@ -51,14 +70,17 @@ There are 33 issues fixed in this release. ### Deprecated features -* [5265](https://github.com/nunit/nunit/issues/5265) 4.6 breaks our tests because of TestDelegate / Action ambiguity. +* [5378](https://github.com/nunit/nunit/issues/5378) Deprecate the `Order` attribute. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5384](https://github.com/nunit/nunit/pull/5384) +* [5373](https://github.com/nunit/nunit/issues/5373) Eliminate forced stop from the API. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5374](https://github.com/nunit/nunit/pull/5374) +* [5265](https://github.com/nunit/nunit/issues/5265) 4.6 breaks our tests because of TestDelegate / Action ambiguity. Thanks to [CharliePoole](https://github.com/CharliePoole) for [PR 53](https://github.com/nunit/nunit/pull/53) * [5263](https://github.com/nunit/nunit/issues/5263) Deprecate non-generic CollectionTally class and move the result class out of nested class. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5310](https://github.com/nunit/nunit/pull/5310) * [5253](https://github.com/nunit/nunit/issues/5253) Remove TestDelegate and ActualValueDelegate. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5262](https://github.com/nunit/nunit/pull/5262) ### Others +* [5391](https://github.com/nunit/nunit/issues/5391) Add missing test coverage for method dependencies on generic methods. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5392](https://github.com/nunit/nunit/pull/5392) +* [5367](https://github.com/nunit/nunit/issues/5367) Eliminate StopRun(bool) method from .NET Core builds. Thanks to [CharliePoole](https://github.com/CharliePoole) for [PR 5369](https://github.com/nunit/nunit/pull/5369) * [5271](https://github.com/nunit/nunit/issues/5271) Update Collection Equivalency performance tests to use MaxTime. Thanks to [Silva Dev BR](https://github.com/Will-thom) for [PR 5276](https://github.com/nunit/nunit/pull/5276) -* [5267](https://github.com/nunit/nunit/issues/5267) Remove the `OverloadResolutionPriority` attributes added to support the transition to Action and Func-based APIs. * [5218](https://github.com/nunit/nunit/issues/5218) Feat/allow custom comparer null self. * [5145](https://github.com/nunit/nunit/issues/5145) Remove the `object?` overloads for `Is.SameAs` and underlying constraint. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5160](https://github.com/nunit/nunit/pull/5160) * [5007](https://github.com/nunit/nunit/issues/5007) Create generic type checking constraints. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5191](https://github.com/nunit/nunit/pull/5191) @@ -66,8 +88,10 @@ There are 33 issues fixed in this release. ### The following issues are marked as breaking changes +* [5373](https://github.com/nunit/nunit/issues/5373) Eliminate forced stop from the API. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5374](https://github.com/nunit/nunit/pull/5374) +* [5367](https://github.com/nunit/nunit/issues/5367) Eliminate StopRun(bool) method from .NET Core builds. Thanks to [CharliePoole](https://github.com/CharliePoole) for [PR 5369](https://github.com/nunit/nunit/pull/5369) * [5323](https://github.com/nunit/nunit/issues/5323) Report compiler error when asserting non-attribute in `Has.Attribute<T>()`. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5322](https://github.com/nunit/nunit/pull/5322) -* [5265](https://github.com/nunit/nunit/issues/5265) 4.6 breaks our tests because of TestDelegate / Action ambiguity. +* [5265](https://github.com/nunit/nunit/issues/5265) 4.6 breaks our tests because of TestDelegate / Action ambiguity. Thanks to [CharliePoole](https://github.com/CharliePoole) for [PR 53](https://github.com/nunit/nunit/pull/53) * [5263](https://github.com/nunit/nunit/issues/5263) Deprecate non-generic CollectionTally class and move the result class out of nested class. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5310](https://github.com/nunit/nunit/pull/5310) * [5253](https://github.com/nunit/nunit/issues/5253) Remove TestDelegate and ActualValueDelegate. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5262](https://github.com/nunit/nunit/pull/5262) * [5180](https://github.com/nunit/nunit/issues/5180) Change namespace for legacy String-, Collection-, File- and DirectoryAssert classes. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5181](https://github.com/nunit/nunit/pull/5181) @@ -114,24 +138,31 @@ A special thank you to the following reporters for identifying issues: + - + + + + + + + - + - +
ashes999 CharliePoole Heath Stewart HFJoel Dickson
Joel DicksonJoseph Musser MaceWinduManfred Brands
Marko Lahma Mikkel Nylander BundgaardNeil Colvin Patrick StevensPer Rovegård
Per Rovegård R. Miller Rachid Rob ProuseSteven Weerdenburg
Steven Weerdenburg Terje Sandstrom
@@ -140,42 +171,73 @@ and to the commenters who engaged in discussions and offered further insights: + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + + + + + - + + - +
Ace Olszowka Amir TahanAndrew Brown ANSH SINGH
ashes999Austin HowardCandy Chiu CharliePoole
Chris Maddockcirca1741DannyBraigEspen Halsaa Albrektsen
Flynn1179fraser addison HFJeff Cave
Jez Joel DicksonJohan Larsson Jonathan Gilbert
Joseph MusserLeo Shine m4ggoMaceWindu
MaceWindu Manfred BrandsMarko Lahma MartinFayRAX Mike Parker
Mikkel Nylander BundgaardNeil Colvin Ondřej Sekáč Patrick StevensPer Rovegård
Per Rovegård R. Miller RachidRafael Ladeira
Ricardo Macedo Rob ProuseRussell SmithSebastiaan Dammann
Russell SmithSebastian Nawara Shaurya SrivastavaShawn Silva Dev BRSteven Weerdenburg
Steven Weerdenburg Terje Sandstrom
From dee961822a8d2c4a1e8128d7ceb15c0970a545e7 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Fri, 25 Sep 2026 23:12:43 +0200 Subject: [PATCH 2/9] Update release notes for NUnit framework changes Updated release notes to reflect changes in attributes and API behavior, including deprecations and removals. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docs/articles/nunit/release-notes/framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index 14f3cd509..2f5b4ca6c 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -72,7 +72,7 @@ There are in total 48 issues fixed in this release. * [5378](https://github.com/nunit/nunit/issues/5378) Deprecate the `Order` attribute. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5384](https://github.com/nunit/nunit/pull/5384) * [5373](https://github.com/nunit/nunit/issues/5373) Eliminate forced stop from the API. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5374](https://github.com/nunit/nunit/pull/5374) -* [5265](https://github.com/nunit/nunit/issues/5265) 4.6 breaks our tests because of TestDelegate / Action ambiguity. Thanks to [CharliePoole](https://github.com/CharliePoole) for [PR 53](https://github.com/nunit/nunit/pull/53) +* [5265](https://github.com/nunit/nunit/issues/5265) 4.6 breaks our tests because of TestDelegate / Action ambiguity. * [5263](https://github.com/nunit/nunit/issues/5263) Deprecate non-generic CollectionTally class and move the result class out of nested class. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5310](https://github.com/nunit/nunit/pull/5310) * [5253](https://github.com/nunit/nunit/issues/5253) Remove TestDelegate and ActualValueDelegate. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5262](https://github.com/nunit/nunit/pull/5262) From aa1ad48681579295b9bd2d3953849ae9de3fb495 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Fri, 25 Sep 2026 23:12:57 +0200 Subject: [PATCH 3/9] Fix typo in enhancements documentation Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docs/articles/nunit/release-notes/framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index 2f5b4ca6c..3e2e39650 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -14,7 +14,7 @@ typesafe NUnit. The breaking changes are summarily documented more clearly in [NUnit 5 - Breaking Changes]("link coming"). -There are also a series of enhancementsm, which are summarily documented in [NUnit 5 - New Features]("link coming"). +There are also a series of enhancements, which are summarily documented in [NUnit 5 - New Features]("link coming"). There are in total 48 issues fixed in this release. From 102cc6428d80739c5fa0c9f817192922e43652af Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Fri, 25 Sep 2026 23:13:29 +0200 Subject: [PATCH 4/9] Update release notes with recent enhancements Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docs/articles/nunit/release-notes/framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index 3e2e39650..bb86ac785 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -20,7 +20,7 @@ There are in total 48 issues fixed in this release. ### Enhancements -* [5396](https://github.com/nunit/nunit/issues/5396) Allow filtered test dependencies to run when dependant can run. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5421](https://github.com/nunit/nunit/pull/5421) +* [5396](https://github.com/nunit/nunit/issues/5396) Allow filtered test dependencies to run when dependent can run. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5421](https://github.com/nunit/nunit/pull/5421) * [5387](https://github.com/nunit/nunit/issues/5387) Add internal "Lock" polyfill. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5388](https://github.com/nunit/nunit/pull/5388) * [5354](https://github.com/nunit/nunit/issues/5354) Expose a property for ActiveTests in the TestContext. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5355](https://github.com/nunit/nunit/pull/5355) * [5349](https://github.com/nunit/nunit/issues/5349) Use ArgumentOutOfRangeException throw helper and remove CA1512 diagnostic. Thanks to [Shaurya Srivastava](https://github.com/Shaurya2k06) for [PR 5350](https://github.com/nunit/nunit/pull/5350) From 3b21f1cfe9b3419aa4c467117e76e45e9e820d31 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Fri, 25 Sep 2026 23:13:51 +0200 Subject: [PATCH 5/9] Update release notes for NUnit 5.0.0 Clarified the description of breaking changes in NUnit 5.0. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docs/articles/nunit/release-notes/framework.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index bb86ac785..c8170eb2f 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -9,8 +9,8 @@ uid: frameworkreleasenotes ## NUnit 5.0.0 -NUnit 5.0 is a major release, with a series of breaking changes which are following ups on version 4 towards a more -typesafe NUnit. +NUnit 5 is a major release, with a series of breaking changes that follow up on version 4's move towards a more +type-safe NUnit. The breaking changes are summarily documented more clearly in [NUnit 5 - Breaking Changes]("link coming"). From 2c47fcd7b2136bfcf407944b73107349e2fdaad8 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Sat, 26 Sep 2026 20:49:25 +0200 Subject: [PATCH 6/9] Link the NUnit 5 summary pages from the release notes Co-Authored-By: Claude Opus 5.5 --- docs/articles/nunit/release-notes/framework.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index c8170eb2f..8528433d4 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -12,9 +12,9 @@ uid: frameworkreleasenotes NUnit 5 is a major release, with a series of breaking changes that follow up on version 4's move towards a more type-safe NUnit. -The breaking changes are summarily documented more clearly in [NUnit 5 - Breaking Changes]("link coming"). +The breaking changes are summarily documented more clearly in [NUnit 5 - Breaking Changes](xref:v5breakingchanges). -There are also a series of enhancements, which are summarily documented in [NUnit 5 - New Features]("link coming"). +There are also a series of enhancements, which are summarily documented in [NUnit 5 - New Features](xref:v5newfeatures). There are in total 48 issues fixed in this release. From dffc79379af7abc4fe27cd05fec80ed765079d2a Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Sat, 26 Sep 2026 20:50:55 +0200 Subject: [PATCH 7/9] Remove the credit linking to an unrelated PR 53 Co-Authored-By: Claude Opus 5.5 --- docs/articles/nunit/release-notes/framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index 8528433d4..d1f628540 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -91,7 +91,7 @@ There are in total 48 issues fixed in this release. * [5373](https://github.com/nunit/nunit/issues/5373) Eliminate forced stop from the API. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5374](https://github.com/nunit/nunit/pull/5374) * [5367](https://github.com/nunit/nunit/issues/5367) Eliminate StopRun(bool) method from .NET Core builds. Thanks to [CharliePoole](https://github.com/CharliePoole) for [PR 5369](https://github.com/nunit/nunit/pull/5369) * [5323](https://github.com/nunit/nunit/issues/5323) Report compiler error when asserting non-attribute in `Has.Attribute<T>()`. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5322](https://github.com/nunit/nunit/pull/5322) -* [5265](https://github.com/nunit/nunit/issues/5265) 4.6 breaks our tests because of TestDelegate / Action ambiguity. Thanks to [CharliePoole](https://github.com/CharliePoole) for [PR 53](https://github.com/nunit/nunit/pull/53) +* [5265](https://github.com/nunit/nunit/issues/5265) 4.6 breaks our tests because of TestDelegate / Action ambiguity. * [5263](https://github.com/nunit/nunit/issues/5263) Deprecate non-generic CollectionTally class and move the result class out of nested class. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5310](https://github.com/nunit/nunit/pull/5310) * [5253](https://github.com/nunit/nunit/issues/5253) Remove TestDelegate and ActualValueDelegate. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5262](https://github.com/nunit/nunit/pull/5262) * [5180](https://github.com/nunit/nunit/issues/5180) Change namespace for legacy String-, Collection-, File- and DirectoryAssert classes. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5181](https://github.com/nunit/nunit/pull/5181) From 8a729f1f7f6b370f9068b9d450b751d4631a6967 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Sat, 26 Sep 2026 20:55:02 +0200 Subject: [PATCH 8/9] List issue 5222 once, under Internal fixes, with a descriptive title Co-Authored-By: Claude Opus 5.5 --- docs/articles/nunit/release-notes/framework.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index d1f628540..76ffdd1b7 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -56,7 +56,6 @@ There are in total 48 issues fixed in this release. ### Refactorings * [5273](https://github.com/nunit/nunit/issues/5273) Verify that generic AssignableToConstraint and AssignableFromConstraint works as expected. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5277](https://github.com/nunit/nunit/pull/5277) -* [5222](https://github.com/nunit/nunit/issues/5222) AssemblyVersion. * [5180](https://github.com/nunit/nunit/issues/5180) Change namespace for legacy String-, Collection-, File- and DirectoryAssert classes. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5181](https://github.com/nunit/nunit/pull/5181) ### Internal fixes @@ -65,7 +64,7 @@ There are in total 48 issues fixed in this release. * [5398](https://github.com/nunit/nunit/issues/5398) Suppress namespace messages where it is intentional. Also suppress primary constructor warnings. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5399](https://github.com/nunit/nunit/pull/5399) * [5301](https://github.com/nunit/nunit/issues/5301) Update README and nuspec files for NUnit 5. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5302](https://github.com/nunit/nunit/pull/5302) * [5228](https://github.com/nunit/nunit/issues/5228) Set assembly version to Minver default for the 5.0.0.0 release. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5299](https://github.com/nunit/nunit/pull/5299) -* [5222](https://github.com/nunit/nunit/issues/5222) AssemblyVersion. +* [5222](https://github.com/nunit/nunit/issues/5222) Follow the .NET versioning guidance for assembly versions: `AssemblyVersion` is now Major.0.0.0, so it stays 5.0.0.0 for all NUnit 5.x releases. * [5197](https://github.com/nunit/nunit/issues/5197) Add files to support AI agent coding. Thanks to [Joel Dickson](https://github.com/joeldickson) for [PR 5225](https://github.com/nunit/nunit/pull/5225) ### Deprecated features From 0b3281e7428657f0b45412c5f86fbc0d4fe247cc Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Sat, 26 Sep 2026 20:58:51 +0200 Subject: [PATCH 9/9] Adding release date --- docs/articles/nunit/release-notes/framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index 76ffdd1b7..bf03a48d5 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -7,7 +7,7 @@ uid: frameworkreleasenotes # Framework Release -## NUnit 5.0.0 +## NUnit 5.0.0 - Sept 27, 2026 NUnit 5 is a major release, with a series of breaking changes that follow up on version 4's move towards a more type-safe NUnit.