Releases: emacs-php/php-mode
Version 1.22.1 Fix for Emacs 27(HEAD)
This release is a minor modified version of the 1.22.x series.
PHP Mode 2.0 is planned to be released in January 2020.
Fixed
Version 1.22.0
This release is positioned as the last minor version of the PHP Mode 1.x series.
PHP Mode 2.0 is planned to be released in January 2020.
Added
- Improve PHP 7 and PHPDoc support
- Add new
php-classface (#545) - Add new
php-run-builtin-web-servercommand for invokephp -Sbuitin server (#548) - Add new
php-copyit-fqsencommand for kill current method FQSEN (#561) - Apply lineup cascaded call (method chain separated by new line) for all styles (#563, #572)
Changed
- Loose HTML template detection algorithm (#558)
- Move php-mode-test.el into tests directory (#559)
php-mode-autoloads.elno longer includesphp-mode-test
- Modify syntax-entry
$to"_"from"'"(#565) - Make
php-set-styledisplay only styles that inherited "php" (#573)
Fixed
- Fix default major mode for
*.phptfile asphp-default-major-mode(#542) - prevent recursion in
php-syntax-propertize-extend-region([$556], thanks @herbertjones) - Fix call
run-hooksinset-style(#571)
v1.21.4
This version contains unobtrusive changes for future compatibility. Also, forward-page / backward-page may improve your operation. Thank you @takeokunn.
Added
- A new command
php-mode-maybehas been added to improve the compatibility of Blade templates and HTML templates with Web Mode. (#532) - A new custom variable php-mode-page-delimiter is added, which is assigned to page-delimiter in PHP-Mode. It allows you to move smoothly to the previous and subsequent definition statements with
forward-page(C-x C-[) andbackward-page(C-x C-]). (#540 by @takeokunn)
Change
php-maybe-modeand.phpfiles are associated withauto-mode-alistinstead ofphp-mode(#532)- Compatibility with poly-php has been improved. This has not yet been officially released.
Deprecated
- PHP Mode does not support phpt files . Consider installing the phpt-mode package. This mode is a wrapper around Polymode based PHP-Mode.
v1.21.3 - Performance improvement for large files
This version includes both PHP syntax support enhancements and performance improvements. See https://github.com/emacs-php/php-mode/projects/1 for all issues for this release. Also, @mallt has helped me improve it with a number of issues. thank you very much.
Added
- Added new Faces to display PHP syntax
php-constant-assignphp-magical-constantphp-errorcontrol-op
- Some funtions have been split into features such as
php.el,php-face.elandphp-mode-debug.el.
Fixed
Changed
- Syntax highlighting has been adjusted
Removed
php-extand Skeleton templates have been split into php-skeleton (#534)
v1.21.2 - Support PHP 7.3, 7.4 and Emacs 26.2
It officially supports PHP 7.3 and Emacs 26.2.
Many improvements have been received from @sergeyklay, thank you!
Added
- Highlighting added
fnkeyword supported by PHP 7.2 arrow function (#506)
Fixed
- Function
php-beginning-of-defunshould return non-nil on success (#503) - Fixed an error that occurred in some heredoc/nowdoc (#496)
Changed
v1.21.1
v1.21.0 - No longer run c-mode-hook
A minor change from the previous version, but this version has BC brake about c-mode-hook.
In past versions we needed strange hacks for co-existence with c-mode.
Added
- Add
phpcustomize group.- This group is positioned above
php-mode. - This group was originally planned to be included in v1.20.0.
- This group is positioned above
- Add
php-mode-disable-c-mode-hookcustom variable.- Setting this variable to
nilwill restore the behavior ofc-mode-hookup to the previous version.
- Setting this variable to
Changed
php-modeinitialization no longer executes hooks forc-mode.- If you want to return to the same behavior as the conventional PHP-Mode, set
niltophp-mode-disable-c-mode-hook.
- If you want to return to the same behavior as the conventional PHP-Mode, set
v1.20.0
Start preparing for major refactoring in major mode.
Added
- Add php-project variables for workflow (#488)
- The following variables are reserved as file/directory local variables.
php-project-replphp-project-unit-testphp-project-deployphp-project-buildphp-project-server-start
- The following variables are reserved as file/directory local variables.
Changed
- Improve code highlight
- Modify "customize group" and variables
- Add php-mode group and some variables belong to new group (#486)
php-default-face→php-mode-default-facephp-speedbar-config→php-mode-speedbar-configphp-template-compatibility→php-mode-template-compatibilityphp-lineup-cascaded-calls→php-mode-lineup-cascaded-callsphp-extra-constants→php-mode-extra-constantsphp-do-not-use-semantic-imenu→php-mode-do-not-use-semantic-imenu
- Add php-mode group and some variables belong to new group (#486)
- Modify documents and copyright
- Move the URL of Website to https://github.com/emacs-php/php-mode
- Add copyright notation about Friends of Emacs-PHP development
- Add a "Hall of Fame" to the contributors list (#481 by @ejmr and thanks @sergey48k and @sourcerer-io project)
- Some refactors
- Fix style and suppress warning in compile #485
v1.19.1 Last version supporting Emacs 24.2 or earlier
Added
- Add some functions/variables in
php-projectpackage - Add
php-debugcommand for reporting a bug
Changed
Fixed
- Fix
c-anchored-cpp-prefixin Emacs 26 (#453) - Fix (re-implemteed)
php-complete-function(#454) - Fix some problem of
php-set-style(disabled on default) - Fix heredoc/nowdoc syntax problem (#440)
- Delete duplicate font locks with keywords not related to PHP language (#432)
- Make
php-project-rootvariable accept a string (#458)
PHP Mode version 1.19.0
v1.19.0 [Version] Bump version 1.19.0