Skip to content

Releases: pmrogala/Buildenator

v8.4.0.0

02 Nov 09:23
Compare
Choose a tag to compare

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.
  • Changed defaultStaticCreator to generateDefaultBuildMethod 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

30 Oct 19:20
Compare
Choose a tag to compare

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

30 Oct 16:13
Compare
Choose a tag to compare

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

24 Oct 19:15
Compare
Choose a tag to compare

8.2.0 - 2024-10-23

Added

  • Diagnostics for
    • replacing the default Build method
    • replacing the default constructor
    • a builder without the build method error
  • Possibility to replace the default Build method

v8.1.3

14 Oct 19:08
Compare
Choose a tag to compare
## 8.1.3 - 2024-10-14

### Changed

- Fixed regression for default constructors - the build method should appear again
- Added generation of methods for properties from private constructors, keeping the Build method removed.

v6.1.3

14 Oct 19:33
Compare
Choose a tag to compare
## 8.1.3 - 2024-10-14

### Changed

- Fixed regression for default constructors - the build method should appear again
- Added generation of methods for properties from private constructors, keeping the Build method removed.

v8.1.2

11 Oct 20:25
Compare
Choose a tag to compare
## 6.1.2 & 8.1.2 - 2024-10-11

### Changed

- Very weird issue only reproducible after creating and using nuget package. Filtering implicitly created constructors helped by some reason.
- Versioning number to the generation string

v8.1.1

11 Oct 11:23
Compare
Choose a tag to compare

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

11 Oct 20:46
Compare
Choose a tag to compare

6.1.2 & 8.1.2 - 2024-10-11

Changed

  • Very weird issue only reproducible after creating and using nuget package. Filtering implicitly created constructors helped by some reason.
  • Versioning number to the generation string

v6.1.1

11 Oct 13:34
Compare
Choose a tag to compare

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.