All Versions
11
Latest Version
Avg Release Cycle
53 days
Latest Release
1285 days ago

Changelog History
Page 1

  • v10.4.1 Changes

    October 17, 2020

    ๐Ÿ›  What was fixed?

    ๐Ÿ›  Fixed an issue where if the param of a time.Durtion type is specified
    as an integer, denoting nanosecond precision, instead of time duration
    string the validation would panic introduced in #642

    The fix ensures it falls back to the previous expected behaviour.

  • v10.4.0 Changes

    September 27, 2020

    What's new?

    ๐Ÿ”€ Merged ton of PR's, thank you everyone for your contributions!

  • v10.3.0 Changes

    May 21, 2020

    ๐Ÿ›  What's New/Fixed?

    ๐Ÿ†• New

    • โœ… Run tests on more recent Go version, thanks @psampaz for the PR
    • List validations in man README, thanks @psampaz for the PR
    • โšก๏ธ Updated godoc link, thanks @psampaz for the PR
    • โž• Added Spanish translations, thanks @alfonsoprado for the PR
    • โž• Add startsnotwith & endsnotwith validations, thanks @metalinspired for the PR
    • ๐Ÿ›  Fix some gramatical errors, thanks @erikaleigh for the PR
    • โž• Add missing zh translations, thanks @cncal for the PR
    • โšก๏ธ Update zh datetime translation, thanks @fourcels for the PR

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed rfc952 regex, thanks @amiraliucsc for the PR
    • โž• Add number validation to the docs, thanks @johnbailon for the PR
    • ๐Ÿ‘ Allow number on FQDN, thanks @Giulianos for the PR
  • v10.2.0 Changes

    February 09, 2020

    What's new?

    • โž• Added DateTime validation, thanks @psampaz for the PR
    • โž• Added JSON validation, thanks @psampaz for the PR
    • โž• Added Hostname + Port validation, thanks @terala for the PR
    • โž• Added Russion Translations validation, thanks @Rustery for the PR
    • ๐Ÿ›  Fixed typo in documentation, thanks @shenyiling for the PR
    • โž• Added lowercase and uppercase validations, thanks @psampaz for the PR
  • v10.1.0 Changes

    December 25, 2019

    What's new?

    ๐Ÿฑ ๐ŸŽ„ Merry Christmas: ๐ŸŽ„

    ๐Ÿฑ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ

    • โž• Added GetTag functionality to the FieldLevel interface. Thanks @LRichi for the PR
    • Extended Isunique functionality to handle the uniqueness of struct fields in an array/slice. Thanks @shihanng for the PR
    • ๐Ÿ‘Œ Improved documentation for custom functions. Thanks @skateinmars for the PR
    • โž• Added e.164 phone number validation. Thanks @taybart for the PR
    • โšก๏ธ Optimize isurl nill error check, Thanks @whatvn for the PR
    • โœ‚ Remove unecessary casting in example, Thanks @Streppel for the PR
    • ๐Ÿ‘Œ Improve accuracy of the datauri validation regex, Thanks @JonathanWThom for the PR
    • โž• Add boolean type support for the eq validator, Thanks @ghost for the PR
    • Punctuation fix to the CONTRIBUTING.md, Thanks @sclaire-1 for the PR
    • โž• Added ability to validate oneof for space-separated strings, Thanks @JonathanWThom for the PR
  • v10.0.1 Changes

    November 17, 2019

    ๐Ÿ›  What was fixed?

    Fixed the required_with* validation functions that were not properly handling pointers.

  • v10.0.0 Changes

    November 11, 2019

    What's new?

    • โšก๏ธ Updated to Go Modules
    • โšก๏ธ Updated deps to use their Go Modules versions.

    I wanted v10 to have a bunch of new functionality for everyone but Go Modules has forced my hand a bit.

  • v9.31.0 Changes

    December 25, 2019

    What's new?

    ๐Ÿšง As of 2019-12-24 v9 is entering maintenance mode. Please direct all PR's to master.

    ๐Ÿฑ But before this happens, ๐ŸŽ„ Merry Christmas: ๐ŸŽ„

    ๐Ÿฑ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ ๐ŸŽ

    • โž• Added GetTag functionality to the FieldLevel interface. Thanks @LRichi for the PR
    • Extended Isunique functionality to handle the uniqueness of struct fields in an array/slice. Thanks @shihanng for the PR
    • ๐Ÿ‘Œ Improved documentation for custom functions. Thanks @skateinmars for the PR
    • โž• Added e.164 phone number validation. Thanks @taybart for the PR
  • v9.30.2 Changes

    November 25, 2019

    ๐Ÿ›  What was fixed?

    ๐Ÿ›  Fixed previous release against wrong branch!

  • v9.30.1 Changes

    November 17, 2019

    ๐Ÿ›  What was fixed?

    Backported some fixes from v10 for the required_with* validation functions.

    P.S.
    โšก๏ธ I highly recommending updating to v10 which is just v9 updated to use Go Modules and std import paths rather than gopkg.in. I will be putting v9 into maintenance mode soon as I don't have the bandwidth to maintain both v10 & v9.