Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change input chapter to be moved #389

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions migrations/54-60/compat-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@ 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 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.
8 changes: 0 additions & 8 deletions migrations/54-60/removed-backward-incompatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +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 object switched to Framework Input object

- 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.

### CMS BaseApplication and CLI classes have been removed

- PR: https://github.com/joomla/joomla-cms/pull/42884
Expand Down Expand Up @@ -167,4 +160,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.