diff --git a/UPGRADING.md b/UPGRADING.md index 4ae231503d8..a601e0df950 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -64,6 +64,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt - `core/modal_factory` For more information see [MDL-79182](https://tracker.moodle.org/browse/MDL-79182) +- Legacy constructors have been removed. These relate to PHP 4 and earlier. + + For more information see [MDL-82284](https://tracker.moodle.org/browse/MDL-82284) - Removed $CFG->wwwrootendsinpublic flag to force users to configure their server accordingly. For more information see [MDL-87072](https://tracker.moodle.org/browse/MDL-87072) @@ -114,8 +117,17 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-87117](https://tracker.moodle.org/browse/MDL-87117) +#### Changed + +- The description field is no longer available on the edit form for delegated sections like mod_subsection. + + For more information see [MDL-87279](https://tracker.moodle.org/browse/MDL-87279) + #### Deprecated +- Deprecates moveto_module (core_course) in favor of cmactions::move_before or cmactions::move_end_section (core_courseformat\local\cmactions). + + For more information see [MDL-86854](https://tracker.moodle.org/browse/MDL-86854) - The following methods have been deprecated and should no longer be used: - `course_delete_module` - `course_module_flag_for_async_deletion` Please consider using the equivalent methods, delete and delete_async, in `core_courseformat\local\cmactions` instead. For more information see [MDL-86856](https://tracker.moodle.org/browse/MDL-86856) @@ -130,6 +142,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt #### Added +- Add core_courseformat\cmactions::move_before that will allow to move a coursemodule to a position before another coursemodule. Add core_courseformat\cmactions::move_end_section that will allow to move a coursemodule the end of a section. + + For more information see [MDL-86854](https://tracker.moodle.org/browse/MDL-86854) - Add delete method to the core_courseformat\cmactions For more information see [MDL-86856](https://tracker.moodle.org/browse/MDL-86856) @@ -180,6 +195,21 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-81514](https://tracker.moodle.org/browse/MDL-81514) +### core_question + +#### Deprecated + +- `get_next_version()` from questionlib.php is now deprecated. Use `\core_question\versions::get_next_version()` instead. + + For more information see [MDL-86798](https://tracker.moodle.org/browse/MDL-86798) + +#### Fixed + +- In order to prevent re-use of question version numbers after a version is deleted, the `nextversion` column was added to `question_bank_entries`. This serves as a counter incremented each time a version is created. + Do not query this field directly. Instead use `core_question\versions::get_next_version()` to read the value, which will initialise it based on the existing versions if it is not set yet. By default, it will increment the version number automatically, unless you pass `increment: false`. Because of this, it is advisable to call it inside a transaction, that is only committed after the version number is used in a `question_versions` record. + + For more information see [MDL-86798](https://tracker.moodle.org/browse/MDL-86798) + ### core_reportbuilder #### Added @@ -258,6 +288,14 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-86916](https://tracker.moodle.org/browse/MDL-86916) +### mod_subsection + +#### Added + +- A new scheduled task, `remove_existing_descriptions`, has been added. Once enabled, this task will remove the descriptions for all existing subsection instances. + + For more information see [MDL-87280](https://tracker.moodle.org/browse/MDL-87280) + ### qbank_columnsortorder #### Removed diff --git a/public/course/UPGRADING.md b/public/course/UPGRADING.md index b2ca5ac5cb8..5e068781c2d 100644 --- a/public/course/UPGRADING.md +++ b/public/course/UPGRADING.md @@ -11,8 +11,17 @@ For more information see [MDL-87117](https://tracker.moodle.org/browse/MDL-87117) +### Changed + +- The description field is no longer available on the edit form for delegated sections like mod_subsection. + + For more information see [MDL-87279](https://tracker.moodle.org/browse/MDL-87279) + ### Deprecated +- Deprecates moveto_module (core_course) in favor of cmactions::move_before or cmactions::move_end_section (core_courseformat\local\cmactions). + + For more information see [MDL-86854](https://tracker.moodle.org/browse/MDL-86854) - The following methods have been deprecated and should no longer be used: - `course_delete_module` - `course_module_flag_for_async_deletion` Please consider using the equivalent methods, delete and delete_async, in `core_courseformat\local\cmactions` instead. For more information see [MDL-86856](https://tracker.moodle.org/browse/MDL-86856) diff --git a/public/course/format/UPGRADING.md b/public/course/format/UPGRADING.md index f30551def73..cd1de0df0de 100644 --- a/public/course/format/UPGRADING.md +++ b/public/course/format/UPGRADING.md @@ -4,6 +4,9 @@ ### Added +- Add core_courseformat\cmactions::move_before that will allow to move a coursemodule to a position before another coursemodule. Add core_courseformat\cmactions::move_end_section that will allow to move a coursemodule the end of a section. + + For more information see [MDL-86854](https://tracker.moodle.org/browse/MDL-86854) - Add delete method to the core_courseformat\cmactions For more information see [MDL-86856](https://tracker.moodle.org/browse/MDL-86856) diff --git a/public/lib/UPGRADING.md b/public/lib/UPGRADING.md index 351bb4768df..b89c2b4b122 100644 --- a/public/lib/UPGRADING.md +++ b/public/lib/UPGRADING.md @@ -56,6 +56,9 @@ - `core/modal_factory` For more information see [MDL-79182](https://tracker.moodle.org/browse/MDL-79182) +- Legacy constructors have been removed. These relate to PHP 4 and earlier. + + For more information see [MDL-82284](https://tracker.moodle.org/browse/MDL-82284) - Removed $CFG->wwwrootendsinpublic flag to force users to configure their server accordingly. For more information see [MDL-87072](https://tracker.moodle.org/browse/MDL-87072) diff --git a/public/mod/subsection/UPGRADING.md b/public/mod/subsection/UPGRADING.md new file mode 100644 index 00000000000..a7e06889088 --- /dev/null +++ b/public/mod/subsection/UPGRADING.md @@ -0,0 +1,10 @@ +# mod_subsection Upgrade notes + +## 5.2dev + +### Added + +- A new scheduled task, `remove_existing_descriptions`, has been added. Once enabled, this task will remove the descriptions for all existing subsection instances. + + For more information see [MDL-87280](https://tracker.moodle.org/browse/MDL-87280) + diff --git a/public/question/UPGRADING.md b/public/question/UPGRADING.md index 6a6a7125f17..ce242c01588 100644 --- a/public/question/UPGRADING.md +++ b/public/question/UPGRADING.md @@ -1,5 +1,20 @@ # core_question (subsystem) Upgrade notes +## 5.2dev + +### Deprecated + +- `get_next_version()` from questionlib.php is now deprecated. Use `\core_question\versions::get_next_version()` instead. + + For more information see [MDL-86798](https://tracker.moodle.org/browse/MDL-86798) + +### Fixed + +- In order to prevent re-use of question version numbers after a version is deleted, the `nextversion` column was added to `question_bank_entries`. This serves as a counter incremented each time a version is created. + Do not query this field directly. Instead use `core_question\versions::get_next_version()` to read the value, which will initialise it based on the existing versions if it is not set yet. By default, it will increment the version number automatically, unless you pass `increment: false`. Because of this, it is advisable to call it inside a transaction, that is only committed after the version number is used in a `question_versions` record. + + For more information see [MDL-86798](https://tracker.moodle.org/browse/MDL-86798) + ## 5.1 ### Added