diff --git a/UPGRADING.md b/UPGRADING.md index 0863c3908b7..15065c72aed 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -427,6 +427,23 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-82857](https://tracker.moodle.org/browse/MDL-82857) +### core_role + +#### Added + +- Move all session management to the \core\session\manager class. + This removes the dependancy to use the "sessions" table. + Session management plugins (like redis) now need to inherit + the base \core\session\handler class which implements + SessionHandlerInterface and override methods as required. + The following methods in \core\session\manager have been deprecated: + * kill_all_sessions use destroy_all instead + * kill_session use destroy instead + * kill_sessions_for_auth_plugin use destroy_by_auth_plugin instead + * kill_user_sessions use destroy_user_sessions instead + + For more information see [MDL-66151](https://tracker.moodle.org/browse/MDL-66151) + ### tool_oauth2 #### Added @@ -631,6 +648,21 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-75025](https://tracker.moodle.org/browse/MDL-75025) +### core_files + +#### Added + +- The following are the changes made: + - New hook after_file_created + - In the \core_files\file_storage, new additional param $notify (default is true) added to: + - ::create_file_from_storedfile() + - ::create_file_from_pathname() + - ::create_file_from_string() + - ::create_file() + If true, it will trigger the after_file_created hook to re-create the image. + + For more information see [MDL-75850](https://tracker.moodle.org/browse/MDL-75850) + ### core_user #### Deprecated diff --git a/admin/roles/UPGRADING.md b/admin/roles/UPGRADING.md new file mode 100644 index 00000000000..1b9fd378dfa --- /dev/null +++ b/admin/roles/UPGRADING.md @@ -0,0 +1,19 @@ +# core_role (subsystem) Upgrade notes + +## 4.5dev+ + +### Added + +- Move all session management to the \core\session\manager class. + This removes the dependancy to use the "sessions" table. + Session management plugins (like redis) now need to inherit + the base \core\session\handler class which implements + SessionHandlerInterface and override methods as required. + The following methods in \core\session\manager have been deprecated: + * kill_all_sessions use destroy_all instead + * kill_session use destroy instead + * kill_sessions_for_auth_plugin use destroy_by_auth_plugin instead + * kill_user_sessions use destroy_user_sessions instead + + For more information see [MDL-66151](https://tracker.moodle.org/browse/MDL-66151) + diff --git a/cache/UPGRADING.md b/cache/UPGRADING.md index 70a103dc318..b91ecf9e3b2 100644 --- a/cache/UPGRADING.md +++ b/cache/UPGRADING.md @@ -41,4 +41,3 @@ | `\cache_mode_mappings_form` | `\core_cache\form/cache_mode_mappings_form` | For more information see [MDL-82158](https://tracker.moodle.org/browse/MDL-82158) - diff --git a/files/UPGRADING.md b/files/UPGRADING.md new file mode 100644 index 00000000000..e850905b530 --- /dev/null +++ b/files/UPGRADING.md @@ -0,0 +1,17 @@ +# core_files (subsystem) Upgrade notes + +## 4.5dev+ + +### Added + +- The following are the changes made: + - New hook after_file_created + - In the \core_files\file_storage, new additional param $notify (default is true) added to: + - ::create_file_from_storedfile() + - ::create_file_from_pathname() + - ::create_file_from_string() + - ::create_file() + If true, it will trigger the after_file_created hook to re-create the image. + + For more information see [MDL-75850](https://tracker.moodle.org/browse/MDL-75850) +