|
1 | | -# NUnit Analyzers 4.8.1 - May 29, 2025 |
| 1 | +# NUnit Analyzers 4.9 - June 11, 2025 |
| 2 | + |
| 3 | +This release of the NUnit Analyzers adds several new analyzers. For the `RangeAttribute`, |
| 4 | +the analyzers now warn about potential issues at runtime. |
| 5 | + |
| 6 | +It also introduces an analyzer and code fix for translating |
| 7 | +`Assert.Multiple`/`Assert.MultipleAsync` into the new `Assert.EnterMultipleScope` format, as well |
| 8 | +as for converting `is T` checks into `Is.InstanceOf<T>()` constraints. |
| 9 | + |
| 10 | +For `NUnit2021`, the analyzer now respects `UsingPropertiesComparer`, including enhancements |
| 11 | +that will be available in NUnit 4.4. |
| 12 | + |
| 13 | +Finally, this release includes improvements to `NUnit2007`, `NUnit2045`, and `NUnit4002`. |
| 14 | +See the list of resolved issues below for more details. |
| 15 | + |
| 16 | +The release contains contributions from the following users (in alphabetical order): |
| 17 | +* @MaceWindu |
| 18 | +* @manfred-brands |
| 19 | +* @mikkelbu |
| 20 | +* @OsirisTerje |
| 21 | +* @stevenaw |
| 22 | + |
| 23 | +Issues Resolved |
| 24 | + |
| 25 | +Features and Enhancements |
| 26 | +* #880 NUnit2007 could flag typeof() as a constant first parameter |
| 27 | +* #866 When Assert.Multiple is found, should suggest to convert to Assert.EnterMultipleScope |
| 28 | +* #865 NUnit 2045 suggest Assert.Multiple, but should suggest Assert.EnterMultipleScope |
| 29 | +* #857 NUnit2021 Should not raise for UsingPropertiesComparer |
| 30 | +* #765 Add Rule for converting is T into Is.InstanceOf<T>() |
| 31 | +* #89 Test the correct usage of the Range attribute |
| 32 | + |
| 33 | +Bugs |
| 34 | +* #879 `NUnit4002` shouldn't trigger for `T` vs `nullable<T>` struct types |
| 35 | + |
| 36 | +Tooling, Process, and Documentation |
| 37 | +* #868 chore: bump version |
| 38 | + |
| 39 | + |
| 40 | +# NUnit Analyzers 4.8.1 - May 29, 2025 |
2 | 41 |
|
3 | 42 | This release of the NUnit Analyzers fixes a problem with `NUnit4002` when applied to comparisons between non-number |
4 | 43 | types - e.g. strings. |
|
0 commit comments