Skip to content

Commit c7af8d8

Browse files
committed
NOBUG: Add upgrade notes
1 parent 16843d1 commit c7af8d8

File tree

9 files changed

+141
-60
lines changed

9 files changed

+141
-60
lines changed

UPGRADING.md

Lines changed: 97 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
2525
- Final deprecation of print_error(). Use moodle_exception instead.
2626

2727
For more information see [MDL-74484](https://tracker.moodle.org/browse/MDL-74484)
28+
- Final deprecation of \core\task\manager::ensure_adhoc_task_qos()
29+
30+
For more information see [MDL-74843](https://tracker.moodle.org/browse/MDL-74843)
2831

2932
#### Changed
3033

@@ -177,6 +180,54 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
177180

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

183+
### core_reportbuilder
184+
185+
#### Added
186+
187+
- The return type of the `set_checkbox_toggleall` callback, defined by system reports, can now be null. Use if the checkbox should not be shown for the row.
188+
189+
For more information see [MDL-52046](https://tracker.moodle.org/browse/MDL-52046)
190+
- System reports now support native entity column aggregation via each columns `set_aggregation()` method
191+
192+
For more information see [MDL-76392](https://tracker.moodle.org/browse/MDL-76392)
193+
- The following external methods now return tags data relevant to each custom report:
194+
- `core_reportbuilder_list_reports`
195+
- `core_reportbuilder_retrieve_report`
196+
197+
For more information see [MDL-81433](https://tracker.moodle.org/browse/MDL-81433)
198+
- Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression
199+
200+
For more information see [MDL-81434](https://tracker.moodle.org/browse/MDL-81434)
201+
202+
#### Removed
203+
204+
- The following previously deprecated local helper methods have been removed and can no longer be used:
205+
- `audience::get_all_audiences_menu_types`
206+
- `report::get_available_columns`
207+
208+
For more information see [MDL-76690](https://tracker.moodle.org/browse/MDL-76690)
209+
210+
#### Changed
211+
212+
- In order to better support float values in filter forms, the following filter types now cast given SQL prior to comparison:
213+
- `duration`
214+
- `filesize`
215+
- `number`
216+
217+
For more information see [MDL-81168](https://tracker.moodle.org/browse/MDL-81168)
218+
- The base datasource `add_all_from_entities` method accepts a new optional parameter to specify which entities to add elements from
219+
220+
For more information see [MDL-81330](https://tracker.moodle.org/browse/MDL-81330)
221+
- 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):
222+
- `core_reportbuilder_generator::create_schedule`
223+
- `core_reportbuilder\local\helpers\schedule::[create_schedule|calculate_next_send_time]`
224+
225+
For more information see [MDL-82041](https://tracker.moodle.org/browse/MDL-82041)
226+
- The following classes have been moved to use the new exception API as a l2 namespace:
227+
- `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`
228+
229+
For more information see [MDL-82133](https://tracker.moodle.org/browse/MDL-82133)
230+
180231
### mod_assign
181232

182233
#### Added
@@ -229,6 +280,26 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
229280

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

283+
### theme
284+
285+
#### Removed
286+
287+
- Removed all references to iconhelp, icon-pre, icon-post, iconlarge, and iconsort classes
288+
289+
For more information see [MDL-74251](https://tracker.moodle.org/browse/MDL-74251)
290+
291+
#### Added
292+
293+
- New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header
294+
295+
For more information see [MDL-81597](https://tracker.moodle.org/browse/MDL-81597)
296+
297+
#### Deprecated
298+
299+
- The method `\core\output\core_renderer::render_context_header` has been deprecated please use `\core\output\core_renderer::render($contextheader)` instead
300+
301+
For more information see [MDL-82160](https://tracker.moodle.org/browse/MDL-82160)
302+
232303
### core_grades
233304

234305
#### Removed
@@ -245,50 +316,27 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
245316

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

248-
### core_reportbuilder
249-
250-
#### Added
319+
### core_backup
251320

252-
- System reports now support native entity column aggregation via each columns `set_aggregation()` method
321+
#### Removed
253322

254-
For more information see [MDL-76392](https://tracker.moodle.org/browse/MDL-76392)
255-
- The following external methods now return tags data relevant to each custom report:
256-
- `core_reportbuilder_list_reports`
257-
- `core_reportbuilder_retrieve_report`
323+
- 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.
258324

259-
For more information see [MDL-81433](https://tracker.moodle.org/browse/MDL-81433)
260-
- Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression
325+
For more information see [MDL-75022](https://tracker.moodle.org/browse/MDL-75022)
261326

262-
For more information see [MDL-81434](https://tracker.moodle.org/browse/MDL-81434)
327+
### core_question
263328

264-
#### Removed
329+
#### Added
265330

266-
- The following previously deprecated local helper methods have been removed and can no longer be used:
267-
- `audience::get_all_audiences_menu_types`
268-
- `report::get_available_columns`
331+
- A new utility function `format_question_fragment` has been created so that question content can filter based on filters.
269332

270-
For more information see [MDL-76690](https://tracker.moodle.org/browse/MDL-76690)
333+
For more information see [MDL-78662](https://tracker.moodle.org/browse/MDL-78662)
271334

272335
#### Changed
273336

274-
- In order to better support float values in filter forms, the following filter types now cast given SQL prior to comparison:
275-
- `duration`
276-
- `filesize`
277-
- `number`
278-
279-
For more information see [MDL-81168](https://tracker.moodle.org/browse/MDL-81168)
280-
- The base datasource `add_all_from_entities` method accepts a new optional parameter to specify which entities to add elements from
281-
282-
For more information see [MDL-81330](https://tracker.moodle.org/browse/MDL-81330)
283-
- 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):
284-
- `core_reportbuilder_generator::create_schedule`
285-
- `core_reportbuilder\local\helpers\schedule::[create_schedule|calculate_next_send_time]`
286-
287-
For more information see [MDL-82041](https://tracker.moodle.org/browse/MDL-82041)
288-
- The following classes have been moved to use the new exception API as a l2 namespace:
289-
- `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`
337+
- column_base::from_column_name now has an ignoremissing field, which can be used to ignore if the class does not exist, instead of throwing an exception.
290338

291-
For more information see [MDL-82133](https://tracker.moodle.org/browse/MDL-82133)
339+
For more information see [MDL-81125](https://tracker.moodle.org/browse/MDL-81125)
292340

293341
### core_webservice
294342

@@ -330,13 +378,14 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
330378

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

333-
### core_question
381+
### core_table
334382

335-
#### Changed
383+
#### Added
336384

337-
- column_base::from_column_name now has an ignoremissing field, which can be used to ignore if the class does not exist, instead of throwing an exception.
385+
- A new `$reponsive` property (defaulting to `true`) has been added to the `core_table\flexible_table` class.
386+
This property allows you to control whether the table is rendered as a responsive table.
338387

339-
For more information see [MDL-81125](https://tracker.moodle.org/browse/MDL-81125)
388+
For more information see [MDL-80748](https://tracker.moodle.org/browse/MDL-80748)
340389

341390
### mod_data
342391

@@ -382,20 +431,6 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
382431

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

385-
### theme
386-
387-
#### Added
388-
389-
- New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header
390-
391-
For more information see [MDL-81597](https://tracker.moodle.org/browse/MDL-81597)
392-
393-
#### Deprecated
394-
395-
- The method `\core\output\core_renderer::render_context_header` has been deprecated please use `\core\output\core_renderer::render($contextheader)` instead
396-
397-
For more information see [MDL-82160](https://tracker.moodle.org/browse/MDL-82160)
398-
399434
### core_courseformat
400435

401436
#### Added
@@ -444,6 +479,17 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
444479

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

482+
### core_report
483+
484+
#### Added
485+
486+
- Report has been added to subsystem components list
487+
488+
For more information see [MDL-81771](https://tracker.moodle.org/browse/MDL-81771)
489+
- New coursestructure output general class has been created
490+
491+
For more information see [MDL-81771](https://tracker.moodle.org/browse/MDL-81771)
492+
447493
### theme_boost
448494

449495
#### Changed

backup/util/ui/UPGRADING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# core_backup (subsystem) Upgrade notes
2+
3+
## 4.5dev
4+
5+
### Removed
6+
7+
- 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.
8+
9+
For more information see [MDL-75022](https://tracker.moodle.org/browse/MDL-75022)
10+

lib/UPGRADING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
- Final deprecation of print_error(). Use moodle_exception instead.
1818

1919
For more information see [MDL-74484](https://tracker.moodle.org/browse/MDL-74484)
20+
- Final deprecation of \core\task\manager::ensure_adhoc_task_qos()
21+
22+
For more information see [MDL-74843](https://tracker.moodle.org/browse/MDL-74843)
2023

2124
### Changed
2225

lib/table/UPGRADING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# core_table (subsystem) Upgrade notes
2+
3+
## 4.5dev
4+
5+
### Added
6+
7+
- A new `$reponsive` property (defaulting to `true`) has been added to the `core_table\flexible_table` class.
8+
This property allows you to control whether the table is rendered as a responsive table.
9+
10+
For more information see [MDL-80748](https://tracker.moodle.org/browse/MDL-80748)
11+

question/UPGRADING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## 4.5dev
44

5+
### Added
6+
7+
- A new utility function `format_question_fragment` has been created so that question content can filter based on filters.
8+
9+
For more information see [MDL-78662](https://tracker.moodle.org/browse/MDL-78662)
10+
511
### Changed
612

713
- column_base::from_column_name now has an ignoremissing field, which can be used to ignore if the class does not exist, instead of throwing an exception.

report/UPGRADING.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22

33
## 4.5dev
44

5-
### Removed
5+
### Added
66

7-
- The previously deprecated `report_helper::save_selected_report` method has been removed and can no longer be used
7+
- Report has been added to subsystem components list
88

9-
For more information see [MDL-72353](https://tracker.moodle.org/browse/MDL-72353)
9+
For more information see [MDL-81771](https://tracker.moodle.org/browse/MDL-81771)
10+
- New coursestructure output general class has been created
1011

11-
### Changed
12-
13-
- The `report_helper::print_report_selector` method accepts an additional argument for adding content to the tertiary navigation to align with the report selector
14-
15-
For more information see [MDL-78773](https://tracker.moodle.org/browse/MDL-78773)
12+
For more information see [MDL-81771](https://tracker.moodle.org/browse/MDL-81771)

reportbuilder/UPGRADING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
### Added
66

7+
- The return type of the `set_checkbox_toggleall` callback, defined by system reports, can now be null. Use if the checkbox should not be shown for the row.
8+
9+
For more information see [MDL-52046](https://tracker.moodle.org/browse/MDL-52046)
710
- System reports now support native entity column aggregation via each columns `set_aggregation()` method
811

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

theme/UPGRADING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## 4.5dev
44

5+
### Removed
6+
7+
- Removed all references to iconhelp, icon-pre, icon-post, iconlarge, and iconsort classes
8+
9+
For more information see [MDL-74251](https://tracker.moodle.org/browse/MDL-74251)
10+
511
### Added
612

713
- New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header

theme/boost/UPGRADING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
- Bootstrap .no-gutters class is no longer used, use .g-0 instead.
88

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

0 commit comments

Comments
 (0)