Skip to content

Commit

Permalink
[docs] course format update note
Browse files Browse the repository at this point in the history
Add an upgrade note about all YUI and 3.11 course format deprecation in
Moodle 5.0
  • Loading branch information
ferranrecio committed Jan 13, 2025
1 parent f297f41 commit 467aa12
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/devupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,13 @@ $activity-icon-interactivecontent-bg: #c70827;
```

:::

## Course formats

<Since version="5.0" issueNumber="MDL-83527" />

All course formats created for Moodle versions prior to 4.0, which still depend on the 3.11 libraries, will be deprecated starting from Moodle 5.0 and will no longer function in Moodle 6.0. We are discontinuing the use of YUI for course editing and transitioning the course display logic to output classes.

You can determine if your course format is impacted by this change by examining the `lib.php` file within your plugin directory. If the format class does not override the `supports_components` method, or if the method returns `false`, it indicates that the course format relies on the deprecated YUI libraries and requires updating.

To ensure a smooth transition, we have documented the migration process in detail. Please refer to the [migration guide](./apis/plugintypes/format/migration.md) for comprehensive instructions on updating your course formats to be compatible with the latest Moodle standards.

0 comments on commit 467aa12

Please sign in to comment.