Skip to content

v3.2.0 - Reliable source mapping and refined Fix All interface

Latest

Choose a tag to compare

@jakub-lipinski jakub-lipinski released this 24 Jul 21:22

This release improves source mapping for dynamic Blade and Livewire routes, nested Blade, React, and Vue markup, and refines the Fix All interface.

Added

  • Named Laravel route matching for local rendered URLs, allowing links such as route('home') to be located from their final DOM URL.
  • Multiline descendant signatures and nearby selector context for locating nested and dynamic elements.

Changed

  • Source mapping now separates the failing element's attributes from attributes belonging to nested children.
  • React and Vue structural matches are prioritized over weaker Blade fallbacks in mixed applications.
  • Improved Fix All button styles and modal loading and status indicators.

Fixed

  • Fixed common PENDING LOCATOR results when a rendered URL differs from its Blade or Livewire route helper.
  • Fixed nested child classes and attributes being incorrectly treated as attributes of the failing element.
  • Fixed dynamic or nested Blade, React, and Vue markup resolving to an incorrect or weaker source location.

Upgrade Notes

Update Lens:

composer update webcrafts-studio/lens-for-laravel

v3.2.0 does not require new migrations or configuration changes.

If you published the package views, merge or republish them to receive the updated Fix All interface:

php artisan vendor:publish --tag="lens-for-laravel-views" --force