MDL-83351 upgradenotes: Clarify upgrade notes

This commit is contained in:
Andrew Nicols
2024-10-03 23:01:31 +08:00
parent 0eacab846e
commit 1d88b57bba
116 changed files with 446 additions and 529 deletions
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-64148
notes:
core:
- message: >-
Add `\core_user::get_name_placeholders()` to return an array of user name fields.
A new method, `\core_user::get_name_placeholders()`, has been added to return an array of user name fields.
type: improved
+6 -6
View File
@@ -10,10 +10,10 @@ notes:
`SessionHandlerInterface`, and override methods as required.
The following methods in `\core\session\manager` have been deprecated:
| Old method name | New method name |
| --- | --- |
| `kill_all_sessions` | `destroy_all` |
| `kill_session` | `destroy` |
| `kill_sessions_for_auth_plugin` | `destroy_by_auth_plugin` |
| `kill_user_sessions` | `destroy_user_sessions` |
| Old method name | New method name |
| --- | --- |
| `kill_all_sessions` | `destroy_all` |
| `kill_session` | `destroy` |
| `kill_sessions_for_auth_plugin` | `destroy_by_auth_plugin` |
| `kill_user_sessions` | `destroy_user_sessions` |
type: improved
+3 -3
View File
@@ -5,7 +5,7 @@ notes:
The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\core_component` | `\core\component` |
| Old class name | New class name |
| --- | --- |
| `\core_component` | `\core\component` |
type: improved
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-67554
notes:
tool_oauth2:
- message: >
The `get_additional_login_parameters()` method now supports adding the
The `\core\oautuh2\client::get_additional_login_parameters()` method now supports adding the
language code to the authentication request so that the OAuth2 login
page matches the language in Moodle.
type: improved
+1 -1
View File
@@ -1,7 +1,7 @@
issueNumber: MDL-70983
notes:
core_badges:
- message: Final removal of `BADGE_BACKPACKAPIURL` and `BADGE_BACKPACKWEBURL`.
- message: Final removal of `BADGE_BACKPACKAPIURL` and `BADGE_BACKPACKWEBURL` constants.
type: removed
- message: The `OPEN_BADGES_V1` constant is deprecated and should not be used anymore.
type: deprecated
+7 -8
View File
@@ -2,13 +2,12 @@ issueNumber: MDL-71326
notes:
core:
- message: >+
- Final deprecation and removal of the following functions:
- `plagiarism_plugin::get_configs()`
- `plagiarism_plugin::get_file_results()`
- `plagiarism_plugin::update_status()`, please use `{plugin name}_before_standard_top_of_body_html` instead.
- Final deprecation and removal of `plagiarism_get_file_results()`.
Please use `plagiarism_get_links()` instead.
- Final deprecation and removal of `plagiarism_update_status()`. Please
use `{plugin name}_before_standard_top_of_body_html()` instead.
- The following methods have been finally deprecated and removed:
- `\plagiarism_plugin::get_configs()`
- `\plagiarism_plugin::get_file_results()`
- `\plagiarism_plugin::update_status()`, please use `{plugin name}_before_standard_top_of_body_html` instead.
- Final deprecation and removal of `\plagiarism_get_file_results()`. Please use `\plagiarism_get_links()` instead.
- Final deprecation and removal of `\plagiarism_update_status()`. Please use `\{plugin name}_before_standard_top_of_body_html()` instead.
type: deprecated
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-71748
notes:
core:
- message: >
The previously deprecated function `core_text::reset_caches()` has been removed and can no longer be used.
The previously deprecated function `\core_text::reset_caches()` has been removed and can no longer be used.
type: removed
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core_user:
- message: >-
New `\core_user\hook\extend_user_menu` hook added to allow third party
plugin to extend the user menu navigation
plugins to extend the user menu navigation.
type: improved
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-72353
notes:
report:
- message: >-
The previously deprecated `report_helper::save_selected_report` method has been removed and can no longer be used
The previously deprecated `\core\report_helper::save_selected_report()` method has been removed and can no longer be used.
type: removed
+2 -2
View File
@@ -5,7 +5,7 @@ notes:
Category lists are now generated by templates.
The following classes have been deprecated:
- `question_category_list`
- `\qbank_managecategories\question_category_list`
- `question_category_list_item`
- `\qbank_managecategories\question_category_list_item`
type: deprecated
+20 -14
View File
@@ -2,21 +2,27 @@ issueNumber: MDL-72397
notes:
qbank_managecategories:
- message: >
The methods in the `question_category_object` class that are still
required following this change have been split between
`\qbank_managecategories\question_categories` (for the parts used within
this plugin for display a list of categories) and
`\core_question\category_manager` (for the parts used for generate CRUD
operations on question categories, including outside of this plugin).
This will allow `question_category_object` to be deprecated, and avoids
The `\qbank_managecategories\question_category_object` class has been deprecated.
Methods previously part of this class have been moved to either
- `\qbank_managecategories\question_categories`,
for the parts used within this plugin for display a list of categories; or
`\core_question\category_manager`,
for the parts used for generate CRUD operations on question categories, including outside of this plugin.
This change will allow `\qbank_managecategories\question_category_object` to be deprecated, and avoids
other parts of the system wishing to manipulate question categories from
having to violate cross-component communication rules.
type: changed
- message: >
The methods `question_is_only_child_of_top_category_in_context`,
`question_is_top_category` and `question_can_delete_cat` from
`qbank_managecategories\helper` class have been deprecated and moved to
the `\core_question\category_manager` class, minus the misleading
`question_` prefix. Following the creation of this class, it does not
make sense for them to live inside the `qbank_managecategories` plugin.
- message: |
The following methods of `\qbank_managecategories\helper`have been deprecated and moved to
`\core_question\category_manager`:
| Method | Replacement |
| --- | --- |
| `question_is_only_child_of_top_category_in_context` | `\core_question\category_manager::is_only_child_of_top_category_in_context` |
| `question_is_top_category` | `\core_question\category_manager::is_top_category` |
| `question_can_delete_cat` | `\core_question\category_manager::can_delete_cat` |
type: deprecated
+5 -5
View File
@@ -2,16 +2,16 @@ issueNumber: MDL-72397
notes:
qbank_managecategories:
- message: >
`qbank_managecategories\question_category_object` is now completely
`\qbank_managecategories\question_category_object` is now completely
deprecated. Its methods have either been migrated to
`qbank_managecategories\question_categories`,
`core_question\category_manager`, or are no longer used at all.
`\qbank_managecategories\question_categories`,
`\core_question\category_manager`, or are no longer used at all.
type: deprecated
core:
- message: >
`moodle_list` and `list_item` were only used by
`\moodle_list` and `\list_item` were only used by
`qbank_managecategories`, and these usages have been removed, so
these classes (and thus all of listlib.php) are now deprecated.
these classes, and the `lib/listlib.php` file have now been deprecated.
This method was the only usage of the `QUESTION_PAGE_LENGTH`
constant, which was defined in `question_category_object.php`,
and so is also now deprecated.
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-72424
notes:
mod_feedback:
- message: >-
The `feedback_check_is_switchrole` method has been deprecated as it
didn't work
The `\feedback_check_is_switchrole()` function has been deprecated as it
didn't work.
type: deprecated
+2 -2
View File
@@ -5,7 +5,7 @@ notes:
The following previously deprecated methods have been removed and can no
longer be used:
- `can_import_skydrive_files`
- `\repository_onedrive::can_import_skydrive_files()`
- `import_skydrive_files`
- `\repository_onedrive::import_skydrive_files()`
type: removed
+2 -2
View File
@@ -5,7 +5,7 @@ notes:
The following deprecated methods in `report_eventlist_list_generator` have
been removed:
- `get_core_events_list()`
- `\report_eventlist_list_generator::get_core_events_list()`
- `get_non_core_event_list()`
- `\report_eventlist_list_generator::get_non_core_event_list()`
type: deprecated
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core:
- message: >
The following previously deprecated methods have been removed and can no longer be used:
- `renderer_base::should_display_main_logo`
- `\renderer_base::should_display_main_logo()`
type: removed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-73284
notes:
core_message:
- message: Final deprecation `MESSAGE_DEFAULT_LOGGEDOFF` / `MESSAGE_DEFAULT_LOGGEDIN`.
- message: Final deprecation of the `MESSAGE_DEFAULT_LOGGEDOFF`, and `MESSAGE_DEFAULT_LOGGEDIN` constants.
type: removed
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-73976
notes:
core_course:
- message: >-
The previously deprecated `print_course_request_buttons` method has been
removed and can no longer be used
The previously deprecated `\print_course_request_buttons()` method has been
removed and can no longer be used.
type: removed
+1 -1
View File
@@ -4,5 +4,5 @@ notes:
- message: >
A new web service called `mod_assign_remove_submission` has been created
to remove the submission for a specific user ID and assignment activity
ID
ID.
type: improved
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
theme:
- message: >-
Removed all references to `iconhelp`, `icon-pre`, `icon-post`, `iconlarge`, and
`iconsort` classes
`iconsort` CSS classes.
type: removed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-74484
notes:
core:
- message: Final deprecation of `print_error()`. Use `moodle_exception` instead.
- message: Final deprecation of `\print_error()`. Please use the `\moodle_exception` class instead.
type: removed
+2 -2
View File
@@ -4,6 +4,6 @@ notes:
- message: >
The following previously deprecated Behat step helper methods have been
removed and can no longer be used:
- `behat_grade::select_in_gradebook_navigation_selector`
- `behat_grade::select_in_gradebook_tabs`
- `\behat_grade::select_in_gradebook_navigation_selector()`
- `\behat_grade::select_in_gradebook_tabs()`
type: removed
+6 -6
View File
@@ -2,17 +2,17 @@ issueNumber: MDL-74583
notes:
core_reportbuilder:
- message: >-
Support for the following entity classes, renamed since 4.1, has now
Support for the following entity classes, renamed since 4.1, have now
been removed completely:
- `core_admin\local\entities\task_log`
- `\core_admin\local\entities\task_log`
- `core_cohort\local\entities\cohort`
- `\core_cohort\local\entities\cohort`
- `core_cohort\local\entities\cohort_member`
- `\core_cohort\local\entities\cohort_member`
- `core_course\local\entities\course_category`
- `\core_course\local\entities\course_category`
- `report_configlog\local\entities\config_change`
- `\report_configlog\local\entities\config_change`
type: removed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-74843
notes:
core:
- message: 'Final deprecation of `\core\task\manager::ensure_adhoc_task_qos()`'
- message: 'Final deprecation of `\core\task\manager::ensure_adhoc_task_qos()`.'
type: removed
+2 -3
View File
@@ -2,7 +2,6 @@ issueNumber: MDL-74939
notes:
core:
- message: >-
Support for deprecated `<component>\local\views\secondary`
block/activity namespace, for overriding secondary navigation, is now
entirely removed
Support for the deprecated block and activity namespaces `<component>\local\views\secondary`,
which supported the overriding of secondary navigation, has now been entirely removed.
type: removed
+1 -3
View File
@@ -2,7 +2,5 @@ issueNumber: MDL-75022
notes:
core_backup:
- message: >-
Final deprecation and removal of `core_backup\copy\copy` in
`backup/util/ui/classes/copy.php`. Please use `copy_helper` from
`backup/util/helper/copy_helper.class.php` instead.
The `\core_backup\copy\copy` class has been deprecated and removed. Please use `\copy_helper` instead.
type: removed
+7 -2
View File
@@ -1,6 +1,11 @@
issueNumber: MDL-75025
notes:
core_backup:
- message: 'Final deprecation of `base_controller::set_copy()`. Please use a restore
controller for storing copy information instead.'
- message: |
The following methods in the `\base_controller` class have been removed:
| Method | Replacement |
| --- | --- |
| `\base_controller::set_copy()` | Use a restore controller for storing copy information instead. |
| `\base_controller::get_copy()` | `\restore_controller::get_copy()` |
type: removed
+2 -2
View File
@@ -3,6 +3,6 @@ notes:
core_reportbuilder:
- message: >
The following previously deprecated local helper methods have been removed and can no longer be used:
- `audience::get_all_audiences_menu_types`
- `report::get_available_columns`
- `\core_reportbuilder\local\helpers\audience::get_all_audiences_menu_types()`
- `\core_reportbuilder\local\helpers\report::get_available_columns()`
type: removed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-77167
notes:
core:
- message: Remove deprecation layer for YUI Events. The deprecation layer was introduced with MDL-70990 and MDL-72291.
- message: Remove deprecation layer for YUI JS Events. The deprecation layer was introduced with MDL-70990 and MDL-72291.
type: removed
+3 -2
View File
@@ -2,6 +2,7 @@ issueNumber: MDL-78030
notes:
core_user:
- message: >-
The `participants_search::get_total_participants_count()` is no longer
used since the total count can be obtained from `::get_participants()`
The `\core_user\table\participants_search::get_total_participants_count()` is no longer
used since the total count can be obtained from
`\core_user\table\participants_search::get_participants()`.
type: deprecated
+6 -6
View File
@@ -2,16 +2,16 @@ issueNumber: MDL-78030
notes:
core:
- message: |
Two new functions have been introduced in the \moodle_database class:
- `get_counted_records_sql()`
- `get_counted_recordset_sql()`
Two new functions have been introduced in the `\moodle_database` class:
- `\moodle_database::get_counted_records_sql()`
- `\moodle_database::get_counted_recordset_sql()`
These methods are compatible with all databases.
They will check the current running database engine and apply the COUNT window function if it is supported,
otherwise, they will use the usual COUNT function.
They will check the current running database engine and apply the `COUNT` window function if it is supported,
otherwise, they will use the usual `COUNT` function.
The COUNT window function optimization is applied to the following databases:
The `COUNT` window function optimization is applied to the following databases:
- PostgreSQL
- MariaDB
- Oracle
+5 -2
View File
@@ -2,6 +2,9 @@ issueNumber: MDL-78293
notes:
core_user:
- message: >
The visibility of the methods: `check_access_for_dynamic_submission()` and `get_options()`
in `\core_user\form\private_files` has been changed from protected to public.
The visibility of the following methods have been increased to public:
- `\core_user\form\private_files::check_access_for_dynamic_submission()`
- `\core_user\form\private_files::get_options()`
type: changed
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-78662
notes:
core_question:
- message: >
A new utility function `format_question_fragment` has been created so
A new utility function `\question_utils::format_question_fragment()` has been created so
that question content can filter based on filters.
type: improved
+2 -2
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-78773
notes:
report:
- message: >
The `report_helper::print_report_selector` method accepts an additional
The `\core\report_helper::print_report_selector()` method accepts a new `$additional``
argument for adding content to the tertiary navigation to align with the
report selector
report selector.
type: changed
+6 -3
View File
@@ -1,7 +1,10 @@
issueNumber: MDL-79546
notes:
quiz:
- message: >-
The functions `quiz_overview_report::regrade_attempts` and `regrade_batch_of_attempts` now
have a new optional parameter $slots to only regrade some slots in each attempt (default all).
- message: >+
The following methods of the `quiz_overview_report` class now take a new optional `$slots` parameter used to only regrade some slots in each attempt (default all):
- `\quiz_overview_report::regrade_attempts()`
- `\quiz_overview_report::regrade_batch_of_attempts()`
type: improved
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-79628
notes:
core:
- message: >-
The `navigation_cache` class now uses the Moodle Universal Cache (MUC) to store the navigation cache data instead of storing
The `\navigation_cache` class now uses the Moodle Universal Cache (MUC) to store the navigation cache data instead of storing
it in the global `$SESSION` variable.
type: fixed
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-79628
notes:
core:
- message: >-
The `$timeout` property of the `navigation_cache` class has been deprecated.
The `$timeout` property of the `\navigation_cache` class has been deprecated.
type: deprecated
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-80741
notes:
mod_assign:
- message: >
The default option "Never" for `attemptreopenmethod` setting, which
The default option "Never" for the `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.
+6 -6
View File
@@ -3,18 +3,18 @@ notes:
core_grades:
- message: >-
The behat step definition
`behat_grade::i_confirm_in_search_within_the_gradebook_widget_exists` has
`\behat_grade::i_confirm_in_search_within_the_gradebook_widget_exists()` has
been deprecated. Please use
`behat_general::i_confirm_in_search_combobox_exists` instead.
`\behat_general::i_confirm_in_search_combobox_exists()` instead.
type: deprecated
- message: >-
The behat step definition
`behat_grade::i_confirm_in_search_within_the_gradebook_widget_does_not_exist`
`\behat_grade::i_confirm_in_search_within_the_gradebook_widget_does_not_exist()`
has been deprecated. Please use
`behat_general::i_confirm_in_search_combobox_does_not_exist` instead.
`\behat_general::i_confirm_in_search_combobox_does_not_exist()` instead.
type: deprecated
- message: >-
The behat step definition `behat_grade::i_click_on_in_search_widget` has
been deprecated. Please use `behat_general::i_click_on_in_search_combobox`
The behat step definition `\behat_grade::i_click_on_in_search_widget()` has
been deprecated. Please use `\behat_general::i_click_on_in_search_combobox()`
instead.
type: deprecated
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-80745
notes:
core_grades:
- message: >
The `core_grades_renderer::group_selector()` method has been deprecated.
The `\core_grades_renderer::group_selector()` method has been deprecated.
Please use `\core_course\output\actionbar\renderer` to render a
`group_selector` renderable instead.
type: deprecated
+1 -1
View File
@@ -3,7 +3,7 @@ notes:
core:
- message: >
The `\core\output\select_menu` widget now supports rendering dividers
between menu options. Empty elements (null or empty strings) within the
between menu options. Empty elements (`null` or empty strings) within the
array of options are considered and rendered as dividers in the dropdown
menu.
type: improved
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-80747
notes:
core:
- message: >
The `core\output\select_menu` widget now supports a new feature: inline
The `\core\output\select_menu` widget now supports a new feature: inline
labels. You can render the label inside the combobox widget by passing
`true` to the `$inlinelabel` parameter when calling the `->set_label()`
method.
+1 -1
View File
@@ -3,7 +3,7 @@ notes:
core_table:
- message: >+
A new `$reponsive` property (defaulting to `true`) has been added to the
`core_table\flexible_table` class.
`\core_table\flexible_table` class.
This property allows you to control whether the table is rendered as a
responsive table.
+4 -4
View File
@@ -2,18 +2,18 @@ issueNumber: MDL-80750
notes:
mod_assign:
- message: >
A new method named `get_grading_batch_operation_details` has been added
A new method, `\assign_feedback_plugin::get_grading_batch_operation_details()`, has been added
to the `assign_feedback_plugin` abstract class. Assignment feedback
plugins can now override this method to define bulk action buttons that
will appear in the sticky footer on the assignment grading page.
type: improved
- message: >
The `assign_feedback_plugin::get_grading_batch_operations` method is now
The `\assign_feedback_plugin::get_grading_batch_operations()` method is now
deprecated. Use
`assign_feedback_plugin::get_grading_batch_operation_details` instead.
type: deprecated
- message: >
The `assign_grading_table::plugingradingbatchoperations` property is
The `\assign_grading_table::plugingradingbatchoperations` property has been
removed. You can use
`assign_feedback_plugin::get_grading_batch_operation_details` instead.
`\assign_feedback_plugin::get_grading_batch_operation_details()` instead.
type: deprecated
+1 -1
View File
@@ -3,6 +3,6 @@ notes:
mod_assign:
- message: >
The `$submissionpluginenabled` and `$submissioncount` parameters from
the constructor of the `mod_assign\output::grading_actionmenu` class
the constructor of the `\mod_assign\output::grading_actionmenu` class
have been deprecated.
type: deprecated
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-80890
notes:
core:
- message: >
A new hook called `core\hook\output\after_http_headers` has been
A new hook called `\core\hook\output\after_http_headers` has been
created. This hook allow plugins to modify the content after headers are
sent.
type: improved
+7 -4
View File
@@ -2,8 +2,11 @@ issueNumber: MDL-80962
notes:
factor_sms:
- message: >
The following classes are removed as the SMS feature now takes advantage of core_sms API:
- sms_sent (admin/tool/mfa/factor/sms/classes/event/sms_sent.php)
- aws_sns (admin/tool/mfa/factor/sms/classes/local/smsgateway/aws_sns.php)
- gateway_interface (admin/tool/mfa/factor/sms/classes/local/smsgateway/gateway_interface.php)
The following classes are removed as the SMS feature now takes advantage of `core_sms` API:
- `\factor_sms\event\sms_sent`
- `\factor_sms\local\smsgateway\aws_sns`
- `\factor_sms\local\smsgateway\gateway_interface`
type: removed
+6 -3
View File
@@ -3,7 +3,10 @@ notes:
core:
- message: >
The following classes are deprecated as they are handled by core_sms API and smsgateway_aws plugin:
- admin_settings_aws_region (lib/classes/aws/admin_settings_aws_region.php)
- aws_helper (lib/classes/aws/aws_helper.php)
- client_factory (lib/classes/aws/client_factory.php)
- `\core\aws\admin_settings_aws_region`
- `\core\aws\aws_helper`
- `\core\aws\client_factory`
type: deprecated
+3 -5
View File
@@ -5,9 +5,7 @@ notes:
The following classes have been renamed.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\core_user` | `\core\user` |
| Old class name | New class name |
| --- | --- |
| `\core_user` | `\core\user` |
type: improved
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-81274
notes:
mod_data:
- message: >-
The `data_add_record` method accepts a new `$approved` parameter to set the corresponding state of the new record
The `\data_add_record()` method accepts a new `$approved` parameter to set the corresponding state of the new record.
type: improved
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core:
- message: >-
New DML constant `SQL_INT_MAX` to define the size of a large integer
with cross database platform support
with cross database platform support.
type: improved
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-81321
notes:
mod_data:
- message: >-
The `mod_data_renderer::render_fields_footer` method has been deprecated
as it's no longer used
The `\mod_data_renderer::render_fields_footer()` method has been deprecated
as it's no longer used.
type: deprecated
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-81330
notes:
core_reportbuilder:
- message: >
The base datasource `add_all_from_entities` method accepts a new optional parameter to specify which entities to add elements from
The base datasource `\core_reportbuilder\datasource::add_all_from_entities()` method accepts a new optional `array $entitynames` parameter to specify which entities to add elements from.
type: changed
@@ -1,8 +1,8 @@
issueNumber: MDL-81125
issueNumber: MDL-81407
notes:
core_question:
- message: >
`column_base::from_column_name` now has an `$ignoremissing` parameter, which can
`\core_question\local\bank\column_base::from_column_name()` method now accepts a `bool $ingoremissing` parameter, which can
be used to ignore if the class does not exist, instead of throwing an
exception.
type: changed
+4 -4
View File
@@ -2,11 +2,11 @@ issueNumber: MDL-81428
notes:
core_message:
- message: >
The `\core_message\helper::togglecontact_link_params` now accepts a new
optional param called `isrequested` to indicate the status of the
contact request
The `\core_message\helper::togglecontact_link_params()` method now accepts a new
optional `$isrequested` parameter to indicate the status of the
contact request.
type: changed
- message: >
The `core_message/remove_contact_button` template is deprecated and will
be removed in the future version
be removed in a future release.
type: deprecated
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-81434
notes:
core_reportbuilder:
- message: |2
Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression
Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression.
type: improved
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-81523
notes:
core:
- message: >
All the setup and tear down methods of `PHPUnit` now are required to,
All the `setUp()` and `tearDown()` methods of `PHPUnit` now are required to,
always, call to their parent counterparts. This is a good practice to
avoid future problems, especially when updating to PHPUnit >= 10.
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
editor_tiny:
- message: >-
The `helplinktext` language string is no longer required by editor
plugins, instead the `pluginname` will be used in the help dialogue
plugins, instead the `pluginname` will be used in the help dialogue.
type: changed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81597
notes:
output:
- message: 'Added a new `renderer_base::get_page` getter method'
- message: 'Added a new `\renderer_base::get_page` getter method.'
type: improved
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81597
notes:
theme:
- message: New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header
- message: New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header.
type: improved
+3 -1
View File
@@ -1,11 +1,13 @@
issueNumber: MDL-81675
notes:
core_course:
- message: >-
- message: >+
- New optional `sectionNum` parameter has been added to `activitychooser`
AMD module initializer.
- New option `sectionnum` parameter has been added to
`get_course_content_items()` external function.
- New optional `sectionnum` parameter has been added to
`get_content_items_for_user_in_course()` function.
type: improved
+2 -2
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-81699
notes:
core_course:
- message: >
Webservices `core_course_get_courses_by_field` now accepts a new
The `core_course_get_courses_by_field` web service now accepts a new
parameter `sectionid` to be able to retrieve the course that has the
indicated section
indicated section.
type: improved
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-81742
notes:
mod_feedback:
- message: >-
The method `mod_feedback\output\renderer::create_template_form()` has
The method `\mod_feedback\output\renderer::create_template_form()` has
been deprecated. It is not used anymore.
type: deprecated
+3 -2
View File
@@ -2,7 +2,8 @@ issueNumber: MDL-81749
notes:
core_completion:
- message: >-
`get_overall_completion_state()` function could also return
The `\core_completion\activity_custom_completion::get_overall_completion_state()` method
can now also return
`COMPLETION_COMPLETE_FAIL` and not only `COMPLETION_COMPLETE` and
`COMPLETION_INCOMPLETE`
`COMPLETION_INCOMPLETE`.
type: changed
+1 -1
View File
@@ -8,5 +8,5 @@ notes:
type: improved
- message: >-
New `\core_course\hook\before_activitychooserbutton_exported` hook added
to allow third-party plugins to extend activity chooser button options
to allow third-party plugins to extend activity chooser button options.
type: improved
+1 -1
View File
@@ -7,6 +7,6 @@ notes:
type: improved
core_courseformat:
- message: >-
Added new `create_module` webservice to create new module (with
Added new `core_courseformat_create_module` webservice to create new module (with
quickcreate feature) instances in the course.
type: improved
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81771
notes:
core_report:
- message: Report has been added to subsystem components list
- message: Report has been added to subsystem components list.
type: improved
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81771
notes:
core_report:
- message: New `coursestructure` output general class has been created
- message: A new general output class, `\core_report\output\coursestructure`, has been created.
type: improved
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-81781
notes:
core:
- message: >
The `\core\dataformat::get_format_instance` method is now public, and
can be used to retrieve a writer instance for a given dataformat
The `\core\dataformat::get_format_instance()` method is now public, and
can be used to retrieve a writer instance for a given dataformat.
type: changed
+3 -3
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-81850
notes:
availability:
- message: >-
The base class `info::get_groups` method has a `$userid` parameter to
specify for which user you want to retrieve course groups (defaults to
current user)
The base class `\core_availability\info::get_groups()` method now accepts a `$userid` parameter to
specify which user you want to retrieve course groups (defaults to
current user).
type: changed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81903
notes:
core:
- message: Added an `exception` L2 Namespace to APIs
- message: Added a new `exception` L2 Namespace to APIs.
type: improved
+6 -7
View File
@@ -1,12 +1,11 @@
issueNumber: MDL-81920
notes:
core:
- message: >
The following classes have been moved into the `\core` namespace and now
support autoloading:
- message: |
The following classes are now also available in the `\core\` namespace and support autoloading:
- `emoticon_manager`
- `lang_string`
| Old class name | New class name |
| --- | --- |
| `\emoticon_manager` | `\core\emoticon_manager` |
| `\lang_string` | `\core\lang_string` |
type: improved
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81924
notes:
core_sms:
- message: A new `\core_sms` subsystem has been created
- message: A new `\core_sms` subsystem has been created.
type: improved
+4 -4
View File
@@ -3,12 +3,12 @@ notes:
core:
- message: >-
The following methods have been deprecated, existing usage should switch
to secure `\core\encryption` library:
to use the secure `\core\encryption::encrypt()` and `\core\encryption::decrypt()` static methods:
- `rc4encrypt`
- `\rc4encrypt()`
- `rc4decrypt`
- `\rc4decrypt()`
- `endecrypt`
- `\endecrypt()`
type: deprecated
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-81951
notes:
core_communication:
- message: >-
The `get_enrolled_users_for_course()` method now accepts an additional
The `\core_communication\helper::get_enrolled_users_for_course()` method now accepts an additional
argument that can filter only active enrolments.
type: changed
+12 -22
View File
@@ -1,29 +1,19 @@
issueNumber: MDL-81960
notes:
core:
- message: >-
- message: |
The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\moodle_url` | `\core\url` |
| `\progress_trace` | `\core\output\progress_trace` |
| `\combined_progress_trace` | `\core\output\progress_trace\combined_progress_trace` |
| `\error_log_progress_trace` | `\core\output\progress_trace\error_log_progress_trace` |
| `\html_list_progress_trace` | `\core\output\progress_trace\html_list_progress_trace` |
| `\html_progress_trace` | `\core\output\progress_trace\html_progress_trace` |
| `\null_progress_trace` | `\core\output\progress_trace\null_progress_trace` |
| `\progress_trace_buffer` | `\core\output\progress_trace\progress_trace_buffer` |
| `\text_progress_trace` | `\core\output\progress_trace\text_progress_trace` |
| Old class name | New class name |
| --- | --- |
| `\moodle_url` | `\core\url` |
| `\progress_trace` | `\core\output\progress_trace` |
| `\combined_progress_trace` | `\core\output\progress_trace\combined_progress_trace` |
| `\error_log_progress_trace` | `\core\output\progress_trace\error_log_progress_trace` |
| `\html_list_progress_trace` | `\core\output\progress_trace\html_list_progress_trace` |
| `\html_progress_trace` | `\core\output\progress_trace\html_progress_trace` |
| `\null_progress_trace` | `\core\output\progress_trace\null_progress_trace` |
| `\progress_trace_buffer` | `\core\output\progress_trace\progress_trace_buffer` |
| `\text_progress_trace` | `\core\output\progress_trace\text_progress_trace` |
type: improved
+5 -4
View File
@@ -1,13 +1,14 @@
issueNumber: MDL-82041
notes:
core_reportbuilder:
- message: >-
All time related code has been updated to the PSR-20 Clock interface, as
- message: >
All time-related code has been updated to the PSR-20 Clock interface, as
such the following methods no longer accept a `$timenow` parameter
(instead please use `\core\clock` dependency injection):
- `core_reportbuilder_generator::create_schedule`
-
`core_reportbuilder\local\helpers\schedule::[create_schedule|calculate_next_send_time]`
- `core_reportbuilder\local\helpers\schedule::create_schedule()`
- `core_reportbuilder\local\helpers\schedule::calculate_next_send_time()`
type: changed
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-82066
notes:
core_user:
- message: >-
New `\core_user\hook\extend_default_homepage` hook added to allow
third-party plugins to extend the default homepage options for the site
A new hook, `\core_user\hook\extend_default_homepage`, has been added to allow
third-party plugins to extend the default homepage options for the site.
type: improved
+4 -4
View File
@@ -2,11 +2,11 @@ issueNumber: MDL-82066
notes:
core:
- message: >-
The `get_home_page()` method can now return new constant `HOMEPAGE_URL`,
The `\get_home_page()` function can now return new constant `HOMEPAGE_URL`,
applicable when a third-party hook has extended the default homepage
options for the site
options for the site.
A new method, `get_default_home_page_url()` has been added which will
return the correct URL when this constant is returned
A new function, `\get_default_home_page_url()` has been added which will
return the correct URL when this constant is returned.
type: changed
+6 -10
View File
@@ -1,16 +1,12 @@
issueNumber: MDL-82133
notes:
core_reportbuilder:
- message: >
- message: |
The following classes have been moved to use the new exception API as a L2 namespace:
| Old class | New class |
|-----------|-----------|
| `\core_reportbuilder\report_access_exception` | `\core_reportbuilder\exception\report_access_exception` |
| `\core_reportbuilder\source_invalid_exception` | `\core_reportbuilder\exception\source_invalid_exception` |
| `\core_reportbuilder\source_unavailable_exception` | `\core_reportbuilder\exception\source_unavailable_exception` |
| Old class | New class |
| ----------- | ----------- |
| `\core_reportbuilder\report_access_exception` | `\core_reportbuilder\exception\report_access_exception` |
| `\core_reportbuilder\source_invalid_exception` | `\core_reportbuilder\exception\source_invalid_exception` |
| `\core_reportbuilder\source_unavailable_exception` | `\core_reportbuilder\exception\source_unavailable_exception` |
type: changed
+9 -3
View File
@@ -1,7 +1,13 @@
issueNumber: MDL-82146
notes:
core_courseformat:
- message: >-
New `$disabled` parameter has been added to `select`, `select_optgroup` and
`select_option` html_writers to create disabled option elements.
- message: >
A new `$disabled` parameter has been added to the following `html_writer` methods:
- `\core\output\html_writer::select()`
- `\core\output\html_writer::select_optgroup()`
- `\core\output\html_writer::select_option()`
type: improved
+3 -2
View File
@@ -2,6 +2,7 @@ issueNumber: MDL-82146
notes:
report_log:
- message: >-
`get_activities_list()` function returns also an array of disabled
elements, apart from the array of activities.
The `\report_log_renderable::get_activities_list()` method return values
now includes an array of disabled
elements, in addition to the array of activities.
type: improved
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core:
- message: >-
The following method has been deprecated and should not be used any
longer: `print_grade_menu`.
longer: `\print_grade_menu()`.
type: deprecated
+34 -66
View File
@@ -1,75 +1,43 @@
issueNumber: MDL-82158
notes:
core_cache:
- message: >
- message: |
The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\cache_definition` | `\core_cache\definition` |
| `\cache_request` | `\core_cache\request_cache` |
| `\cache_session` | `\core_cache\session_cache` |
| `\cache_cached_object` | `\core_cache\cached_object` |
| `\cache_config` | `\core_cache\config` |
| `\cache_config_writer` | `\core_cache\config_writer` |
| `\cache_config_disabled` | `\core_cache\disabled_config` |
| `\cache_disabled` | `\core_cache\disabled_cache` |
| `\config_writer` | `\core_cache\config_writer` |
| `\cache_data_source` | `\core_cache\data_source_interface` |
| `\cache_data_source_versionable` | `\core_cache\versionable_data_source_interface` |
| `\cache_exception` | `\core_cache\exception/cache_exception` |
| `\cache_factory` | `\core_cache\factory` |
| `\cache_factory_disabled` | `\core_cache\disabled_factory` |
| `\cache_helper` | `\core_cache\helper` |
| `\cache_is_key_aware` | `\core_cache\key_aware_cache_interface` |
| `\cache_is_lockable` | `\core_cache\lockable_cache_interface` |
| `\cache_is_searchable` | `\core_cache\searchable_cache_interface` |
| `\cache_is_configurable` | `\core_cache\configurable_cache_interface` |
| `\cache_loader` | `\core_cache\loader_interface` |
| `\cache_loader_with_locking` | `\core_cache\loader_with_locking_interface` |
| `\cache_lock_interface` | `\core_cache\cache_lock_interface` |
| `\cache_store` | `\core_cache\store` |
| `\cache_store_interface` | `\core_cache\store_interface` |
| `\cache_ttl_wrapper` | `\core_cache\ttl_wrapper` |
| `\cacheable_object` | `\core_cache\cacheable_object_interface` |
| `\cacheable_object_array` | `\core_cache\cacheable_object_array` |
| `\cache_definition_mappings_form` | `\core_cache\form/cache_definition_mappings_form` |
| `\cache_definition_sharing_form` | `\core_cache\form/cache_definition_sharing_form` |
| `\cache_lock_form` | `\core_cache\form/cache_lock_form` |
| `\cache_mode_mappings_form` | `\core_cache\form/cache_mode_mappings_form` |
| Old class name | New class name |
| --- | --- |
| `\cache_definition` | `\core_cache\definition` |
| `\cache_request` | `\core_cache\request_cache` |
| `\cache_session` | `\core_cache\session_cache` |
| `\cache_cached_object` | `\core_cache\cached_object` |
| `\cache_config` | `\core_cache\config` |
| `\cache_config_writer` | `\core_cache\config_writer` |
| `\cache_config_disabled` | `\core_cache\disabled_config` |
| `\cache_disabled` | `\core_cache\disabled_cache` |
| `\config_writer` | `\core_cache\config_writer` |
| `\cache_data_source` | `\core_cache\data_source_interface` |
| `\cache_data_source_versionable` | `\core_cache\versionable_data_source_interface` |
| `\cache_exception` | `\core_cache\exception/cache_exception` |
| `\cache_factory` | `\core_cache\factory` |
| `\cache_factory_disabled` | `\core_cache\disabled_factory` |
| `\cache_helper` | `\core_cache\helper` |
| `\cache_is_key_aware` | `\core_cache\key_aware_cache_interface` |
| `\cache_is_lockable` | `\core_cache\lockable_cache_interface` |
| `\cache_is_searchable` | `\core_cache\searchable_cache_interface` |
| `\cache_is_configurable` | `\core_cache\configurable_cache_interface` |
| `\cache_loader` | `\core_cache\loader_interface` |
| `\cache_loader_with_locking` | `\core_cache\loader_with_locking_interface` |
| `\cache_lock_interface` | `\core_cache\cache_lock_interface` |
| `\cache_store` | `\core_cache\store` |
| `\cache_store_interface` | `\core_cache\store_interface` |
| `\cache_ttl_wrapper` | `\core_cache\ttl_wrapper` |
| `\cacheable_object` | `\core_cache\cacheable_object_interface` |
| `\cacheable_object_array` | `\core_cache\cacheable_object_array` |
| `\cache_definition_mappings_form` | `\core_cache\form/cache_definition_mappings_form` |
| `\cache_definition_sharing_form` | `\core_cache\form/cache_definition_sharing_form` |
| `\cache_lock_form` | `\core_cache\form/cache_lock_form` |
| `\cache_mode_mappings_form` | `\core_cache\form/cache_mode_mappings_form` |
type: improved
+6 -1
View File
@@ -1,5 +1,10 @@
issueNumber: MDL-82168
notes:
core_badges:
- message: New webservices `enable_badges` and `disable_badges` have been added.
- message: >
The following new webservices have been added:
- `core_badges_enable_badges`
- `core_badges_disable_badges`
type: improved
+62 -123
View File
@@ -1,130 +1,69 @@
issueNumber: MDL-82183
notes:
core:
- message: >
- message: |
The following classes are now also available in the following new
locations. They will continue to work in their old locations:
| Old classname | New classname |
| --- | --- |
| `\action_link` | `\core\output\action_link` |
| `\action_menu_filler` | `\core\output\action_menu\filler` |
| `\action_menu_link_primary` | `\core\output\action_menu\link_primary` |
| `\action_menu_link_secondary` | `\core\output\action_menu\link_secondary` |
| `\action_menu_link` | `\core\output\action_menu\link` |
| `\action_menu` | `\core\output\action_menu` |
| `\block_contents` | `\core_block\output\block_contents` |
| `\block_move_target` | `\core_block\output\block_move_target` |
| `\component_action` | `\core\output\actions\component_action` |
| `\confirm_action` | `\core\output\actions\confirm_action` |
| `\context_header` | `\core\output\context_header` |
| `\core\output\local\action_menu\subpanel` | `\core\output\action_menu\subpanel` |
| `\core_renderer_ajax` | `\core\output\core_renderer_ajax` |
| `\core_renderer_cli` | `\core\output\core_renderer_cli` |
| `\core_renderer_maintenance` | `\core\output\core_renderer_maintenance` |
| `\core_renderer` | `\core\output\core_renderer` |
| `\custom_menu_item` | `\core\output\custom_menu_item` |
| `\custom_menu` | `\core\output\custom_menu` |
| `\file_picker` | `\core\output\file_picker` |
| `\flexible_table` | `\core_table\flexible_table` |
| `\fragment_requirements_manager` | `\core\output\requirements\fragment_requirements_manager` |
| `\help_icon` | `\core\output\help_icon` |
| `\html_table_cell` | `\core_table\output\html_table_cell` |
| `\html_table_row` | `\core_table\output\html_table_row` |
| `\html_table` | `\core_table\output\html_table` |
| `\html_writer` | `\core\output\html_writer` |
| `\image_icon` | `\core\output\image_icon` |
| `\initials_bar` | `\core\output\initials_bar` |
| `\js_writer` | `\core\output\js_writer` |
| `\page_requirements_manager` | `\core\output\requirements\page_requirements_manager` |
| `\paging_bar` | `\core\output\paging_bar` |
| `\pix_emoticon` | `\core\output\pix_emoticon` |
| `\pix_icon_font` | `\core\output\pix_icon_font` |
| `\pix_icon_fontawesome` | `\core\output\pix_icon_fontawesome` |
| `\pix_icon` | `\core\output\pix_icon` |
| `\plugin_renderer_base` | `\core\output\plugin_renderer_base` |
| `\popup_action` | `\core\output\actions\popup_action` |
| `\preferences_group` | `\core\output\preferences_group` |
| `\preferences_groups` | `\core\output\preferences_groups` |
| `\progress_bar` | `\core\output\progress_bar` |
| `\renderable` | `\core\output\renderable` |
| `\renderer_base` | `\core\output\renderer_base` |
| `\renderer_factory_base` | `\core\output\renderer_factory\renderer_factory_base` |
| `\renderer_factory` | `\core\output\renderer_factory\renderer_factory_interface` |
| `\single_button` | `\core\output\single_button` |
| `\single_select` | `\core\output\single_select` |
| `\standard_renderer_factory` | `\core\output\renderer_factory\standard_renderer_factory` |
| `\table_dataformat_export_format` | `\core_table\dataformat_export_format` |
| `\table_default_export_format_parent` | `\core_table\base_export_format` |
| `\table_sql` | `\core_table\sql_table` |
| `\tabobject` | `\core\output\tabobject` |
| `\tabtree` | `\core\output\tabtree` |
| `\templatable` | `\core\output\templatable` |
| `\theme_config` | `\core\output\theme_config` |
| `\theme_overridden_renderer_factory` | `\core\output\renderer_factory\theme_overridden_renderer_factory` |
| `\url_select` | `\core\output\url_select` |
| `\user_picture` | `\core\output\user_picture` |
| `\xhtml_container_stack` | `\core\output\xhtml_container_stack` |
| `\YUI_config` | `\core\output\requirements\yui` |
| Old classname | New classname |
| --- | --- |
| `\action_link` | `\core\output\action_link` |
| `\action_menu_filler` | `\core\output\action_menu\filler` |
| `\action_menu_link_primary` | `\core\output\action_menu\link_primary` |
| `\action_menu_link_secondary` | `\core\output\action_menu\link_secondary` |
| `\action_menu_link` | `\core\output\action_menu\link` |
| `\action_menu` | `\core\output\action_menu` |
| `\block_contents` | `\core_block\output\block_contents` |
| `\block_move_target` | `\core_block\output\block_move_target` |
| `\component_action` | `\core\output\actions\component_action` |
| `\confirm_action` | `\core\output\actions\confirm_action` |
| `\context_header` | `\core\output\context_header` |
| `\core\output\local\action_menu\subpanel` | `\core\output\action_menu\subpanel` |
| `\core_renderer_ajax` | `\core\output\core_renderer_ajax` |
| `\core_renderer_cli` | `\core\output\core_renderer_cli` |
| `\core_renderer_maintenance` | `\core\output\core_renderer_maintenance` |
| `\core_renderer` | `\core\output\core_renderer` |
| `\custom_menu_item` | `\core\output\custom_menu_item` |
| `\custom_menu` | `\core\output\custom_menu` |
| `\file_picker` | `\core\output\file_picker` |
| `\flexible_table` | `\core_table\flexible_table` |
| `\fragment_requirements_manager` | `\core\output\requirements\fragment_requirements_manager` |
| `\help_icon` | `\core\output\help_icon` |
| `\html_table_cell` | `\core_table\output\html_table_cell` |
| `\html_table_row` | `\core_table\output\html_table_row` |
| `\html_table` | `\core_table\output\html_table` |
| `\html_writer` | `\core\output\html_writer` |
| `\image_icon` | `\core\output\image_icon` |
| `\initials_bar` | `\core\output\initials_bar` |
| `\js_writer` | `\core\output\js_writer` |
| `\page_requirements_manager` | `\core\output\requirements\page_requirements_manager` |
| `\paging_bar` | `\core\output\paging_bar` |
| `\pix_emoticon` | `\core\output\pix_emoticon` |
| `\pix_icon_font` | `\core\output\pix_icon_font` |
| `\pix_icon_fontawesome` | `\core\output\pix_icon_fontawesome` |
| `\pix_icon` | `\core\output\pix_icon` |
| `\plugin_renderer_base` | `\core\output\plugin_renderer_base` |
| `\popup_action` | `\core\output\actions\popup_action` |
| `\preferences_group` | `\core\output\preferences_group` |
| `\preferences_groups` | `\core\output\preferences_groups` |
| `\progress_bar` | `\core\output\progress_bar` |
| `\renderable` | `\core\output\renderable` |
| `\renderer_base` | `\core\output\renderer_base` |
| `\renderer_factory_base` | `\core\output\renderer_factory\renderer_factory_base` |
| `\renderer_factory` | `\core\output\renderer_factory\renderer_factory_interface` |
| `\single_button` | `\core\output\single_button` |
| `\single_select` | `\core\output\single_select` |
| `\standard_renderer_factory` | `\core\output\renderer_factory\standard_renderer_factory` |
| `\table_dataformat_export_format` | `\core_table\dataformat_export_format` |
| `\table_default_export_format_parent` | `\core_table\base_export_format` |
| `\table_sql` | `\core_table\sql_table` |
| `\tabobject` | `\core\output\tabobject` |
| `\tabtree` | `\core\output\tabtree` |
| `\templatable` | `\core\output\templatable` |
| `\theme_config` | `\core\output\theme_config` |
| `\theme_overridden_renderer_factory` | `\core\output\renderer_factory\theme_overridden_renderer_factory` |
| `\url_select` | `\core\output\url_select` |
| `\user_picture` | `\core\output\user_picture` |
| `\xhtml_container_stack` | `\core\output\xhtml_container_stack` |
| `\YUI_config` | `\core\output\requirements\yui` |
type: improved
+2 -2
View File
@@ -6,8 +6,8 @@ notes:
selected by default.
Support for the `regular`, and `brands` families of icons has now been adde,
allowing icons defined with `icon_system::FONTAWESOME` to use them.
Support for the `regular`, and `brands` families of icons has now been added,
allowing icons defined with `\core\outut\icon_system::FONTAWESOME` to use them.
Icons can select the FontAwesome family (`fa-regular`, `fa-brands`, `fa-solid`)
+2 -2
View File
@@ -2,8 +2,8 @@ issueNumber: MDL-82212
notes:
core:
- message: >-
A new method, `get_deprecated_icons()`, has been added to the icon_system
class. All deprecated icons should be registered through this method.
A new method, `\core\output\::get_deprecated_icons()`, has been added
to the `icon_system` class. All deprecated icons should be registered through this method.
Plugins can implement a callback to `pluginname_get_deprecated_icons()` to
register their deprecated icons too.
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core_availability:
- message: >
The previously deprecated renderer
`render_core_availability_multiple_messages` method has been removed
`render_core_availability_multiple_messages` method has been removed.
type: removed
+7 -7
View File
@@ -4,18 +4,18 @@ notes:
- message: >-
The following methods have been updated to accept a section name in addition to the section number:
- `i_open_section_edit_menu()`
- `\behat_course::i_open_section_edit_menu()`
- `i_show_section()`
- `\behat_course::i_show_section()`
- `i_hide_section(),`
- `\behat_course::i_hide_section(),`
- `i_wait_until_section_is_available()`
- `\behat_course::i_wait_until_section_is_available()`
- `show_section_link_exists()`
- `\behat_course::show_section_link_exists()`
- `hide_section_link_exists()`
- `\behat_course::hide_section_link_exists()`
- `section_exists()`
- `\behat_course::section_exists()`
type: improved
+13 -13
View File
@@ -2,24 +2,24 @@ issueNumber: MDL-82287
notes:
core:
- message: >
The following methods have been formally deprecated:
The following functions have been initially deprecated:
- `get_core_subsystems`
- `\get_core_subsystems()`
- `get_plugin_types`
- `\get_plugin_types()`
- `get_plugin_list`
- `\get_plugin_list()`
- `get_plugin_list_with_class`
- `\get_plugin_list_with_class()`
- `get_plugin_directory`
- `\get_plugin_directory()`
- `normalize_component`
- `\normalize_component()`
- `get_component_directory`
- `\get_component_directory()`
- `get_context_instance`
- `\get_context_instance()`
Note: These methods have been deprecated for a long time, but previously
@@ -30,11 +30,11 @@ notes:
exception if called:
- `get_context_instance`
- `\get_context_instance()`
- `can_use_rotated_text`
- `\can_use_rotated_text()`
- `get_system_context`
- `\get_system_context()`
- `print_arrow`
- `\print_arrow()`
type: deprecated
+3 -2
View File
@@ -2,7 +2,8 @@ issueNumber: MDL-82297
notes:
core:
- message: >
Add optional icon and title to notification. Two parameters have been added to the `core\output\notification` so when creating a notification you can pass
an icon and a title.
Two new optional parameters have been added to the `\core\output\notification` constructor:
- `null|string $title`
- `null|string $icon`
type: improved
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-82385
notes:
core_course:
- message: >-
The external function `core_course::get_course_contents` now returns the
The external function `core_course_get_contents` now returns the
`component` and `itemid` of sections.
type: changed
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-82427
notes:
core_filters:
- message: >-
The `filter_manager::text_filtering_hash` method has been finally
The `\core_filters\filter_manager::text_filtering_hash` method has been finally
deprecated and removed.
type: deprecated
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-82447
notes:
mod_bigbluebuttonbn:
- message: >
Mobile support via plugin has been removed.
Mobile support via plugin has been removed as it is now natively available in the Moodle App.
type: removed
+3 -2
View File
@@ -2,6 +2,7 @@ issueNumber: MDL-82466
notes:
core_reportbuilder:
- message: >
New format helper `format_time` method, for use in column callbacks that
represent a duration of time (e.g. "3 days 4 hours")
A new static method, `\core_reportbuilder\local\helpers\format::format_time()`,
has been added for use in column callbacks that represent a duration of time
(for example "3 days 4 hours").
type: improved
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
customfield_select:
- message: >
The field controller `get_options` method now returns each option
pre-formatted
pre-formatted.
type: changed
+3 -3
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-82488
notes:
core_customfield:
- message: >
The field controller `get_formatted_name()` method now accepts an
optional `$escape` parameter to define whether to escape the returned
name
The field controller `\core_customfield\field_controller::get_formatted_name()`
method now accepts an optional `$escape` parameter to define whether to escape the returned
name.
type: changed
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-82490
notes:
core:
- message: >-
Add `set_disabled_option` method to `url_select` to enable or disable an option
from its url (the key for the option).
A new method, `\url_select::set_disabled_option()`, has been added
to enable or disable an option from its url (the key for the option).
type: improved
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-82494
notes:
core_user:
- message: >
The user profile field `display_name()` method now accepts an optional
`$escape` parameter to define whether to escape the returned name
The user profile field `\profile_field_base::display_name()` method now accepts an optional
`$escape` parameter to define whether to escape the returned name.
type: changed

Some files were not shown because too many files have changed in this diff Show More