diff --git a/CHANGELOG.md b/CHANGELOG.md index 18d590a1..409fe536 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,50 @@ All notable changes of the PHP Mode 1.19.1 release series are documented in this * Drop support for Emacs 24 and 25.1 +## [1.23.0] - 2020-05-06 + +Initial support for PHP8 has been added. PHPMode has some issues for compatibility with Emacs 27.0. + +The list of all past contributors has been moved to [`AUTHORS.md`](/AUTHORS.md). + +This release is positioned as the last minor version of the PHP Mode 1.x series. + +### Added + + * Add `php-project-use-projectile-to-detect-root` ([#608]) + * Add PHP file extensions to `auto-mode-alist` ([#609]) + * `.php.inc` is file extension for [Rector](https://github.com/rectorphp/rector)'s test code. + * `.stub` is file extension for [PHPStan](https://github.com/phpstan/phpstan)'s stub file. + * Add `php-mode-disable-c-auto-align-backslashes` ([#621]) + * Add PHP 8.0 Attribute syntax as vsemi (#) + * Add feature `php-align` from [tetsujin/emacs-php-align] ([#615], [melpa/melpa#6759]) + +### Changed + + * Disable `c-auto-align-backslashes` by default. ([#621]) + * Add new faces and font locking ([#611], [#614]) + +### Removed + + * Remove `php-mode-extra-constants` variable and function. ([#605]) + * This mechanism is for synchronizing the added user-defined constants with WebMode, but it hasn't worked since 2014. + +### Fixed + + * Fix indentation of object operator (->) at the beginning of line ([#623], [#624]) + +[#605]: https://github.com/emacs-php/php-mode/pull/605 +[#608]: https://github.com/emacs-php/php-mode/pull/608 +[#609]: https://github.com/emacs-php/php-mode/pull/609 +[#611]: https://github.com/emacs-php/php-mode/pull/611 +[#614]: https://github.com/emacs-php/php-mode/pull/614 +[#615]: https://github.com/emacs-php/php-mode/pull/615 +[#621]: https://github.com/emacs-php/php-mode/pull/621 +[#623]: https://github.com/emacs-php/php-mode/issues/623 +[#624]: https://github.com/emacs-php/php-mode/pull/624 +[melpa/melpa#6759]: https://github.com/melpa/melpa/pull/6759 +[tetsujin/emacs-php-align]: https://github.com/tetsujin/emacs-php-align + ## [1.22.2] - 2019-12-23 A face has been added for coloring PHP syntax. Thank you [@minikN]! @@ -63,7 +107,7 @@ PHP Mode 2.0 is planned to be released in January 2020. ## [1.22.0] - 2019-09-27 -This release is positioned as the last minor version of the PHP Mode 1.x series. +~~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 diff --git a/Cask b/Cask index cb694f8a..49af2fb6 100644 --- a/Cask +++ b/Cask @@ -1,4 +1,4 @@ -(package "php-mode" "1.22.2" "Major mode for editing PHP code") +(package "php-mode" "1.23.0" "Major mode for editing PHP code") (source melpa) (package-file "php.el") diff --git a/php-align.el b/php-align.el index a4e8754d..084f8857 100644 --- a/php-align.el +++ b/php-align.el @@ -7,7 +7,7 @@ ;; Maintainer: USAMI Kenta ;; Keywords: php languages convenience align ;; Homepage: https://github.com/emacs-php/php-mode -;; Version: 1.22.2 +;; Version: 1.23.0 ;; Package-Requires: ((emacs "24.3")) ;; License: GPL-3.0-or-later diff --git a/php-face.el b/php-face.el index 334c6244..cb6a95f9 100644 --- a/php-face.el +++ b/php-face.el @@ -1,10 +1,10 @@ ;;; php-face.el --- Face definitions for PHP script -*- lexical-binding: t; -*- -;; Copyright (C) 2019 Friends of Emacs-PHP development +;; Copyright (C) 2020 Friends of Emacs-PHP development ;; Author: USAMI Kenta ;; Created: 5 May 2019 -;; Version: 1.22.2 +;; Version: 1.23.0 ;; Keywords: faces, php ;; Homepage: https://github.com/emacs-php/php-mode ;; Package-Requires: ((emacs "24.3")) diff --git a/php-mode-debug.el b/php-mode-debug.el index 0514d351..1e75aa15 100644 --- a/php-mode-debug.el +++ b/php-mode-debug.el @@ -1,11 +1,11 @@ ;;; php-mode-debug.el --- Debug functions for PHP Mode -*- lexical-binding: t; -*- -;; Copyright (C) 2018-2019 Friends of Emacs-PHP development +;; Copyright (C) 2020 Friends of Emacs-PHP development ;; Author: USAMI Kenta ;; URL: https://github.com/emacs-php/php-mode ;; Keywords: maint -;; Version: 1.22.2 +;; Version: 1.23.0 ;; Package-Requires: ((emacs "24.3")) ;; License: GPL-3.0-or-later diff --git a/php-mode.el b/php-mode.el index 1249ec33..522b0176 100644 --- a/php-mode.el +++ b/php-mode.el @@ -1,6 +1,6 @@ ;;; php-mode.el --- Major mode for editing PHP code -;; Copyright (C) 2018-2019 Friends of Emacs-PHP development +;; Copyright (C) 2020 Friends of Emacs-PHP development ;; Copyright (C) 1999, 2000, 2001, 2003, 2004 Turadg Aleahmad ;; 2008 Aaron S. Hawley ;; 2011, 2012, 2013, 2014, 2015, 2016, 2017 Eric James Michael Ritz @@ -9,11 +9,11 @@ ;; Maintainer: USAMI Kenta ;; URL: https://github.com/emacs-php/php-mode ;; Keywords: languages php -;; Version: 1.22.2 +;; Version: 1.23.0 ;; Package-Requires: ((emacs "24.3")) ;; License: GPL-3.0-or-later -(defconst php-mode-version-number "1.22.2" +(defconst php-mode-version-number "1.23.0" "PHP Mode version number.") ;; This program is free software; you can redistribute it and/or modify diff --git a/php-project.el b/php-project.el index f82b4e87..6e305a7b 100644 --- a/php-project.el +++ b/php-project.el @@ -1,11 +1,11 @@ ;;; php-project.el --- Project support for PHP application -*- lexical-binding: t; -*- -;; Copyright (C) 2018-2019 Friends of Emacs-PHP development +;; Copyright (C) 2020 Friends of Emacs-PHP development ;; Author: USAMI Kenta ;; Keywords: tools, files ;; URL: https://github.com/emacs-php/php-mode -;; Version: 1.22.2 +;; Version: 1.23.0 ;; Package-Requires: ((emacs "24.3")) ;; License: GPL-3.0-or-later diff --git a/php-util-buffer.el b/php-util-buffer.el index 70836a00..e287983f 100644 --- a/php-util-buffer.el +++ b/php-util-buffer.el @@ -1,6 +1,6 @@ ;;; php-util-buffer.el --- Utility function for buffer manipulation -*- lexical-binding: t; -*- -;; Copyright (C) 2018-2019 Friends of Emacs-PHP development +;; Copyright (C) 2020 Friends of Emacs-PHP development ;; Copyright 2013 The go-mode Authors. All rights reserved. ;; Author: Dominik Honnef diff --git a/php.el b/php.el index 7967dc5c..ce532c17 100644 --- a/php.el +++ b/php.el @@ -1,10 +1,10 @@ ;;; php.el --- PHP support for friends -*- lexical-binding: t; -*- -;; Copyright (C) 2019 Friends of Emacs-PHP development +;; Copyright (C) 2020 Friends of Emacs-PHP development ;; Author: USAMI Kenta ;; Created: 5 Dec 2018 -;; Version: 1.22.2 +;; Version: 1.23.0 ;; Keywords: languages, php ;; Homepage: https://github.com/emacs-php/php-mode ;; Package-Requires: ((emacs "24.3"))