Skip to content

4.6.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Feb 15:34
· 1 commit to development since this release
3dec571

Fixed

  • CBORM-37 - Fixed issue on PostLoad event handler for multi-datasource entities
  • Removal of old deprecated engines

Added

  • BoxLang auto-testing
  • Added several flow helpers to ActiveEntity:
    • peek( closure ) to allow for peeking into the building process. Pass in your closure that receives the entity and interact with it.
    • when( boolean, successClosure, failureClosure ) that you can use to build functional entities without the use of if statements.
    • unless( boolean, successClosure, failureClosure ) that you can use to build functional entities without the use of if statements. The opposite of when().
    • throwIf( boolean, type, [message], [detail] ) that you can use to throw an exception if a condition is met.
    • throwUnless( boolean, type, [message], [detail] ) that you can use to throw an exception if a condition is not met.