Releases: pmrogala/Buildenator
Releases · pmrogala/Buildenator
v8.4.0.0
8.4.0.0 - 2024-10-31
Changed
Warning
This version brings many breaking changes.
- Default static builder constructor is not generated by default anymore.
- To enable it you have to use
generateStaticPropertyForBuilderCreation: true
either globally or on any builder level.
- To enable it you have to use
- Changed
defaultStaticCreator
togenerateDefaultBuildMethod
to better reflect the intention. - Removed generating the namespace of an entity that is build by a builder to handle edge cases.
- It shouldn't generate any regression, but it's a breaking change anyway.
- Improved performance 3x
v8.3.0.0
8.3.0.0 - 2024-10-30
Added
- Possibility to use static method for constructing an object instead of normal constructors.
- simple usage
[MakeBuilder(typeof(Entity), staticFactoryMethodName: nameof(Entity.CreateEntity))]
- It may be useful when your entity has private constructors and you create it by factory methods.
v8.2.1.0
8.2.1.0 - 2024-10-30
Changed
- Fixed the default nullable strategy - it should inherit the option from the project the builder is in.
- Warning It may be a breaking change if someone is accustomed to previous behavior, but it was a bug.
- Changed the format of versioning: The biggest number is only to reflect minimum version of .net. The rest is like in the Semantic Versioning
v8.2.0
v8.1.3
v6.1.3
v8.1.2
v8.1.1
6.1.1 & 8.1.1 - 2024-10-11
Changed
- Fixing code generation for the scenario with an entity having only private constructors. For now it will not generate automatically the build methods.
- In other words, an user must define their own Build method without parameters returning the entity. In the future, more meaningful error will be added.
v6.1.2
v6.1.1
6.1.1 - 2024-10-11
Changed
- Fixing code generation for the scenario with an entity having only private constructors. For now it will not generate automatically the build methods.
- In other words, an user must define their own Build method without parameters returning the entity. In the future, more meaningful error will be added.