Skip to content

Commit c3fa4e0

Browse files
authored
Merge pull request #799 from emacs-php/release/v1.27.0
Release v1.27.0
2 parents c77eb10 + 346ee2a commit c3fa4e0

File tree

4 files changed

+48
-8
lines changed

4 files changed

+48
-8
lines changed

AUTHORS.md

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ Names Sorted Alphabetically:
8484
- Norio Suzuki
8585
- Olaf The Viking
8686
- Peter Oliver
87+
- Phil Sainty
8788
- Philippe Ivaldi
8889
- Piotr Kwiecinski
8990
- Rex McMaster

CHANGELOG.md

+29
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ All notable changes of the PHP Mode 1.19.1 release series are documented in this
44

55
<!-- ## Unreleased -->
66

7+
## [1.27.0] - 2024-12-20
8+
9+
### Added
10+
11+
* Support PHP 8.4 property-hooks ([#797])
12+
13+
### Changed
14+
15+
* Improve `php-syntax-propertize-extend-region` efficiency ([#789], thanks [@phil-s]!)
16+
* Update `php-phpdoc-type-names` to support [PHPStan 2.0.4] ([#795])
17+
18+
### Fixed
19+
20+
* Fix Emacs 30 byte-compile errors ([#792])
21+
* Use `when-let*` instead of `when-let` to enhance Emacs 30 compatibility ([#796])
22+
23+
### Removed
24+
25+
* Drop support for Emacs 26 ([#788])
26+
27+
[@phil-s]: https://github.com/phil-s
28+
[PHPStan 2.0.4]: https://github.com/phpstan/phpstan/releases/tag/2.0.4
29+
[#788]: https://github.com/emacs-php/php-mode/pull/788
30+
[#789]: https://github.com/emacs-php/php-mode/pull/789
31+
[#792]: https://github.com/emacs-php/php-mode/pull/792
32+
[#795]: https://github.com/emacs-php/php-mode/pull/795
33+
[#796]: https://github.com/emacs-php/php-mode/pull/796
34+
[#797]: https://github.com/emacs-php/php-mode/pull/797
35+
736
## [1.26.1] - 2024-09-13
837

938
### Added

README.ja.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div align="center">
22
<h1>Emacs PHP Mode</h1>
33

4-
[![Emacs: 29.4](https://img.shields.io/badge/Emacs-29.4-blue.svg)](https://www.gnu.org/software/emacs/)
5-
[![lang: PHP 8.3](https://img.shields.io/badge/lang-PHP%208.3-brightgreen.svg)](https://php.net/manual/migration83.php)
4+
[![Emacs: 30.0](https://img.shields.io/badge/Emacs-30.0-blue.svg)](https://www.gnu.org/software/emacs/)
5+
[![lang: PHP 8.4](https://img.shields.io/badge/lang-PHP%208.4-brightgreen.svg)](https://www.php.net/releases/8.4/)
66
[![Build Status](https://github.com/emacs-php/php-mode/workflows/CI/badge.svg)](https://github.com/emacs-php/php-mode/actions)
77
[![GPL v3](https://img.shields.io/badge/license-GPL_v3-green.svg)][gpl-v3]<br>
88
[![NonGNU ELPA][nongnu-elpa-badge]][nongnu-elpa]
@@ -17,10 +17,15 @@ A powerful and flexible Emacs major mode for editing PHP scripts
1717
[GitHubプロジェクト][php-mode]にissueを作成してバグ報告や機能リクエストを送ってください。
1818

1919
> [!NOTE]
20-
> [最新版][releases]のPHP ModeはEmacs 29をサポートしています。<br />アップグレードに伴うトラブルは[Discussions][disscussions-emacs29]に気軽に書き込んでください。
20+
> [最新版][releases]のPHP ModeはEmacs 30をサポートしています。<br />アップグレードに伴うトラブルは[Discussions][disscussions-emacs30]に気軽に書き込んでください。
21+
22+
> [!WARNING]
23+
> Emacsをアップグレードした直後に初めてPHPファイルを開いたときに、CC Mode関連のエラーが発生する可能性があります。これは以前のバージョンのEmacsでバイトコンパイルされたPHP Modeがディスクにキャッシュされているために起こるので、PHP Modeの再インストールによって解決します。
24+
>
25+
> **`M-x php-mode-debug-reinstall`** または **`M-x package-reinstall php-mode`** コマンドをお試しください。
2126
2227
[releases]: https://github.com/emacs-php/php-mode/releases
23-
[disscussions-emacs29]: https://github.com/emacs-php/php-mode/discussions/751
28+
[disscussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798
2429

2530
## インストール
2631

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div align="center">
22
<h1>Emacs PHP Mode</h1>
33

4-
[![Emacs: 29.4](https://img.shields.io/badge/Emacs-29.4-blue.svg)](https://www.gnu.org/software/emacs/)
5-
[![lang: PHP 8.3](https://img.shields.io/badge/lang-PHP%208.3-brightgreen.svg)](https://www.php.net/manual/migration83.php)
4+
[![Emacs: 30.0](https://img.shields.io/badge/Emacs-30.0-blue.svg)](https://www.gnu.org/software/emacs/)
5+
[![lang: PHP 8.4](https://img.shields.io/badge/lang-PHP%208.4-brightgreen.svg)](https://www.php.net/releases/8.4/)
66
[![Build Status](https://github.com/emacs-php/php-mode/workflows/CI/badge.svg)](https://github.com/emacs-php/php-mode/actions)
77
[![GPL v3](https://img.shields.io/badge/license-GPL_v3-green.svg)][gpl-v3]<br>
88
[![NonGNU ELPA][nongnu-elpa-badge]][nongnu-elpa]
@@ -17,10 +17,15 @@ English &nbsp;&nbsp;|&nbsp;&nbsp; [日本語](README.ja.md)
1717
Please submit any bug reports or feature requests by creating issues on [the GitHub page for PHP Mode][php-mode].
1818

1919
> [!NOTE]
20-
> The [latest version][releases] of PHP Mode supports Emacs 29. <br />Please feel free to [write to disucuss][disscussions-emacs29] if you have problems upgrading to Emacs 29.
20+
> The [latest version][releases] of PHP Mode supports Emacs 30. <br />Please feel free to [write to disucuss][disscussions-emacs30] if you have problems upgrading to Emacs 29.
21+
22+
> [!WARNING]
23+
> After upgrading Emacs, when you open a PHP file for the first time, you may encounter errors related to CC Mode. These errors occur because a previously byte-compiled version of PHP Mode, cached on your disk, differs from the newly installed one. Reinstalling PHP Mode should resolve the issue.
24+
>
25+
> Try running **`M-x php-mode-debug-reinstall`** or **`M-x package-reinstall php-mode`**.
2126
2227
[releases]: https://github.com/emacs-php/php-mode/releases
23-
[disscussions-emacs29]: https://github.com/emacs-php/php-mode/discussions/751
28+
[disscussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798
2429

2530
## Installation
2631

0 commit comments

Comments
 (0)