Skip to content

Releases: cohesivestack/valgo

v0.4.1

08 Apr 11:26
e90fa82
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @gaby made their first contribution in #20

Full Changelog: v0.4.0...v0.4.1

v0.4.0

29 Mar 00:43
3679d79
Compare
Choose a tag to compare

What's Changed

  • Variadic Parameters for Is and Check: The Is and Check functions now accept variadic parameters, streamlining validation by enabling multiple validators in a single call. This enhancement simplifies the validation process, reduces code verbosity, and promotes the reuse of validation logic across projects. For more details, see PR #19.

Full Changelog: v0.3.0...v0.4.0

v0.3.0

17 Mar 06:37
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @amsal made their first contribution in #15

Full Changelog: v0.2.4...v0.3.0

v0.2.4

09 Apr 12:21
Compare
Choose a tag to compare

What's Changed

This Release makes validationFactory type public: The validationFactory type has been made public and renamed to ValidationFactory, enhancing flexibility and enabling developers to reuse the factory more effectively in various scenarios.

Full Changelog: v0.2.3...v0.2.4

v0.2.3

17 Mar 19:38
0b89658
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2

14 Mar 12:22
3a6cba5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.1...v0.2.2

v0.2.1

14 Mar 12:22
Compare
Choose a tag to compare
  • Fix security vulnerability updating golang.org/x/text
  • Update code to comply with gofmt
  • Update Readme.

v0.2.0

14 Mar 12:21
63237b3
Compare
Choose a tag to compare

This release introduces a code refactoring that eliminates the use of global variables in the creation of Validation sessions. To accomplish this, the release introduces an optional options parameter in the New function that enables customization of the locales. Additionally, with the options parameter is possible to set a JSON marshal function for the Validation session.

To streamline the process of creating Validation sessions, the release also introduces a new Factory structure that allows setting of options at the factory level, which can then be used to create Validation sessions using the same functions that exist in the package level.

As a result of the removal of the global variables, this release also eliminates the need for several global functions, including SetMarshalJSON, Localized, GetLocaleMessages, SetLocaleMessages, SetDefaultLocale and GetDefaultLocaleCode. These functions are no longer required due to the new implementation of the Validation session creation process.

v0.1.0

14 Mar 12:20
Compare
Choose a tag to compare

First Release.