Skip to content
  • v0.7.1
  • f122092
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.7.1
  • f122092
  • Compare
    Choose a tag to compare
    Search for a tag

@calebporzio calebporzio released this Jan 31, 2020 · 70 commits to master since this release

Upgrade Guide

Livewire's before/afterDomUpdate hook has been updated to include the "component" object that triggered the hook.

// Before
window.livewire.hook('beforeDomUpdate', ({ html }) => {})
window.livewire.hook('afterDomUpdate', () => {})

// After
window.livewire.hook('beforeDomUpdate', (component, { html }) => {})
window.livewire.hook('afterDomUpdate', (component) => {})

Release Notes

Added

  • Added a new excludes option for the $updatesQueryString property:
protected $updatesQueryString = ['page' => ['except' => 1]];

Now, when the public $page property value is 1, it will be removed from the query string #550

Fixed

  • Made the comma in something like action(foo, bar) NOT require surrounding spaces #517
  • ->assertHasErrors now has proper failed messaging #556
  • Make the pagination layout response #562
  • Support nested objects/arrays in the query string #545
Assets 2
You can’t perform that action at this time.