What's New With 3.0

05/18/2023

New Features

  • Add Inline Components ( NEW SYNTAX )

  • Make components module-aware and allow components to be created within modules

Enhancements

  • Remove cbValidation as a dependency of CBWIRE

  • Increase component rendering performance by bypassing unnecessary ColdBox view caching and lookups

  • Refactor core engine for better performance and easier maintenance

  • Remove computedPropertiesProxy as it's no longer needed

  • Replace calling computed properties in templates using #args.computed.[property]()# with #property()# instead.

  • Replace calling data properties in templates using #args.[property]()# with #property# instead.

  • Using new component format, validation references this.constraints. Change to just 'constraints'.

  • Change incorrect emitTo( event, component ) signature to instead by emitTo( component, event )

Bugs

  • Empty string and null values are not being correctly passed to Livewire

  • Fix the ability to locate Wires using full paths such as appMapping.wires.SomeComponent

  • Component actions that update data properties don't always update the DOM

  • Calling .see() and .dontSee() in component tests doesn't return the test object for additional method chaining

  • Overriding computed properties not working when writing component tests

Last updated