-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start adding documentation for changes in phpBB 4.0
- Loading branch information
Showing
2 changed files
with
107 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
========= | ||
phpBB 4.0 | ||
========= | ||
|
||
phpBB 4.0 is a major release that contains backward compatibility breaks and also introduces some deprecations. | ||
|
||
.. contents:: Table of Contents | ||
:depth: 2 | ||
:local: | ||
:backlinks: none | ||
|
||
Basics | ||
====== | ||
|
||
PHP | ||
--- | ||
The minimum required version of PHP for phpBB 4.0 is ``8.1`` with full support for versions ``8.2`` and ``8.3``. | ||
PHP code that worked with the supported versions of phpBB 3.3 should work with phpBB 4.0 as well but might require minor adjustments.Recommendation | ||
|
||
Symfony | ||
------- | ||
phpBB 4.0 ships with Symfony 6.4. There are quite a few changes to the standard Symfony version that came with phpBB 3.3. | ||
The following upgrade guides provides by Symfony might help with resolving some of the issues you might encounter when upgrading | ||
custom PHP or Extension code for phpBB 4.0: | ||
|
||
- `Upgrade Symfony from 3.x to 4.0 <https://github.com/symfony/symfony/blob/4.4/UPGRADE-4.0.md>`_ | ||
- `Upgrade Symfony from 4.4 to 5.0 <https://github.com/symfony/symfony/blob/5.4/UPGRADE-5.0.md>`_ | ||
- `Upgrade Symfony from 5.x to 6.0 <https://github.com/symfony/symfony/blob/6.4/UPGRADE-6.0.md>`_ | ||
|
||
You can find more upgrade guides in the `Symfony Repository <https://github.com/symfony/symfony/tree/6.4>`_ on GitHub. | ||
|
||
Class and function changes | ||
========================== | ||
The following table lists class and function changes that might affect custom PHP or Extension code. | ||
Also have a look at the `phpBB API documentation <https://area51.phpbb.com/docs/code/master/>`_ for further insight into the class and function API in phpBB 4.0. | ||
|
||
.. list-table:: | ||
:widths: 15 15 10 10 50 | ||
:header-rows: 1 | ||
|
||
* - Class or function | ||
- Path | ||
- Type of change | ||
- Version | ||
- Recommendation | ||
* - ``\phpbb\avatar\driver\remote`` | ||
- ``phpbb/avatar/driver/remote.php`` | ||
- Removed | ||
- ``4.0.0-a1`` | ||
- Use alternative avatar like gravatar or upload avatar. | ||
* - ``\phpbb\captcha\plugins\incomplete`` | ||
- ``phpbb/captcha/plugins/incomplete.php`` | ||
- Added | ||
- ``4.0.0-a1`` | ||
- Placeholder CAPTCHA that prevents e.g. registration until safer captcha like reCAPTCHA or QA is enabled. | ||
* - ``\phpbb\captcha\plugins\gd`` | ||
- ``phpbb/captcha/plugins/gd.php`` | ||
- Removed | ||
- ``4.0.0-a1`` | ||
- Use safer captcha like reCAPTCHA or QA. | ||
* - ``\phpbb\captcha\plugins\gd_wave`` | ||
- ``phpbb/captcha/plugins/gd_wave.php`` | ||
- Removed | ||
- ``4.0.0-a1`` | ||
- Use safer captcha like reCAPTCHA or QA. | ||
* - ``\phpbb\captcha\plugins\nogd`` | ||
- ``phpbb/captcha/plugins/nogd.php`` | ||
- Removed | ||
- ``4.0.0-a1`` | ||
- Use safer captcha like reCAPTCHA or QA. | ||
* - ``\phpbb\captcha\char_cube3d`` | ||
- ``phpbb/captcha/char_cube3d.php`` | ||
- Removed | ||
- ``4.0.0-a1`` | ||
- No longer used due to removal of gd & nogd CAPTCHAs. | ||
* - ``\phpbb\captcha\colour_manager`` | ||
- ``phpbb/captcha/colour_manager.php`` | ||
- Removed | ||
- ``4.0.0-a1`` | ||
- No longer used due to removal of gd & nogd CAPTCHAs. | ||
* - ``\phpbb\captcha\gd`` | ||
- ``phpbb/captcha/gd.php`` | ||
- Removed | ||
- ``4.0.0-a1`` | ||
- No longer used due to removal of gd & nogd CAPTCHAs. | ||
* - ``\phpbb\captcha\gd_wave`` | ||
- ``phpbb/captcha/gd_wave.php`` | ||
- Removed | ||
- ``4.0.0-a1`` | ||
- No longer used due to removal of gd & nogd CAPTCHAs. | ||
* - ``\phpbb\captcha\non_gd`` | ||
- ``phpbb/captcha/non_gd.php`` | ||
- Removed | ||
- ``4.0.0-a1`` | ||
- No longer used due to removal of gd & nogd CAPTCHAs. | ||
|
||
**Explanation of columns:** | ||
|
||
* **Class or function:** The name of the class or function that was added, changed, deprecated, or removed in this version. | ||
* **Path:** Path to file. | ||
* **Type of change:** The type of change, e.g. added, changed, deprecated, or removed in this version. | ||
* **Version:** Version in which this change was introduced. | ||
* **Recommendation:** The suggested approach to handle the change. This could involve using an alternative function, migrating code to a new approach, or providing additional information. |