Skip to content

Releases: SteveDunn/Vogen

4.0.0

19 Apr 06:32
Compare
Choose a tag to compare

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.

New Contributors

Full Changelog: 3.0.24...4.0.0

3.0.25-beta.1

20 Feb 05:51
Compare
Choose a tag to compare
3.0.25-beta.1 Pre-release
Pre-release

Full Changelog: 3.0.24...3.0.25-beta

3.0.24

09 Jan 20:40
84a6d98
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.23...3.0.24

3.0.23

03 Nov 06:42
24b2f1a
Compare
Choose a tag to compare

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

01 Nov 08:06
Compare
Choose a tag to compare
3.0.23.beta.2 Pre-release
Pre-release

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

23 Oct 21:44
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.21...3.0.22

3.0.21

31 Aug 18:55
5a489be
Compare
Choose a tag to compare

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

17 Jul 19:34
bd0bb6d
Compare
Choose a tag to compare

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

05 Jun 04:29
8057aad
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.18...3.0.19

3.0.18

30 May 10:20
Compare
Choose a tag to compare

What's Changed

  • fix : #425 - allow use of fully qualified type Vogen.Validation as the return value from Validate 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