Skip to content

Releases: go-playground/validator

Release 10.16.0

04 Nov 15:58
Compare
Choose a tag to compare

What's new or fixed?

  • Added new issn validator. TY @mrcook for the PR
  • Added improvement/fix to the file url validation. TY @nodivbyzero for the PR
  • Fix onof tag in examples. TY @gren236 for the PR
  • Add fmt.Stringer interface support to uuid validations allowing most UUID validation libraries which implement it to work transparently now. TY @JoshGlazebrook for the PR
  • Added new omitnil similar to omitempty but for pointers. this is mainly for code generation ease. TY @tarampampam for the PR

Release 10.15.5

02 Oct 03:31
94a637a
Compare
Choose a tag to compare

What was fixed?

Fixed CIDRIPv4 validation, ty @martinlehoux for the PR

Release 10.15.4

13 Sep 00:51
8d50f2f
Compare
Choose a tag to compare

What was fixed?

Corrected a regression of skipping required for time.Time accidentally introduced in v10.15.2

Release 10.15.3

30 Aug 05:06
d57b3a8
Compare
Choose a tag to compare

What was fixed?

Fix regression for invalid type check before calling reflect values type. Thank you @MysteriousPotato for the PR

Release 10.15.2

29 Aug 03:58
1b40ba0
Compare
Choose a tag to compare

What was fixed?

  • Refactored #1122 to support or's in tags + updated to required behaving the same as before v10.50.0 to support the community as there was a lot of code relying on the before behaviour, correct or not.

Release 10.15.1

17 Aug 15:01
3094d59
Compare
Choose a tag to compare

What was fixed?

Corrected a few validations including gt, lt, ... when using floating point values, specifically float32, in this PR

Release 10.15.0

06 Aug 17:17
5bf55dc
Compare
Choose a tag to compare

What's new?

  • Applying tag validations on structs is now a reality thank to @MysteriousPotato in this PR
  • Added oneof tag to examples in this PR
  • Added Spice DB validations in this PR

What was fixed?

  • Fixed the REAMD logo link in this PR
  • Fixed filepath validation when path is a directory in this PR
  • Correct to docs in this PR

Release 10.14.1

04 Jun 14:40
bd1113d
Compare
Choose a tag to compare

What was fixed?

  • Add allowance to valid JSOn for types convertible to such as json.RawMessage in this PR
  • Fix URL validation with only schema in this PR

Release 10.14.0

21 May 14:35
Compare
Choose a tag to compare

What's new?

  • Added on disk file validation from this PR
  • Enhanced credit card validation test to 100% with this PR

Release 10.13.0

29 Apr 15:16
Compare
Choose a tag to compare

What's new?

  • Added skip_unless validation.

What was fixed?

  • Fixed excluded_if validation not working as documented.
  • Fix state and province codes to meet iso3166_2 standard.
  • Update go-urn library to remove GPLv3 library dependency
  • Many updates to documentation.