cbValidation
v4.x
v4.x
  • Introduction
  • Intro
    • Release History
      • What's New With 4.4.0
      • What's New With 4.3.1
      • What's New With 4.3.0
      • What's New With 4.2.0
      • What's New With 4.1.0
      • What's New With 4.0.0
    • About This Book
      • Author
  • Overview
    • Installation
    • Configuration
    • Declaring Constraints
      • Configuration File
      • Domain Object
      • A-la-carte
    • Available Constraints
      • Custom Message Replacements
      • Constraint Custom Messages
      • Nested Struct and Array Field Name Shortcuts
    • Validating Constraints
      • Validating With Failures
      • Validating with shared constraints
      • Validating with a-la-carte constraints
      • Validating Custom Fields
      • Validating With Profiles
    • Displaying Errors
    • WireBox Integration
  • Advanced
    • Custom Validators
    • Unique ORM Validator
    • i18n Integration
    • Custom Validation Managers
Powered by GitBook
On this page
  • Added
  • Changed

Was this helpful?

Edit on GitHub
Export as PDF
  1. Intro
  2. Release History

What's New With 4.1.0

November 15, 2022

This is a minor release that includes new validators and also integration with ColdBox 7 delegates. This will now allow objects to have validatable traits:

component name="User" delegates="Validatable@cbValidation"{

}

This will give the target object the delegates methods available to it.

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.

PreviousWhat's New With 4.2.0NextWhat's New With 4.0.0

Last updated 1 year ago

Was this helpful?