Skip to content

5.0.0

Choose a tag to compare

@SoraMakes SoraMakes released this 03 Dec 20:56
· 64 commits to main since this release

Added:

  • Support for Moodle 4.5
  • calculate md5 hashes for releases and attach them to the releases

Changed:

  • use transaction instead of deleting the empty course
  • refactor list of compatible moodle and php versions to a separate machine-readable file plugin_compatibility.json and use it's content to populate the pipelines execution matrix
  • refactoring (in particular: using repository pattern, dependency injection, using namespaced external api classes, removed cm_completion_details backport, code cleanup, refactored tests to remove all legacy testing and mocking code, avoid Mockery alias/overload whereever possible to speed up tests and simpify debugging)

Deprecated:

Removed:

  • Restriction on create_course_cat_and_assign_user_role preventing to add a user to an existing course cat
  • Leftover seeding code

Fixed:

  • Support for Moodle 4.1, 4.2 and 4.3
  • seed code
  • dev scripts load_test.py, prepare_for_ea.py, seed.php
  • Empty course in some cases if course restore failed on upload_course API endpoint
  • upgrade logic for old (authoring tool 2.1.7) courses uploaded via upload_course api did not work correctly

Security:

  • added permission check to get_elemetn_ids_by_uuids api endpoint