SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.92k stars 1.23k forks source link

Deprecated Coding in sap.ui.core.library.js #4002

Closed rbnrs closed 4 months ago

rbnrs commented 4 months ago

The current OpenUI5 version still uses outdated code in sap.ui.core library.js

https://github.com/SAP/openui5/blob/079152d0f90a62ccd287a7961bb3332a4b2f0604/src/sap.ui.core/src/sap/ui/core/library.js#L2492

Will this be adapted in the future?

I fear that this will cause a lot of problems in the SDK when sap.ui.lazyRequire is removed from the SDK in a future release.

codeworrior commented 4 months ago

Thank you for asking!

This is already addressed. In the next major version, this code will no longer exist in library.js. In the current master codeline (1.x), it however has to stay for compatibility reasons.

Best Regards, codeworrior