NOBUG: Add upgrade notes

This commit is contained in:
Jun Pataleta
2024-09-03 20:05:49 +08:00
parent 70ab6b9a28
commit ea2d3558d9
4 changed files with 68 additions and 1 deletions
+32
View File
@@ -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
+19
View File
@@ -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)
-1
View File
@@ -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)
+17
View File
@@ -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)