@@ -7,6 +7,45 @@ and adheres to a project-specific [Versioning](/README.md).
77
88## [ Unreleased]
99
10+ ### Added
11+
12+ - S2925 "Thread.Sleep" should not be used in tests
13+ - S3363 Date and time should not be used as a type for primary keys
14+ - S6561 Avoid using "DateTime.Now" for benchmarking or timing operations
15+ - S6562 Always set the "DateTimeKind" when creating new "DateTime" instances
16+ - S6575 Use "TimeZoneInfo.FindSystemTimeZoneById" without converting the timezones with "TimezoneConverter"
17+ - S6580 Use a format provider when parsing date and time
18+ - S6588 Use the "UnixEpoch" field instead of creating "DateTime" instances that point to the beginning of the Unix epoch
19+ - S6602 "Find" method should be used instead of the "FirstOrDefault" extension
20+ - S6603 The collection-specific "TrueForAll" method should be used instead of the "All" extension
21+ - S6605 Collection-specific "Exists" method should be used instead of the "Any" extension
22+ - S6607 The collection should be filtered before sorting by using "Where" before "OrderBy"
23+ - S6608 Prefer indexing instead of "Enumerable" methods on types implementing "IList"
24+ - S6609 "Min/Max" properties of "Set" types should be used instead of the "Enumerable" extension methods
25+ - S6610 "StartsWith" and "EndsWith" overloads that take a "char" should be used instead of the ones that take a "string"
26+ - S6612 The lambda parameter should be used instead of capturing arguments in "ConcurrentDictionary" methods
27+ - S6613 "First" and "Last" properties of "LinkedList" should be used instead of the "First()" and "Last()" extension methods
28+ - S6617 "Contains" should be used instead of "Any" for simple equality checks
29+ - S6618 "string.Create" should be used instead of "FormattableString"
30+ - S6640 Using unsafe code blocks is security-sensitive
31+ - S6797 Blazor query parameter type should be supported
32+ - S6798 [ JSInvokable] attribute should only be used on public methods
33+ - S6800 Component parameter type should match the route parameter type constraint
34+ - S6803 Parameters with SupplyParameterFromQuery attribute should be used only in routable components
35+
36+ ### Removed rules
37+
38+ - S2228 Console logging should not be used
39+ - S2255 Writing cookies is security-sensitive
40+ - S3884 "CoSetProxyBlanket" and "CoInitializeSecurity" should not be used
41+ - S4564 ASP.NET HTTP request validation feature should not be disabled
42+ - S4784 Using regular expressions is security-sensitive
43+ - S4787 Encrypting data is security-sensitive
44+ - S4818 Using Sockets is security-sensitive
45+ - S4823 Using command line arguments is security-sensitive
46+ - S4829 Reading the Standard Input is security-sensitive
47+ - S4834 Controlling permissions is security-sensitive
48+
1049## [ 3.1.1] - 2024-09-20
1150
1251### Changed
0 commit comments