NOBUG: Add upgrade notes

This commit is contained in:
Sara Arjona 2024-05-30 17:00:19 +02:00
parent 4c9e2e4d0d
commit 5d6c6bf81c
No known key found for this signature in database
12 changed files with 145 additions and 33 deletions

View file

@ -26,6 +26,50 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
For more information see [MDL-74484](https://tracker.moodle.org/browse/MDL-74484)
#### Changed
- The class autoloader has been moved to an earlier point in the Moodle bootstrap.
Autoloaded classes are now available to scripts using the `ABORT_AFTER_CONFIG` constant.
For more information see [MDL-80275](https://tracker.moodle.org/browse/MDL-80275)
#### Added
- New DML constant `SQL_INT_MAX` to define the size of a large integer with cross database platform support
For more information see [MDL-81282](https://tracker.moodle.org/browse/MDL-81282)
- Added an `exception` L2 Namespace to APIs
For more information see [MDL-81903](https://tracker.moodle.org/browse/MDL-81903)
### mod_assign
#### Added
- Added 2 new settings:
- `mod_assign/defaultgradetype`
- The value of this setting dictates which of the GRADE_TYPE_X constants is the default option when creating new instances of the assignment.
- The default value is GRADE_TYPE_VALUE (Point)
- `mod_assign/defaultgradescale`
- The value of this setting dictates which of the existing scales is the default option when creating new instances of the assignment.
For more information see [MDL-54105](https://tracker.moodle.org/browse/MDL-54105)
- A new default value for `attemptreopenmethod` has been set to "Automatically until pass".
For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741)
#### Removed
- The default option "Never" for `attemptreopenmethod` setting, which disallowed multiple attempts at the assignment, has been removed. This option was unnecessary because limiting attempts to 1 through the `maxattempts` setting achieves the same behavior.
For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741)
#### Deprecated
- The constant `ASSIGN_ATTEMPT_REOPEN_METHOD_NONE` has been deprecated, and a new default value for `attemptreopenmethod` has been set to "Automatically until pass".
For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741)
### report
#### Removed
@ -34,6 +78,16 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
For more information see [MDL-72353](https://tracker.moodle.org/browse/MDL-72353)
### report_eventlist
#### Deprecated
- The following deprecated methods in `report_eventlist_list_generator` have been removed:
- `get_core_events_list()`
- `get_non_core_event_list()`
For more information see [MDL-72786](https://tracker.moodle.org/browse/MDL-72786)
### core_grades
#### Removed
@ -77,26 +131,6 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
For more information see [MDL-81434](https://tracker.moodle.org/browse/MDL-81434)
### mod_assign
#### Removed
- The default option "Never" for `attemptreopenmethod` setting, which disallowed multiple attempts at the assignment, has been removed. This option was unnecessary because limiting attempts to 1 through the `maxattempts` setting achieves the same behavior.
For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741)
#### Deprecated
- The constant `ASSIGN_ATTEMPT_REOPEN_METHOD_NONE` has been deprecated, and a new default value for `attemptreopenmethod` has been set to "Automatically until pass".
For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741)
#### Added
- A new default value for `attemptreopenmethod` has been set to "Automatically until pass".
For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741)
### core_question
#### Changed
@ -113,6 +147,22 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
For more information see [MDL-81274](https://tracker.moodle.org/browse/MDL-81274)
### output
#### Added
- Added a new `renderer_base::get_page` getter method
For more information see [MDL-81597](https://tracker.moodle.org/browse/MDL-81597)
### theme
#### Added
- New `core/contextheader` mustache template has been added. This template can be overridden by themes to modify the context header
For more information see [MDL-81597](https://tracker.moodle.org/browse/MDL-81597)
### core_courseformat
#### Added
@ -121,3 +171,14 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
If `istrackeduser` is pre-computed for the course module's course, it can be provided here to avoid an additional function call.
For more information see [MDL-81610](https://tracker.moodle.org/browse/MDL-81610)
### core_course
#### Changed
- The reset course page has been improved. The words "Delete" and "Remove" have been removed from all the options to make it easier to focus on the data to be removed and avoid inconsistencies and duplicated information. Third party plugins implementing reset methods might need to:
- Add static element in the _reset_course_form_definition method before all the options with the Delete string:
`$mform->addElement('static', 'assigndelete', get_string('delete'));`
- Review all the strings used in the reset page to remove the "Delete" or "Remove" words from them.
For more information see [MDL-81872](https://tracker.moodle.org/browse/MDL-81872)

13
course/UPGRADING.md Normal file
View file

@ -0,0 +1,13 @@
# core_course (subsystem) Upgrade notes
## 4.5dev
### Changed
- The reset course page has been improved. The words "Delete" and "Remove" have been removed from all the options to make it easier to focus on the data to be removed and avoid inconsistencies and duplicated information. Third party plugins implementing reset methods might need to:
- Add static element in the _reset_course_form_definition method before all the options with the Delete string:
`$mform->addElement('static', 'assigndelete', get_string('delete'));`
- Review all the strings used in the reset page to remove the "Delete" or "Remove" words from them.
For more information see [MDL-81872](https://tracker.moodle.org/browse/MDL-81872)

View file

@ -8,4 +8,3 @@
If `istrackeduser` is pre-computed for the course module's course, it can be provided here to avoid an additional function call.
For more information see [MDL-81610](https://tracker.moodle.org/browse/MDL-81610)

View file

@ -9,4 +9,3 @@
- `behat_grade::select_in_gradebook_tabs`
For more information see [MDL-74581](https://tracker.moodle.org/browse/MDL-74581)

View file

@ -18,3 +18,18 @@
For more information see [MDL-74484](https://tracker.moodle.org/browse/MDL-74484)
### Changed
- The class autoloader has been moved to an earlier point in the Moodle bootstrap.
Autoloaded classes are now available to scripts using the `ABORT_AFTER_CONFIG` constant.
For more information see [MDL-80275](https://tracker.moodle.org/browse/MDL-80275)
### Added
- New DML constant `SQL_INT_MAX` to define the size of a large integer with cross database platform support
For more information see [MDL-81282](https://tracker.moodle.org/browse/MDL-81282)
- Added an `exception` L2 Namespace to APIs
For more information see [MDL-81903](https://tracker.moodle.org/browse/MDL-81903)

View file

@ -2,6 +2,20 @@
## 4.5dev
### Added
- Added 2 new settings:
- `mod_assign/defaultgradetype`
- The value of this setting dictates which of the GRADE_TYPE_X constants is the default option when creating new instances of the assignment.
- The default value is GRADE_TYPE_VALUE (Point)
- `mod_assign/defaultgradescale`
- The value of this setting dictates which of the existing scales is the default option when creating new instances of the assignment.
For more information see [MDL-54105](https://tracker.moodle.org/browse/MDL-54105)
- A new default value for `attemptreopenmethod` has been set to "Automatically until pass".
For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741)
### Removed
- The default option "Never" for `attemptreopenmethod` setting, which disallowed multiple attempts at the assignment, has been removed. This option was unnecessary because limiting attempts to 1 through the `maxattempts` setting achieves the same behavior.
@ -13,10 +27,3 @@
- The constant `ASSIGN_ATTEMPT_REOPEN_METHOD_NONE` has been deprecated, and a new default value for `attemptreopenmethod` has been set to "Automatically until pass".
For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741)
### Added
- A new default value for `attemptreopenmethod` has been set to "Automatically until pass".
For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741)

View file

@ -7,4 +7,3 @@
- The `data_add_record` method accepts a new `$approved` parameter to set the corresponding state of the new record
For more information see [MDL-81274](https://tracker.moodle.org/browse/MDL-81274)

View file

@ -7,4 +7,3 @@
- column_base::from_column_name now has an ignoremissing field, which can be used to ignore if the class does not exist, instead of throwing an exception.
For more information see [MDL-81125](https://tracker.moodle.org/browse/MDL-81125)

View file

@ -7,4 +7,3 @@
- The previously deprecated `report_helper::save_selected_report` method has been removed and can no longer be used
For more information see [MDL-72353](https://tracker.moodle.org/browse/MDL-72353)

View file

@ -0,0 +1,12 @@
# report_eventlist Upgrade notes
## 4.5dev
### Deprecated
- The following deprecated methods in `report_eventlist_list_generator` have been removed:
- `get_core_events_list()`
- `get_non_core_event_list()`
For more information see [MDL-72786](https://tracker.moodle.org/browse/MDL-72786)

View file

@ -32,4 +32,3 @@
- Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression
For more information see [MDL-81434](https://tracker.moodle.org/browse/MDL-81434)

10
theme/UPGRADING.md Normal file
View file

@ -0,0 +1,10 @@
# theme (plugin type) Upgrade notes
## 4.5dev
### Added
- New `core/contextheader` mustache template has been added. This template can be overridden by themes to modify the context header
For more information see [MDL-81597](https://tracker.moodle.org/browse/MDL-81597)