Releases: SteveDunn/Vogen
7.0.1
7.0.0
What's Changed
- Improve error message for validation errors in System.Test.Json deserialization by @Peter-B- in #735
*This is a minor (rare) breaking change*: when deserializing a value object that fails validation, a JsonException
is now thrown instead of a ValueObjectValidationException
. The JsonException
is a lot more useful at it contains the location of the issue. This is only a breaking change if you explicitly catch a ValueObjectValidationException
when deserializing.
-
Add Decimal handling in Dapper type handlers by @dgee2 in #741
-
Use invariant culture in unit test string comparison by @Peter-B- in #734
-
Update Use-in-Swagger.md - add Azure Functions use case by @mark-rafter in #745
-
Fix typo in example on home page by @SeanKilleen in #748
-
Bump actions/setup-dotnet from 4.2.0 to 4.3.0 by @dependabot in #746
New Contributors
- @Peter-B- made their first contribution in #734
- @dgee2 made their first contribution in #741
- @mark-rafter made their first contribution in #745
- @SeanKilleen made their first contribution in #748
Full Changelog: 6.0.0...7.0.0
7.0.0-beta.1
Minor breaking change in this one related to #735 . When deserializing illegal values that failed any user supplied Validate
method, Vogen used to throw the validation exception (ValueObjectValidationException
by default, or whatever the user configured).
During deserialization, this leads to confusion as it's not clear why deserialization failed, or where. Instead, we now throw a json exception containing the location. The inner exception still contains the exception thrown from Validate
.
What's Changed
- Use invariant culture in unit test string comparison by @Peter-B- in #734
- Improve error message for validation errors in System.Test.Json deserialization by @Peter-B- in #735
New Contributors
Full Changelog: 6.0.0...7.0.0-beta.1
6.0.0
Breaking change
This release contains a small breaking change. The namespaces used when generating Swashbuckle mapping and System.Text.Json converter factories have changed slightly. Please see the release notes for more information.
What's Changed
- Fix: System.Text.Json factories fail to generate if assembly name has hyphens by @SteveDunn in #718
- Feature: more detailed compilation errors when both explicit and implicit casting operators are specific by @SteveDunn in #721
- Fix #725: Introduce line breaks in GenerateNotNullWhenTrueAttribute and GenerateMaybeNullWhenFalse by @danielcweber in #727
- Multi-target Roslyn by @SteveDunn in #732
- Bump actions/setup-dotnet from 4.1.0 to 4.2.0 by @dependabot in #733
Full Changelog: 5.0.6...6.0.0
6.0.0-beta.4
What's Changed
- Multi-target Roslyn by @SteveDunn in #732
Full Changelog: 6.0.0-beta.3...6.0.0-beta.4
6.0.0-beta.3
What's Changed
- Fix #725: Introduce line breaks in GenerateNotNullWhenTrueAttribute and GenerateMaybeNullWhenFalse by @danielcweber in #727
Full Changelog: 6.0.0-beta.2...6.0.0-beta.3
6.0.0-beta.2
What's Changed
- Feature: more detailed compilation errors when both explicit and implicit casting operators are specific by @SteveDunn in #721
Full Changelog: 6.0.0-beta.1...6.0.0-beta.2
6.0.0-beta.1
What's Changed
- Fix: System.Text.Json factories fail to generate if assembly name has hyphens by @SteveDunn in #718
This contains a small breaking change to the namespaces used when generating Swashbuckle mapping and System.Text.Json converter factories.
Please see the comment on the PR for #717 here: https://github.com/SteveDunn/Vogen/pull/718/files#r1865263127
Please also see the discussion for this release.
Full Changelog: 5.0.6...6.0.0-beta.1
5.0.6
What's Changed
- Generate BSON serialisers for types in other projects by @SteveDunn in #706
- Add message pack attribute onto value objects by @SteveDunn in #708
- Fix typo in documentation by @draptik in #712
- Fix: Infinite loop in ToString when used in a formatted string by @SteveDunn in #714
- Improve naming of Swashbuckle registrations by @SteveDunn in #715
New Contributors
Full Changelog: 5.0.5...5.0.6
5.0.6-beta.3
What's Changed
- Improve naming of Swashbuckle registrations by @SteveDunn in #715
Full Changelog: 5.0.6-beta.2...5.0.6-beta.3