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-class
face (#545) - Add new
php-run-builtin-web-server
command for invokephp -S
buitin server (#548) - Add new
php-copyit-fqsen
command 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.el
no longer includesphp-mode-test
- Modify syntax-entry
$
to"_"
from"'"
(#565) - Make
php-set-style
display only styles that inherited "php" (#573)
Fixed
- Fix default major mode for
*.phpt
file asphp-default-major-mode
(#542) - prevent recursion in
php-syntax-propertize-extend-region
([$556], thanks @herbertjones) - Fix call
run-hooks
inset-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-maybe
has 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-mode
and.php
files are associated withauto-mode-alist
instead 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-assign
php-magical-constant
php-errorcontrol-op
- Some funtions have been split into features such as
php.el
,php-face.el
andphp-mode-debug.el
.
Fixed
Changed
- Syntax highlighting has been adjusted
Removed
php-ext
and 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
fn
keyword supported by PHP 7.2 arrow function (#506)
Fixed
- Function
php-beginning-of-defun
should 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
php
customize 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-hook
custom variable.- Setting this variable to
nil
will restore the behavior ofc-mode-hook
up to the previous version.
- Setting this variable to
Changed
php-mode
initialization no longer executes hooks forc-mode
.- If you want to return to the same behavior as the conventional PHP-Mode, set
nil
tophp-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-repl
php-project-unit-test
php-project-deploy
php-project-build
php-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-face
php-speedbar-config
→php-mode-speedbar-config
php-template-compatibility
→php-mode-template-compatibility
php-lineup-cascaded-calls
→php-mode-lineup-cascaded-calls
php-extra-constants
→php-mode-extra-constants
php-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-project
package - Add
php-debug
command for reporting a bug
Changed
Fixed
- Fix
c-anchored-cpp-prefix
in 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-root
variable accept a string (#458)
PHP Mode version 1.19.0
v1.19.0 [Version] Bump version 1.19.0