Releases: Gert-dev/php-ide-serenata
Releases · Gert-dev/php-ide-serenata
5.5.1
v5.4.0
- Update dependencies
- Update to Serenata 5.4.0
v5.3.0
- Update dependencies
- Update to Serenata 5.3.0
- Don't update settings every project open to avoid settings synchronization being triggered
v5.2.0
- Update to Serenata 5.2.0
v5.1.0
- Update to Serenata 5.1.0
v5.0.2
v5.0.1
v5.0.0
Major Changes
- Update to Serenata 5.0.0
- Become an LSP client and use the official atom-languageclient library
- Watch files for changes to let external changes propagate to the server immediately
Improvements
- Remove dependency on project-manager
- Obey
minimumWordLength
fromautocomplete-plus
, change it to0
to retain the old behavior - Replace gutter annotations by inline markers based on code lenses (the language server protocol's equivalent)
- Install server as PHAR
- Installation is now much faster.
- The server takes much less disk space.
- Composer is no longer downloaded, so fewer extensions are needed and issues with sporadic broken installs are gone.
- Support single-file PHP scripts and temporary projects
- The server will only start if you open a PHP file.
- If you explicitly set up a project before, its configuration will be used (this is the recommended mode of operation).
- If no explicit project is set up, the server will use a fallback configuration and store the index in your system's temp folder.
- Allow experimentally use of Podman on Linux
- Podman allows rootless containers that don't require adding yourself to the Docker group (effectively becoming root) or escalating privileges using PolicyKit or sudo.
- Serenata does not require anything that requires root, so this can help improve security.
- Tip: you can also use Podman to run PHPUnit and other things in a container without requiring root.
- Podman allows rootless containers that don't require adding yourself to the Docker group (effectively becoming root) or escalating privileges using PolicyKit or sudo.
- Localize types during refactoring actions
- If use statements or aliases already exist for a method that is overridden, these will now be used instead of copying the original type hint, which might not have been imported.
- Add new
Restart server
command- Can be used if the server is misbehaving, i.e. hanging or consuming too much memory whilst running for a long time. These issues should be fixed in the server at some point, but it may be useful in the meantime.
- Reduce activation time considerably
- Some very roughly measured numbers:
- Before:
- PHP project: 200 - 220 ms
- Other project: 170 - 180 ms
- After:
- PHP project: 100 - 130 ms
- Other project: 50 - 60 ms
- Before:
- Note that, as mentioned above, the server should only start for PHP files, and not everywhere, as before.
- The code was restructured to do as little setup as possible. The remaining overhead is primarily loading the
atom-languageclient
package itself.
- Some very roughly measured numbers:
v4.5.0
- Update to Serenata 4.3.0
- Fix
Cannot read property 'dispose' of null at LinterProvider.deactivate
(thanks to @chuhta) - Fix deprecated structural elements no longer having any visible style reflecting it during autocompletion
- Fix refactoring actions proposing incorrect class members when inside an anonymous class that was inside another class
- Update use statement sorting logic to match bugfix in core
- Update Composer used for server installation to 1.7.2