Skip to content

Commit

Permalink
Bump to 1.0.0-beta12 (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock authored Jan 26, 2025
1 parent abe24d8 commit b5f7a7f
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 12 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
Changelog
---

## [v1.0.0-beta12](https://github.com/andrewlock/NetEscapades.EnumGenerators/compare/v1.0.0-beta11..v1.0.0-beta12) (2025-01-26)

### Breaking Changes:
- By default, `ToStringFast()` no longer uses `[DisplayName]` and `[Description]` by default. The original behaviour can be restored by passing `allowMatchingMetadataAttribute:true` (#122)
- Split the experimental interceptor support into a separate project, NetEscapades.EnumGenerators.Interceptors (#125)
- Enable interception by default when NetEscapades.EnumGenerators.Interceptors is added (#127)

### Features
- Added a package logo (#125)

### Fixes
- Fixed indentation in generated code so it aligns properly with 4 spaces (#120) Thanks [@karl-sjogren](https://github.com/karl-sjogren)!
- Fix missing global on System namespace usages (#118) Thanks [@henrikwidlund](https://github.com/henrikwidlund)!
- Don't use `using`s in generated code (#129)

## [v1.0.0-beta11](https://github.com/andrewlock/NetEscapades.EnumGenerators/compare/v1.0.0-beta09..v1.0.0-beta11) (2024-10-24)

### Features
Expand Down
16 changes: 10 additions & 6 deletions releasenotes.props
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
<Project>
<PropertyGroup>
<PackageReleaseNotes Condition="'$(PackageVersion)' == '1.0.0-beta11'">
<PackageReleaseNotes Condition="'$(PackageVersion)' == '1.0.0-beta12'">
<![CDATA[
Breaking Changes:
- By default, `ToStringFast()` no longer uses `[DisplayName]` and `[Description]` by default. The original behaviour can be restored by passing `allowMatchingMetadataAttribute:true` (#122)
- Split the experimental interceptor support into a separate project, NetEscapades.EnumGenerators.Interceptors (#125)
- Enable interception by default when NetEscapades.EnumGenerators.Interceptors is added (#127)
Features
- Add optional interceptor for ToString() and HasFlag() (#94, #101, #104, #105, #106, #108, #113)
- Ignore usages of obsolete enum members in generated code (#111)
- Added a package logo (#125)
Fixes
- Fix escaping of strings in description and display attributes (#109)
- Ensure we can handle enums with the same name in different namespaces (#114)
- Fix naming conflicts in System namespace (#118) Thanks @henrikwidlund!
- Fixed indentation in generated code so it aligns properly with 4 spaces (#120) Thanks @karl-sjogren!
- Fix missing global on System namespace usages (#118) Thanks @henrikwidlund!
- Don't use `using`s in generated code (#129)
]]>
</PackageReleaseNotes>
Expand Down
2 changes: 1 addition & 1 deletion src/NetEscapades.EnumGenerators.Interceptors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ This adds a `<PackageReference>` to your project. You can additionally mark the
</PropertyGroup>

<!-- Add the package -->
<PackageReference Include="NetEscapades.EnumGenerators.Interceptors" Version="1.0.0-beta11"
<PackageReference Include="NetEscapades.EnumGenerators.Interceptors" Version="1.0.0-beta12"
PrivateAssets="all" ExcludeAssets="runtime" />
<!-- -->

Expand Down
2 changes: 1 addition & 1 deletion src/NetEscapades.EnumGenerators/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ namespace NetEscapades.EnumGenerators;

public static class Constants
{
public const string Version = "1.0.0-beta11";
public const string Version = "1.0.0-beta12";
}
6 changes: 3 additions & 3 deletions src/NetEscapades.EnumGenerators/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ This adds a `<PackageReference>` to your project. You can additionally mark the
</PropertyGroup>

<!-- Add the package -->
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta11"
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta12"
PrivateAssets="all" ExcludeAssets="runtime" />
<!-- -->

Expand Down Expand Up @@ -369,7 +369,7 @@ Your project file should look something like this:
</PropertyGroup>

<!-- Add the package -->
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta11"
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta12"
PrivateAssets="all"
ExcludeAssets="compile;runtime" />
<!-- ☝ Add compile to the list of excluded assets. -->
Expand All @@ -394,7 +394,7 @@ If you wish to preserve these attributes in the build output, you can define the
</PropertyGroup>

<!-- Add the package -->
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta11" PrivateAssets="all" />
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta12~~~~~~~~" PrivateAssets="all" />
<!-- ☝ You must not exclude the runtime assets in this case -->

</Project>
Expand Down
2 changes: 1 addition & 1 deletion version.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<VersionPrefix>1.0.0</VersionPrefix>
<VersionSuffix>beta11</VersionSuffix>
<VersionSuffix>beta12</VersionSuffix>
<PackageVersion Condition="'$(VersionSuffix)' == ''">$(VersionPrefix)</PackageVersion>
<PackageVersion Condition="'$(VersionSuffix)' != ''">$(VersionPrefix)-$(VersionSuffix)</PackageVersion>
</PropertyGroup>
Expand Down

0 comments on commit b5f7a7f

Please sign in to comment.