Skip to content

Commit

Permalink
0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
StefH committed Aug 20, 2022
1 parent 28fd294 commit 1d0cac4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Generate-ReleaseNotes.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rem https://github.com/StefH/GitHubReleaseNotes

SET version=0.5.1
SET version=0.6.0

GitHubReleaseNotes --output ReleaseNotes.md --skip-empty-releases --exclude-labels question invalid doc --version %version%

Expand Down
4 changes: 3 additions & 1 deletion PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# 0.5.1 (28 July 2022)
# 0.6.0 (20 August 2022)
- #46 Add support to exclude properties from base-classes + fixed default value if SuppressNullableWarningExpression
- #47 Support Properties which have 'private set' [enhancement]
- #40 Builder code should handle private setters

The full release notes can be found here: https://github.com/StefH/FluentBuilder/blob/main/ReleaseNotes.md
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ public class User
}
```

#### AutoGenerateBuilder - attribute

This attribute has 3 arguments:
- `type` (Type) = The type for which to create the builder, see 'Define a class which needs to act as a builder'
- `handleBaseClasses` (bool) = Handle also base-classes. Default value is `true`.
- `accessibility` (FluentBuilderAccessibility) = Generate builder methods for `Public` or `PublicAndPrivate`. Default value when not provided is `Public`.

### Use FluentBuilder
``` c#
using System;
Expand Down
4 changes: 3 additions & 1 deletion ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 0.5.1 (28 July 2022)
# 0.6.0 (20 August 2022)
- [#46](https://github.com/StefH/FluentBuilder/pull/46) - Add support to exclude properties from base-classes + fixed default value if SuppressNullableWarningExpression contributed by [StefH](https://github.com/StefH)
- [#47](https://github.com/StefH/FluentBuilder/pull/47) - Support Properties which have 'private set' [enhancement] contributed by [StefH](https://github.com/StefH)
- [#40](https://github.com/StefH/FluentBuilder/issues/40) - Builder code should handle private setters

# 0.5.0 (12 July 2022)
- [#44](https://github.com/StefH/FluentBuilder/pull/44) - Adds an attribute called IgnoreProperty that tells the generator to skip the property [enhancement] contributed by [emorell96](https://github.com/emorell96)
Expand Down
2 changes: 1 addition & 1 deletion src/FluentBuilderGenerator/FluentBuilderGenerator.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>0.5.1</Version>
<Version>0.6.0</Version>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>10.0</LangVersion>
<ImplicitUsings>true</ImplicitUsings>
Expand Down

0 comments on commit 1d0cac4

Please sign in to comment.