All notable changes to the Laravel extension will be documented in this file.
- Added optional test func to PHP auto detection (#219)
- Use 2MB buffer instead of 1MB (#211)
- Added CONTRIBUTING.md to help people that want to contribute to the extension
- Null logger for mini PHP scripts (#199)
- App Bindings: Make sure reflected class is not null (#198)
- ScopedPropertyAccessExpressionParser improvements (#8)
- Check
isAutoCompleting
before firing it (#7) - Make sure
ClosureThis
is not null before we use it inauth
mini script (#200) - Handle string concatenation parsing (#9)
- Improved Blade autocomplete, linking, hovering, and diagnostics for echo statements (#10, #205)
- Allow configuration of project base path (#184)
- Fix confusing "PHP Command" setting (#187)
- Fix for missing translation "path" property (#186)
- Fix binary permissions cross platform (#183)
- Increase binary download timeout to 60s (#182)
- PHP Environment setting. Specify your local environment via a list of common local setups.
- Broadened the scope of
config
values to include top level files and top-level array keys
- Auto-detection of Sail and running PHP scripts via Sail
- Bug where second parameter of
config()
was autocompleting, linking, hovering, and validating - Removed hardcoded
env
values fromlaunch.json
to allow users to contribute more easily - File watcher paths as configured by
config/inertia.php
- Missing Inertia views quick fix now respects the paths as configured by
config/inertia.php
- Hovering and linking for Windows users with incorrect filepaths
- Removed error popups when the codebase had a parser error (during active editing)
- Fixed issue with executing binary on Windows path with spaces
- Repo file watchers are now debounced to prevent CPU from spiking
- Extension should now output cleaner errors from mini scripts so that future issues will be easier to debug
- Fixed fallback for running PHP code (mentioned in 0.1.13 as a breaking change). The note in the last changelog was incorrect: the new PHP Command setting should just read
php
, meaning the file will just be added to the end of the command.
- Initial Windows support
- Fixed nullable param for translations template for PHP 8.4
- Fixed undefined GLOB_BRACE for translations template
- Fix for Eloquent model info when
phpDocumentor
wasn't installed - Fix for handling newline characters in JSON response (#31)
- Remove
.github
from bundle (#29) - Inspired by #20, Inertia paths are now read from the existing PHP config in the project
- Breaking: The setting for PHP Command is now changed to run a file, not inline code. Previously this would have looked like this:
php -r "{code}"
but should now look like thisphp "{code}"
- Now fetching OS/arch specific binaries for Mac and Linux (Windows coming soon)
- Fixed translation loading when there were a lot of translations
- Fixed an issue regarding full name resolution for scoped property access
- No significant changes
- Updated icon
- Fixed translation file path display
- Fixed detection of helper methods in parser (e.g.
config()
,redirect()
, etc) - Made downloaded binary ~30% smaller
- Fixed parsing for
new
anonymous classes (i.e. migrations) - Fixed parsing for regular function declarations
- Bugfix for (really) large
detect
responses - Autocomplete for
view
related items orders by non-vendor views first - Fixed bug for searching for views in non-directories
- Better support for earlier versions of Laravel (fixes for config and translation loading)
- If extension cannot load, give specific reason
- Support for linking in path helpers:
base_path
resource_path
config_path
app_path
database_path
lang_path
public_path
storage_path
- Facade aliases are now considered
- Blade linking, hovering, and diagnostics are improved
- Fixed an error where variables were not consistently resolved
- Fixed bug where we weren't restricting diagnostics to only PHP files
- Added timeout to parsing processes
- Remove external dependency on file downloader extension
- Removed keybindings and commands for test runner
- Aligned items you can autocomplete with linkable, hoverable, and diagnostic-able items
- Created settings for opting in and out of auto completion
- Performance improvements
- Remove tests integration (for now)
- Added
to_route
completion - Added
redirect()
helper chaining for hovering, linking, and diagnostics