Skip to content

Releases: coldbox-modules/cbvalidation

4.6.0

18 Sep 16:43
Compare
Choose a tag to compare

Fixed

  • Fix for cases where a non-empty value wasn't passing an empty: false validation check

Added

  • GitHub Actions update
  • BoxLang PRIME
  • Adobe 2025

4.5.0

19 Feb 15:08
83f54df
Compare
Choose a tag to compare

Removed

  • eurodate doesn't event work in ACF/Lucee as it uses just a single standard. Remove it so the user can validate as they see fit.

Added

  • BoxLang certification
  • Lucee 6, Adobe 2023
  • Add defaultValue to apply default values before constraints are checked

4.4.0

16 Oct 08:44
f41e0f0
Compare
Choose a tag to compare

Added

  • requiredIf accepts a UDF and closure now

Fixed

  • UDF validator now treats nulls correctly

4.3.1

15 Jun 14:06
78d2942
Compare
Choose a tag to compare

Fixed

  • Only perform type evaluation if target value is not null or empty string #75

4.3.0

05 May 09:44
Compare
Choose a tag to compare
v4.3.0

Latest Release v4.3.0

4.2.0

14 Apr 18:25
Compare
Choose a tag to compare

Added

  • New github action versions and consolidation of actions
  • New Contributing guidelines
  • New github support templates

Changed

  • The way custom validators are retrieved so they are ColdBox 7+ compatible
  • pr github action now just does format checks to avoid issues with other repos.
  • Consolidated Adobe 2021 scripts into the server scripts

Fixed

  • Fix for tasks.json file to include no recursion
  • #71 - ValidationManager errors when returning validatedKeys due to sharedconstraint name
  • #45 - Type validator needs to be able to validate against any type even if that is an empty string

v4.1.0

15 Nov 12:03
Compare
Choose a tag to compare

Added

  • New ColdBox 7 delegate: Validatable@cbValidation which can be used to make objects validatable
  • New validators: notSameAs, notSameAsNoCase

Changed

  • All date comparison validators now validate as false when the comparison target dates values are NOT dates instead of throwing an exception.

v4.0.0

10 Oct 19:08
Compare
Choose a tag to compare

[4.0.0] => 2022-OCT-10

Added

  • Major bump of all dependencies
  • New InstanceOf validator thanks to @homestar9 : #65
  • New virtual app testing and tuning

Fixed

Changed

  • Dropped ACF2016

v3.4.0

27 Jun 22:54
Compare
Choose a tag to compare

[3.4.0] => 2022-JUN-27

Added

  • EmptyValidator by @elpete. This validator is useful when a field is not required but if it exists it cannot be empty: #61
  • New module template updates and enhancements
  • Update to use the new virtual app from ColdBox 6.7

v3.1.1

17 May 23:23
Compare
Choose a tag to compare

[3.1.0] => 2021-MAY-17

Fixed

  • Regression when doing global replacements for validationData. It was changed to a !isStruct() but in reality, it has to be simple ONLY for replacements.