What's New With 2.0
08/30/2022
New Features
File Uploads
Ability to write unit tests for components
Ability to override the default 'wires' folder location
noRender() method to prevent template rendering during actions
Implement dirty property tracking
Invoke computed properties during template rendering and only execute once per request
Ability to specify a 'moduleRootURI' setting to change the URI path for cbwire
Upgrade Livewire JS to v2.10.6
Disable browser caching on XHR responses
Reduce payload bloat by removing unnecessary data in XHR requests and responses
Move internal methods to a separate Engine object to avoid collisions with user-defined methods
Reject incoming XHR request if 'X-Livewire' HTTP Header is not present
Dependency injection capabilities to cbwire components
Update to match Livewire's current incoming and outgoing HTTP responses
Ability to use Turbo to create Single-page Applications ( SPAs )
Enhancements
Option to specify the component's template path using this.template instead of defining renderIt() method.
Specify null values for data properties
Bugs
Calling reset( "someProperty" ) throws error
Browser back history doesn't work
On subsequent renderings of components, it's changing the unique id and causing DOM diff issues
Livewire expects params to be an array
Not passing parameters when calling update methods
Last updated