Releases: SteveDunn/Vogen
4.0.3
What's Changed
- Support for trimmed/no-reflection/AOT with System.Text.Json by @SteveDunn in #587
- 584 add TryFrom and IsInitialized methods by @SteveDunn in #586
- Allow unvalidated instances to be created by @SteveDunn in #585
- Rename private Deserialize method by @SteveDunn in #583
Full Changelog: 4.0.2...4.0.3
4.0.2
What's Changed
- The System.Text.JsonConverter now throws a JsonException by @SteveDunn in #582
Full Changelog: 4.0.1...4.0.2
4.0.1
What's Changed
- Implement #548 ServiceStack.Text by @SteveDunn in #573
- #574 - improve performance and switch to forattributewithmetadataname by @SteveDunn in #577
- #575 - fix for when project contains a generic attribute of array type by @SteveDunn in #578
- Add factory method for GUIDs by @SteveDunn in #580
Full Changelog: 4.0.0...4.0.1
4.0.0
What's Changed
The main change in this release is hoisting of parsing functionality from the primitive to the wrapper. If the primitive being wrapped implements IParsable<TSelf>
(or ISpanParsable
/ IUtf8SpanParsable
), then the wrapper will also implement these interfaces and delegate to the primitive.
Additionally, value objects of string
now implement IParsable
. This is useful in a number of situations. for instance, using a value object as a parameter in an ASP.NET Core endpoint.
Note that there is a potential breaking change in this version, hence the updated major version. I'd guess that the impact will be pretty low though. Previously, Vogen hoisted TryParse
from the primitive. When you called TryParse
on the wrapper, it would throw an exception if the value failed your Validate
method. With hindsight, it should've just returned false
, which it now does in this version.
- Net8 by @SteveDunn in #556
- Add IParsable and Parse/TryParse hoisting by @SteveDunn in #570
- Update README.md by @ronnieoverby in #569
- chore(deps): bump actions/configure-pages from 4 to 5 by @dependabot in #567
New Contributors
- @ronnieoverby made their first contribution in #569
Full Changelog: 3.0.24...4.0.0
3.0.25-beta.1
Full Changelog: 3.0.24...3.0.25-beta
3.0.24
What's Changed
- Use 'is not null' instead of '!= null' in Newtonsoft converter by @AthenaAzuraeaX in #537
- fix documentation links in README by @jjanuszkiewicz in #525
- Writerside docs by @SteveDunn in #519
- chore(deps): bump xunit from 2.5.0 to 2.6.1 by @dependabot in #518
- chore(deps): bump Verify.SourceGenerators from 2.1.0 to 2.2.0 by @dependabot in #491
- chore(deps): bump actions/download-artifact from 1 to 3 by @dependabot in #523
- chore(deps): bump actions/upload-pages-artifact from 1 to 2 by @dependabot in #522
- chore(deps): bump actions/deploy-pages from 1 to 2 by @dependabot in #520
- chore(deps): bump Verify.Xunit from 21.0.0 to 22.1.4 by @dependabot in #507
- chore(deps): bump Verify.Xunit from 22.1.4 to 22.2.0 by @dependabot in #528
- chore(deps): bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 by @dependabot in #526
- chore(deps): bump Verify.Xunit from 22.2.0 to 22.5.0 by @dependabot in #534
- chore(deps): bump actions/configure-pages from 2 to 3 by @dependabot in #521
- chore(deps): bump xunit.runner.visualstudio from 2.4.3 to 2.5.3 by @dependabot in #504
- chore(deps): bump xunit.runner.visualstudio from 2.5.3 to 2.5.4 by @dependabot in #536
- chore(deps): bump actions/setup-dotnet from 3.2.0 to 4.0.0 by @dependabot in #544
- chore(deps): bump actions/deploy-pages from 2 to 3 by @dependabot in #545
- chore(deps): bump actions/configure-pages from 3 to 4 by @dependabot in #546
- Adding writerside by @SteveDunn in #547
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #524
- chore(deps): bump xunit from 2.6.1 to 2.6.2 by @dependabot in #535
- chore(deps): bump github/codeql-action from 2 to 3 by @dependabot in #549
- chore(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in #550
- chore(deps): bump actions/download-artifact from 3 to 4 by @dependabot in #551
- chore(deps): bump actions/deploy-pages from 3 to 4 by @dependabot in #553
- chore(deps): bump actions/upload-pages-artifact from 2 to 3 by @dependabot in #552
- Use is and isnot null by @SteveDunn in #555
New Contributors
- @jjanuszkiewicz made their first contribution in #525
- @AthenaAzuraeaX made their first contribution in #537
Full Changelog: 3.0.23...3.0.24
3.0.23
What's Changed
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #480
- feat: implement #512 EF Core support extension for 'HasVogenConversion'
- feat: implement #513 EF Core add `EfCoreValueComparer'
- fix: can no longer override ToString and GetHashCode in records - #516
Full Changelog: 3.0.22...3.0.23
3.0.23.beta.2
What's Changed
- feat: implement #512 EF Core support extension for 'HasVogenConversion'
- feat: implement #513 EF Core add `EfCoreValueComparer'
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #480
Full Changelog: 3.0.22...3.0.23-beta.1
3.0.22
What's Changed
- Add support for
JsonSerializerOptions.NumberHandling
by @viceroypenguin in #494 - docs: remove duplicate word by @jiimaho in #503
- Specify string comparisons by @SteveDunn in #479
- chore(deps): bump Verify.Xunit from 20.6.0 to 20.8.2 by @dependabot in #475
- chore(deps): bump FluentAssertions from 6.11.0 to 6.12.0 by @dependabot in #474
- chore(deps): bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.2 by @dependabot in #476
- chore(deps): bump Verify.Xunit from 20.8.2 to 21.0.0 by @dependabot in #477
- chore(deps): bump GitHubActionsTestLogger from 2.3.2 to 2.3.3 by @dependabot in #478
New Contributors
Full Changelog: 3.0.21...3.0.22
3.0.21
What's Changed
- IComparable improvements by @SteveDunn in #463
- chore(deps): bump Verify.Xunit from 20.4.0 to 20.6.0 by @dependabot in #462
- chore(deps): bump MSTest.TestAdapter from 3.0.4 to 3.1.1 by @dependabot in #456
- chore(deps): bump MSTest.TestFramework from 3.0.4 to 3.1.1 by @dependabot in #455
- chore(deps): bump Microsoft.NET.Test.Sdk from 17.6.1 to 17.7.0 by @dependabot in #464
Full Changelog: 3.0.20...3.0.21