Skip to content

Commit f2f99a6

Browse files
authored
Merge pull request #98 from richard67/5.0-add-js-removals-to-44-50-removed-backward-incompatibility.md
[5.0] Add javascript removals from PR #40302
2 parents cf98f68 + 16e4ce6 commit f2f99a6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@ class MyModel extends ListModel {
5151
### CSS removals
5252
The CSS class ".ie11" was removed [via PR #39018](https://github.com/joomla/joomla-cms/pull/39018)
5353

54+
### Javascript removals
55+
The following Javascript assets were removed [via PR #40302](https://github.com/joomla/joomla-cms/pull/40302):
56+
- `/media/com_templates/js/admin-template-compare.js` - Not used anymore by the core since version 4.3.0, [see PR #38823](https://github.com/joomla/joomla-cms/pull/38823).
57+
58+
- `/media/com_users/js/admin-users-mail.js` - Not used anymore by the core since version 4.3.0, [see PR #39374](https://github.com/joomla/joomla-cms/pull/39374).
59+
60+
This includes also the `-es5.js` files and the minified and gzipped files and the corresponding entries in `joomla.asset.json` files.
61+
62+
The files have been kept in Joomla 4 for b/c with layout overrides.
63+
64+
To fix these layout overrides for Joomla 5, change your layout override in the same way as the corresponding core layout has been changed by the PR mentioned in the list above for each Javascript asset.
65+
66+
Eg for the template manager's side-by-side comparison view, [see PR #38823](https://github.com/joomla/joomla-cms/pull/38823).
5467

5568
### Return Types
5669
All return types have been updated to match the PHP 8.1 return type signatures. This addresses any class utilising the ArrayAccess, Datetime or the JsonSerializable interfaces. If you extend from any of the affected classes and require compatibility with both Joomla 4.x and 5.x you should add the `#[\ReturnTypeWillChange]` annotation to your code.

0 commit comments

Comments
 (0)