What's New With 4.6.0

What's new in CBOrm 4.6.0

CBOrm 4.6.0 brings important bug fixes for multi-datasource support and introduces powerful new functional helpers for ActiveEntity.

Fixed

Multi-Datasource Event Handling

  • CBORM-37: Fixed critical issue in the PostLoad event handler that affected entities using non-default datasources. Multi-datasource applications now properly fire post-load events.

Platform Support Cleanup

  • Deprecated Engine Removal: Removed support for deprecated CFML engine versions that have reached end-of-life

Added

BoxLang Testing

  • BoxLang Auto-Testing: Implemented automated test suite execution for BoxLang runtime

ActiveEntity Functional Helpers

Several new flow control methods have been added to ActiveEntity to enable functional, chainable entity operations:

peek( closure )

Allows peeking into the building process without breaking the chain:

when( boolean, successClosure, failureClosure )

Conditionally execute logic without if statements:

unless( boolean, successClosure, failureClosure )

The opposite of when() - execute when condition is false:

throwIf( boolean, type, [message], [detail] )

Throw an exception if a condition is met:

throwUnless( boolean, type, [message], [detail] )

Throw an exception unless a condition is met:

Release Date

February 19, 2025

Last updated

Was this helpful?