From 8da54f9065c52e8f9d9dfbf61d13f78ab0d4004b Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Mon, 17 Feb 2025 08:45:29 +0100 Subject: [PATCH 1/4] Change input chapter to be moved --- migrations/54-60/removed-backward-incompatibility.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migrations/54-60/removed-backward-incompatibility.md b/migrations/54-60/removed-backward-incompatibility.md index fb7b001e..3a176c0e 100644 --- a/migrations/54-60/removed-backward-incompatibility.md +++ b/migrations/54-60/removed-backward-incompatibility.md @@ -11,12 +11,13 @@ sidebar_position: 3 All the deprecated features than have now been removed and any backward incompatibilities. There should be an explanation of how to mitigate the removals / changes. -### CMS Input object switched to Framework Input object +### CMS Input Package got moved to the compat plugin - PR's: - https://github.com/joomla/joomla-cms/pull/42805 - https://github.com/joomla/joomla-cms/pull/42890 -- Description: The CMS Input namespace `\Joomla\CMS\Input` has been removed. The CMS core code has switched the code to the Framework Input library with the namespace `\Joomla\Input`, which is very much a drop-in replacement. This is especially of relevance if you are using the MVC classes, which now use the framework class. Make sure that your code imports the correct class. +- Folder: libraries/src/Input +- Description: The Input package of the CMS (`\Joomla\CMS\Input`) has been deprecated. For Joomla 6.0 it has been moved to the compat plugin and will finally be completely removed in 7.0. Please use the [framework `Input`](https://github.com/joomla-framework/input) package (`\Joomla\Input`). The packages can be used nearly interchangeably. ### CMS BaseApplication and CLI classes have been removed @@ -167,4 +168,3 @@ if ($app instanceof \Joomla\CMS\Application\ConsoleApplication) { - `\Joomla\CMS\Access\Rules::getAllowed()` now returns a `stdClass` - `\Joomla\CMS\MVC\Controller\ApiController` uses a `Registry` object for the model state. - `\Joomla\CMS\User\UserHelper::getProfile()` returns a `stdClass` object now. - From 100344a5e1fda7b9ac77eb16edf91fc0b3774bcc Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Mon, 17 Feb 2025 09:20:02 +0100 Subject: [PATCH 2/4] Update removed-backward-incompatibility.md --- migrations/54-60/removed-backward-incompatibility.md | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/54-60/removed-backward-incompatibility.md b/migrations/54-60/removed-backward-incompatibility.md index 3a176c0e..18b71f0d 100644 --- a/migrations/54-60/removed-backward-incompatibility.md +++ b/migrations/54-60/removed-backward-incompatibility.md @@ -16,6 +16,7 @@ There should be an explanation of how to mitigate the removals / changes. - PR's: - https://github.com/joomla/joomla-cms/pull/42805 - https://github.com/joomla/joomla-cms/pull/42890 + - https://github.com/joomla/joomla-cms/pull/44925 - Folder: libraries/src/Input - Description: The Input package of the CMS (`\Joomla\CMS\Input`) has been deprecated. For Joomla 6.0 it has been moved to the compat plugin and will finally be completely removed in 7.0. Please use the [framework `Input`](https://github.com/joomla-framework/input) package (`\Joomla\Input`). The packages can be used nearly interchangeably. From 6c2fe6609f6f71f092ed0da110f27ffd8213be45 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Mon, 17 Feb 2025 13:11:16 +0100 Subject: [PATCH 3/4] Move to compat plugin --- migrations/54-60/compat-plugin.md | 13 +++++++++++++ .../54-60/removed-backward-incompatibility.md | 9 --------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/migrations/54-60/compat-plugin.md b/migrations/54-60/compat-plugin.md index 2f56c4c2..36766714 100644 --- a/migrations/54-60/compat-plugin.md +++ b/migrations/54-60/compat-plugin.md @@ -18,4 +18,17 @@ The plugin is implemented as "Behaviour" plugin type to guarantee that is loaded For more detail check [Compatibility Plugin Joomla! 5.0](https://manual.joomla.org/migrations/44-50/compat-plugin). +### CMS BaseApplication and CLI classes +- PR's: + - https://github.com/joomla/joomla-cms/pull/42884 + - https://github.com/joomla/joomla-cms/pull/44926 +- Description: Any reference to the class `\Joomla\CMS\Application\BaseApplication` and `\Joomla\CMS\Application\CliApplication` with the respective CLI input classes should be replaced with the namespace `\Joomla\Application`. Cli apps should be replaced by console plugins. + +### CMS Input package + +- PR's: + - https://github.com/joomla/joomla-cms/pull/42805 + - https://github.com/joomla/joomla-cms/pull/42890 + - https://github.com/joomla/joomla-cms/pull/44925 +- Description: Any reference to the class `\Joomla\CMS\Input\Input` or the other classes in that namespace should be replaced with the [framework `Input`](https://github.com/joomla-framework/input) package and the namespace `\Joomla\Input`. The packages can be used nearly interchangeably. diff --git a/migrations/54-60/removed-backward-incompatibility.md b/migrations/54-60/removed-backward-incompatibility.md index 18b71f0d..9334f291 100644 --- a/migrations/54-60/removed-backward-incompatibility.md +++ b/migrations/54-60/removed-backward-incompatibility.md @@ -11,15 +11,6 @@ sidebar_position: 3 All the deprecated features than have now been removed and any backward incompatibilities. There should be an explanation of how to mitigate the removals / changes. -### CMS Input Package got moved to the compat plugin - -- PR's: - - https://github.com/joomla/joomla-cms/pull/42805 - - https://github.com/joomla/joomla-cms/pull/42890 - - https://github.com/joomla/joomla-cms/pull/44925 -- Folder: libraries/src/Input -- Description: The Input package of the CMS (`\Joomla\CMS\Input`) has been deprecated. For Joomla 6.0 it has been moved to the compat plugin and will finally be completely removed in 7.0. Please use the [framework `Input`](https://github.com/joomla-framework/input) package (`\Joomla\Input`). The packages can be used nearly interchangeably. - ### CMS BaseApplication and CLI classes have been removed - PR: https://github.com/joomla/joomla-cms/pull/42884 From 1dd0a909f6a6632d2096db17b1ed6c28c472bec6 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Mon, 17 Feb 2025 13:12:52 +0100 Subject: [PATCH 4/4] ups --- migrations/54-60/compat-plugin.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/migrations/54-60/compat-plugin.md b/migrations/54-60/compat-plugin.md index 36766714..bb93cd07 100644 --- a/migrations/54-60/compat-plugin.md +++ b/migrations/54-60/compat-plugin.md @@ -18,13 +18,6 @@ The plugin is implemented as "Behaviour" plugin type to guarantee that is loaded For more detail check [Compatibility Plugin Joomla! 5.0](https://manual.joomla.org/migrations/44-50/compat-plugin). -### CMS BaseApplication and CLI classes - -- PR's: - - https://github.com/joomla/joomla-cms/pull/42884 - - https://github.com/joomla/joomla-cms/pull/44926 -- Description: Any reference to the class `\Joomla\CMS\Application\BaseApplication` and `\Joomla\CMS\Application\CliApplication` with the respective CLI input classes should be replaced with the namespace `\Joomla\Application`. Cli apps should be replaced by console plugins. - ### CMS Input package - PR's: