MOBILE-4463 core: Deprecate CoreCache for plugins
parent
4d4d7ad229
commit
0c670e14c1
|
@ -368,7 +368,7 @@ export class CoreCompileProvider {
|
||||||
instance['CoreTime'] = CoreTime;
|
instance['CoreTime'] = CoreTime;
|
||||||
instance['CoreUrl'] = CoreUrl;
|
instance['CoreUrl'] = CoreUrl;
|
||||||
instance['CoreWindow'] = CoreWindow;
|
instance['CoreWindow'] = CoreWindow;
|
||||||
instance['CoreCache'] = CoreCache;
|
instance['CoreCache'] = CoreCache; // @deprecated since 4.4, plugins should use plain objects instead.
|
||||||
instance['CoreDelegate'] = CoreDelegate;
|
instance['CoreDelegate'] = CoreDelegate;
|
||||||
instance['CorePromisedValue'] = CorePromisedValue;
|
instance['CorePromisedValue'] = CorePromisedValue;
|
||||||
instance['CoreContentLinksHandlerBase'] = CoreContentLinksHandlerBase;
|
instance['CoreContentLinksHandlerBase'] = CoreContentLinksHandlerBase;
|
||||||
|
|
12
upgrade.txt
12
upgrade.txt
|
@ -1,5 +1,11 @@
|
||||||
This files describes API changes in the Moodle Mobile app,
|
This file describes API changes in the Moodle App that affect site plugins, information provided here is intended especially for developers.
|
||||||
information provided here is intended especially for developers.
|
|
||||||
|
For more information about upgrading, read the official documentation: https://moodledev.io/general/app/upgrading/
|
||||||
|
|
||||||
|
=== 4.4.0 ===
|
||||||
|
|
||||||
|
- Starting with this release, this file will only document breaking changes for APIs exposed to site plugins. Internal changes will no longer be documented.
|
||||||
|
- CoreCache has been deprecated, use plain object as in-memory stores instead.
|
||||||
|
|
||||||
=== 4.3.0 ===
|
=== 4.3.0 ===
|
||||||
|
|
||||||
|
@ -7,7 +13,7 @@ information provided here is intended especially for developers.
|
||||||
- Font Awesome icon library has been updated to 6.4.0. But nothing has changed, only version number.
|
- Font Awesome icon library has been updated to 6.4.0. But nothing has changed, only version number.
|
||||||
- The analytics system in the app has been refactored and some functions that could trigger analytics calls no longer do it, now you need to use CoreAnalytics instead. Some functions in CoreCourseLogHelper and CorePushNotificationsProvider have been deprecated.
|
- The analytics system in the app has been refactored and some functions that could trigger analytics calls no longer do it, now you need to use CoreAnalytics instead. Some functions in CoreCourseLogHelper and CorePushNotificationsProvider have been deprecated.
|
||||||
- Due to the analytics refactor, the parameters of most log functions have changed.
|
- Due to the analytics refactor, the parameters of most log functions have changed.
|
||||||
- CoreCourseModuleHandlerData.buttons has been deprecated, now only one button in atribute button will be shown.
|
- CoreCourseModuleHandlerData.buttons has been deprecated, now only one button in attribute button will be shown.
|
||||||
|
|
||||||
=== 4.2.0 ===
|
=== 4.2.0 ===
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue