Skip to content

Commit

Permalink
NOBUG: Add upgrade notes
Browse files Browse the repository at this point in the history
  • Loading branch information
HuongNV13 committed Nov 15, 2024
1 parent 1b7b121 commit 093a203
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt

#### Changed

- The {user_preferences}.value database field is now TEXT instead of CHAR. This means that any queries with a condition on this field in a WHERE or JOIN statement will need updating to use `$DB->sql_compare_text()`. See the `$newusers` query in `\core\task\send_new_users_password_task::execute` for an example.

For more information see [MDL-46739](https://tracker.moodle.org/browse/MDL-46739)
- All uses of the following PHPUnit methods have been removed as these methods are
deprecated upstream without direct replacement:

Expand All @@ -34,6 +37,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
- moodle_process_email() has been deprecated with the removal of the unused and non-functioning admin/process_email.php.

For more information see [MDL-61232](https://tracker.moodle.org/browse/MDL-61232)
- Final deprecation of methods `task_base::is_blocking` and `task_base::set_blocking`.

For more information see [MDL-81509](https://tracker.moodle.org/browse/MDL-81509)

### core_backup

Expand All @@ -43,6 +49,14 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt

For more information see [MDL-66873](https://tracker.moodle.org/browse/MDL-66873)

### core_courseformat

#### Added

- Add core_courseformat\base::invalidate_all_session_caches to reset course editor cache for all users when course is changed. This method can be used as an alternative to core_courseformat\base::session_cache_reset for resetting the cache for the current user in case the change in the course should be reflected for all users.

For more information see [MDL-83185](https://tracker.moodle.org/browse/MDL-83185)

### core_enrol

#### Changed
Expand Down Expand Up @@ -84,6 +98,14 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt

For more information see [MDL-78118](https://tracker.moodle.org/browse/MDL-78118)

### gradereport_grader

#### Deprecated

- The method `gradereport_grader::get_right_avg_row()` has been finally deprecated and will now throw an exception if called.

For more information see [MDL-78890](https://tracker.moodle.org/browse/MDL-78890)

### mod_feedback

#### Deprecated
Expand Down
8 changes: 8 additions & 0 deletions course/format/UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# core_courseformat (subsystem / plugintype) Upgrade notes

## 5.0dev

### Added

- Add core_courseformat\base::invalidate_all_session_caches to reset course editor cache for all users when course is changed. This method can be used as an alternative to core_courseformat\base::session_cache_reset for resetting the cache for the current user in case the change in the course should be reflected for all users.

For more information see [MDL-83185](https://tracker.moodle.org/browse/MDL-83185)

## 4.5

### Added
Expand Down
8 changes: 8 additions & 0 deletions grade/report/grader/UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# gradereport_grader Upgrade notes

## 5.0dev

### Deprecated

- The method `gradereport_grader::get_right_avg_row()` has been finally deprecated and will now throw an exception if called.

For more information see [MDL-78890](https://tracker.moodle.org/browse/MDL-78890)

## 4.5

### Deprecated
Expand Down
6 changes: 6 additions & 0 deletions lib/UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

### Changed

- The {user_preferences}.value database field is now TEXT instead of CHAR. This means that any queries with a condition on this field in a WHERE or JOIN statement will need updating to use `$DB->sql_compare_text()`. See the `$newusers` query in `\core\task\send_new_users_password_task::execute` for an example.

For more information see [MDL-46739](https://tracker.moodle.org/browse/MDL-46739)
- All uses of the following PHPUnit methods have been removed as these methods are
deprecated upstream without direct replacement:

Expand All @@ -26,6 +29,9 @@
- moodle_process_email() has been deprecated with the removal of the unused and non-functioning admin/process_email.php.

For more information see [MDL-61232](https://tracker.moodle.org/browse/MDL-61232)
- Final deprecation of methods `task_base::is_blocking` and `task_base::set_blocking`.

For more information see [MDL-81509](https://tracker.moodle.org/browse/MDL-81509)

## 4.5

Expand Down

0 comments on commit 093a203

Please sign in to comment.