From c7111310c6116ba508a6a170a89eaaed2129bd42 Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Wed, 15 Oct 2025 18:40:02 +0200 Subject: [PATCH] 7.0.0 --- README.md | 2 +- VERSION | 2 +- changelog.md | 3 +++ src/PHPMailer.php | 2 +- src/POP3.php | 2 +- src/SMTP.php | 2 +- 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 51c97517..65354872 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ This software is distributed under the [LGPL 2.1](https://www.gnu.org/licenses/o PHPMailer is available on [Packagist](https://packagist.org/packages/phpmailer/phpmailer) (using semantic versioning), and installation via [Composer](https://getcomposer.org) is the recommended way to install PHPMailer. Just add this line to your `composer.json` file: ```json -"phpmailer/phpmailer": "^6.11.1" +"phpmailer/phpmailer": "^7.0.0" ``` or run diff --git a/VERSION b/VERSION index fac714a3..66ce77b7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.11.1 +7.0.0 diff --git a/changelog.md b/changelog.md index a114cfcb..664cec72 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # PHPMailer Change Log +## Version 7.0.0 (October 15th, 2025) +This is exactly the same as 6.11.1 but bumps the major version number to indicate the presence of a BC break in child classes. Specifically, `lang()`, `setLanguage()`, and `$language` are now static, and should be called statically. + ## Version 6.11.1 (September 30th, 2025) * Avoid function signature problems with the deprecation of `$useimap` in `parseAddresses`. diff --git a/src/PHPMailer.php b/src/PHPMailer.php index 0a8711f4..ff3b84bb 100644 --- a/src/PHPMailer.php +++ b/src/PHPMailer.php @@ -768,7 +768,7 @@ class PHPMailer * * @var string */ - const VERSION = '6.11.1'; + const VERSION = '7.0.0'; /** * Error severity: message only, continue processing. diff --git a/src/POP3.php b/src/POP3.php index 2c2cf789..c881a1c3 100644 --- a/src/POP3.php +++ b/src/POP3.php @@ -46,7 +46,7 @@ class POP3 * * @var string */ - const VERSION = '6.11.1'; + const VERSION = '7.0.0'; /** * Default POP3 port number. diff --git a/src/SMTP.php b/src/SMTP.php index 3772c94a..a36741bf 100644 --- a/src/SMTP.php +++ b/src/SMTP.php @@ -35,7 +35,7 @@ class SMTP * * @var string */ - const VERSION = '6.11.1'; + const VERSION = '7.0.0'; /** * SMTP line break constant.