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 Oct 25, 2024
1 parent 1ca3f89 commit 144a9fa
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
27 changes: 27 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,33 @@ More detailed information on key changes can be found in the [Developer update n

The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com).

## 5.0dev

### core

#### Changed

- All uses of the following PHPUnit methods have been removed as these methods are
deprecated upstream without direct replacement:

- `withConsecutive`
- `willReturnConsecutive`
- `onConsecutive`

Any plugin using these methods must update their uses.

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

### core_enrol

#### Changed

- The `after_user_enrolled` hook now contains a `roleid` property to allow for listeners to determine which role was assigned during user enrolment (if any)

The base enrolment `enrol_plugin::send_course_welcome_message_to_user` method also now accepts a `$roleid` parameter in order to correctly populate the `courserole` placeholder

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

## 4.5

### core
Expand Down
12 changes: 12 additions & 0 deletions enrol/UPGRADING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# core_enrol (subsystem / plugintype) Upgrade notes

## 5.0dev

### Changed

- The `after_user_enrolled` hook now contains a `roleid` property to allow for listeners to determine which role was assigned during user enrolment (if any)

The base enrolment `enrol_plugin::send_course_welcome_message_to_user` method also now accepts a `$roleid` parameter in order to correctly populate the `courserole` placeholder

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

15 changes: 15 additions & 0 deletions lib/UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# core (subsystem) Upgrade notes

## 5.0dev

### Changed

- All uses of the following PHPUnit methods have been removed as these methods are
deprecated upstream without direct replacement:

- `withConsecutive`
- `willReturnConsecutive`
- `onConsecutive`

Any plugin using these methods must update their uses.

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

## 4.5

### Added
Expand Down

0 comments on commit 144a9fa

Please sign in to comment.