Skip to content

Commit ced9ff8

Browse files
authored
Version bump 1.0.0-beta17 (#220)
1 parent 46680eb commit ced9ff8

File tree

7 files changed

+83
-10
lines changed

7 files changed

+83
-10
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,45 @@
11
Changelog
22
---
33

4+
## [v1.0.0-beta17](https://github.com/andrewlock/NetEscapades.EnumGenerators/compare/v1.0.0-beta16..v1.0.0-beta17) (2026-01-04)
5+
6+
### Breaking Changes
7+
8+
* Add support for generating `ReadOnlySpan<char>` based methods when System.Memory is present (#182, #212)
9+
10+
### Features
11+
12+
* Add support for disabling number parsing using `EnumParseOptions` (#175)
13+
* Add support for automatic `ToLowerInvariant` and `ToUpperInvariant` in `ToStringFast()`, using `SerializationOptions` (#177)
14+
* Add Analyzers to encourage using the generated methods
15+
* Add analyzer to detect ToString() on enums with [EnumExtensions] or EnumExtensions<T> (#196)
16+
* Extend ToStringAnalyzer to detect enum usage in string interpolation (#198)
17+
* Add analyzer to detect HasFlag() and suggest HasFlagFast() replacement (#199)
18+
* Extract the extension class and namespace in analyzers (#200)
19+
* Add using directive support to HasFlagAnalyzer and ToStringAnalyzer code fixes (#202)
20+
* Add analyzer for Enum.IsDefined() suggesting generated IsDefined method (#203)
21+
* Add analyzer for Enum.Parse() suggesting generated Parse method (NEEG007) (#204)
22+
* Add analyzer for Enum.GetNames() with generated alternative (#209)
23+
* Add analyzer for Enum.GetValues() with code fix to use generated method (#207)
24+
* Add analyzer for Enum.GetValuesAsUnderlyingType() usage (#208)
25+
* Add analyzer for Enum.TryParse() usage (#206)
26+
* Refactor analyzers to reduce some duplication (#205)
27+
* Disable usage analyzers by default, enable via editorconfig (#214)
28+
* Update default severity to warning (#218)
29+
30+
### Fixes
31+
32+
* Remove ToStringFastWithMetadata when it's not needed for perf reasons(#176)
33+
* Minor performance fixes in generated code (#178)
34+
* Use Collection expressions in generated code if possible (#179)
35+
36+
### Misc
37+
38+
* Build tweaks (#180)
39+
* Add support for .NET 10.0 in Benchmark project (#184) Thanks [@HakamFostok](https://github.com/HakamFostok)!
40+
* Add Usage Analyzers documentation to README (#216)
41+
* Update Readme (#219)
42+
443
## [v1.0.0-beta16](https://github.com/andrewlock/NetEscapades.EnumGenerators/compare/v1.0.0-beta15..v1.0.0-beta16) (2025-11-04)
544

645
### Fixes

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ This adds a `<PackageReference>` to your project:
6262
</PropertyGroup>
6363

6464
<!-- Add the package -->
65-
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta16" />
65+
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta17" />
6666
<!-- -->
6767

6868
</Project>
@@ -363,7 +363,7 @@ This adds a `<PackageReference>` to your project. You can additionally mark the
363363
</PropertyGroup>
364364

365365
<!-- Add the package -->
366-
<PackageReference Include="NetEscapades.EnumGenerators.Interceptors" Version="1.0.0-beta16"
366+
<PackageReference Include="NetEscapades.EnumGenerators.Interceptors" Version="1.0.0-beta17"
367367
PrivateAssets="all" ExcludeAssets="runtime" />
368368
<!-- -->
369369

@@ -417,7 +417,7 @@ Your project file should look something like this:
417417
</PropertyGroup>
418418

419419
<!-- Add the package -->
420-
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta16" />
420+
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta17" />
421421
</Project>
422422
```
423423

@@ -438,7 +438,7 @@ If you wish to preserve these attributes in the build output, you can define the
438438
</PropertyGroup>
439439

440440
<!-- Add the package -->
441-
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta16" PrivateAssets="all" />
441+
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta17" PrivateAssets="all" />
442442
<!-- ☝ You must not exclude the runtime assets in this case -->
443443

444444
</Project>

releasenotes.props

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,42 @@
33
<PackageReleaseNotes Condition="'$(PackageVersion)' == '1.0.0-beta16'">
44
<![CDATA[
55
6+
### Breaking Changes
7+
8+
* Add support for generating `ReadOnlySpan<char>` based methods when System.Memory is present (#182, #212)
9+
10+
### Features
11+
12+
* Add support for disabling number parsing using `EnumParseOptions` (#175)
13+
* Add support for automatic `ToLowerInvariant` and `ToUpperInvariant` in `ToStringFast()`, using `SerializationOptions` (#177)
14+
* Add Analyzers to encourage using the generated methods
15+
* Add analyzer to detect ToString() on enums with [EnumExtensions] or EnumExtensions<T> (#196)
16+
* Extend ToStringAnalyzer to detect enum usage in string interpolation (#198)
17+
* Add analyzer to detect HasFlag() and suggest HasFlagFast() replacement (#199)
18+
* Extract the extension class and namespace in analyzers (#200)
19+
* Add using directive support to HasFlagAnalyzer and ToStringAnalyzer code fixes (#202)
20+
* Add analyzer for Enum.IsDefined() suggesting generated IsDefined method (#203)
21+
* Add analyzer for Enum.Parse() suggesting generated Parse method (NEEG007) (#204)
22+
* Add analyzer for Enum.GetNames() with generated alternative (#209)
23+
* Add analyzer for Enum.GetValues() with code fix to use generated method (#207)
24+
* Add analyzer for Enum.GetValuesAsUnderlyingType() usage (#208)
25+
* Add analyzer for Enum.TryParse() usage (#206)
26+
* Refactor analyzers to reduce some duplication (#205)
27+
* Disable usage analyzers by default, enable via editorconfig (#214)
28+
* Update default severity to warning (#218)
29+
630
### Fixes
7-
- Fix incorrect default value of `EnumGenerator_ForceExtensionMembers` incorrectly generating C#14 extension members (#172) Thanks @sindrekroknes
31+
32+
* Remove ToStringFastWithMetadata when it's not needed for perf reasons(#176)
33+
* Minor performance fixes in generated code (#178)
34+
* Use Collection expressions in generated code if possible (#179)
35+
36+
### Misc
37+
38+
* Build tweaks (#180)
39+
* Add support for .NET 10.0 in Benchmark project (#184) Thanks [@HakamFostok](https://github.com/HakamFostok)!
40+
* Add Usage Analyzers documentation to README (#216)
41+
* Update Readme (#219)
842
943
]]>
1044
</PackageReleaseNotes>

src/NetEscapades.EnumGenerators.Interceptors/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This adds a `<PackageReference>` to your project. You can additionally mark the
5555
</PropertyGroup>
5656

5757
<!-- Add the package -->
58-
<PackageReference Include="NetEscapades.EnumGenerators.Interceptors" Version="1.0.0-beta16" />
58+
<PackageReference Include="NetEscapades.EnumGenerators.Interceptors" Version="1.0.0-beta17" />
5959
<!-- -->
6060

6161
</Project>

src/NetEscapades.EnumGenerators/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ namespace NetEscapades.EnumGenerators;
22

33
public static class Constants
44
{
5-
public const string Version = "1.0.0-beta16";
5+
public const string Version = "1.0.0-beta17";
66
public const string MetadataSourcePropertyName = "EnumGenerator_EnumMetadataSource";
77
public const string ForceExtensionMembers = "EnumGenerator_ForceExtensionMembers";
88
}

src/NetEscapades.EnumGenerators/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ This adds a `<PackageReference>` to your project:
8383
</PropertyGroup>
8484

8585
<!-- Add the package -->
86-
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta16" />
86+
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta17" />
8787
<!-- -->
8888

8989
</Project>
@@ -444,6 +444,6 @@ The `[EnumExtensions]` attribute is decorated with the `[Conditional]` attribute
444444
</PropertyGroup>
445445

446446
<!-- Add the package -->
447-
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta16" />
447+
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta17" />
448448
</Project>
449449
```

version.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<VersionPrefix>1.0.0</VersionPrefix>
4-
<VersionSuffix>beta16</VersionSuffix>
4+
<VersionSuffix>beta17</VersionSuffix>
55
<PackageVersion Condition="'$(VersionSuffix)' == ''">$(VersionPrefix)</PackageVersion>
66
<PackageVersion Condition="'$(VersionSuffix)' != ''">$(VersionPrefix)-$(VersionSuffix)</PackageVersion>
77
</PropertyGroup>

0 commit comments

Comments
 (0)