Releases: SteveDunn/Vogen
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
3.0.20
What's Changed
- fix: resolve issue where underlying type isn't considered from global config attribute by @SteveDunn in #457
- chore(deps): bump MSTest.TestAdapter from 3.0.2 to 3.0.4 by @dependabot in #433
- chore(deps): bump Verify.Xunit from 20.3.0 to 20.4.0 by @dependabot in #447
- chore(deps): bump xunit from 2.4.2 to 2.5.0 by @dependabot in #452
Full Changelog: 3.0.19...3.0.20
3.0.19
What's Changed
- #415 generate instance after validation by @ThomasSkyldahl in #436
- Time zone issues by @SteveDunn in #437
- chore(deps): bump MSTest.TestFramework from 3.0.2 to 3.0.4 by @dependabot in #432
- chore(deps): bump GitHubActionsTestLogger from 2.2.1 to 2.3.2 by @dependabot in #435
- chore(deps): bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.1 by @dependabot in #434
Full Changelog: 3.0.18...3.0.19
3.0.18
What's Changed
- fix : #425 - allow use of fully qualified type
Vogen.Validation
as the return value fromValidate
methods - chore(deps): bump actions/setup-dotnet from 3.0.3 to 3.2.0 by @dependabot in #428
- chore(deps): bump Verify.Xunit from 20.0.0 to 20.3.0 by @dependabot in #427
Full Changelog: 3.0.17...3.0.18