Skip to content

Commit cf6b876

Browse files
authored
add framework update bc
1 parent 8a1859a commit cf6b876

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

migrations/44-50/removed-backward-incompatibility.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ If you are using your own logger, you want to preserve compatibility with Joomla
2222

2323
If you only need to maintain compatibilty with PSR-3 to use an logger external to your component, such as Joomla's logger, you can still typehint against `\Psr\Log\LoggerInterface`. Please note that the external logger you are using must be compatible with PSR-3 version 1 on Joomla 4 and PSR-3 version 3 on Joomla 5. If you are providing a third party, external logger yourself you may need to include two versions of the logger with your extension and only load the correct one for each Joomla version.
2424

25+
### Framework Update
26+
27+
Joomla! 5.0 uses the Joomla! Framework 3.0, this might have it own breaking changes.
28+
29+
:::caution TODO
30+
31+
Add Link to framework breaking changes
32+
33+
:::
34+
35+
2536
### Database must be injected in constructor model
2637
- PR: https://github.com/joomla/joomla-cms/pull/38511
2738
- Description: The database instance in the model should be injected through the `$this->setDatabase()` or the deprecated function `$this->setDbo()` configuration in the constructor to make it available in the base class. Like that it is ensured that calls to `$this->getDatabase()` and the deprecated function `$this->getDbo()` will point to the same instance.

0 commit comments

Comments
 (0)