Skip to content

Commit 4f66431

Browse files
committed
Add javascript removals from PR #40302
1 parent cf6b876 commit 4f66431

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

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

52+
### Javascript removals
53+
The following Javascript assets were removed [via PR #40302](https://github.com/joomla/joomla-cms/pull/40302):
54+
- `/media/com_templates/js/admin-template-compare.js`
55+
Not used anymore by the core since version 4.3.0, [see PR #38823](https://github.com/joomla/joomla-cms/pull/38823).
56+
57+
- `/media/com_users/js/admin-users-mail.js`
58+
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).
5267

5368
### Return Types
5469
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)