What's New With 3.1

09/25/2023

New Features

  • Add configuration property to include CBWIRE styling and JavaScript assets automatically. Remove the need to add wireScripts() and wireStyles() to templateBugs

  • Add onUpdate() and onUpdateProperty() lifecycle hooks

  • Add the ability to refresh all child components from the parent component when an action is called

  • Add the ability to call CBWIRE UDFs from the cbwire template as computed properties are too limiting.

  • Single file component file names are not unique and could create conflicts in high-traffic applications

  • Clear any compiled single file components on ColdBox fwreinit

  • Add params arguments as a substitute for parameters argument when calling onMount

  • Add 'cacheSingleFileComponents' setting to control if single file components are cached

  • Cleanup unnecessary variables available to templates to avoid potential collisions

  • Add the ability to call application helpers defined in ColdBox.cfc or any installed modules from CBWIRE templates.

  • Add resetExcept()

Bugs

  • Fix child components not re-rendering properly on subsequent requests

  • HTML comments in component templates cause re-renders not to work.

Last updated