moodle/lib/UPGRADING.md

51 lines
1.9 KiB
Markdown
Raw Normal View History

2024-05-24 10:51:52 +08:00
# core (subsystem) Upgrade notes
## 4.5dev
### Removed
- The previously deprecated function `search_generate_text_SQL` has been removed and can no longer be used.
For more information see [MDL-48940](https://tracker.moodle.org/browse/MDL-48940)
- The previously deprecated function `core_text::reset_caches()` has been removed and can no longer be used.
For more information see [MDL-71748](https://tracker.moodle.org/browse/MDL-71748)
- The following previously deprecated methods have been removed and can no longer be used:
- `renderer_base::should_display_main_logo`
For more information see [MDL-73165](https://tracker.moodle.org/browse/MDL-73165)
- Final deprecation of print_error(). Use moodle_exception instead.
For more information see [MDL-74484](https://tracker.moodle.org/browse/MDL-74484)
2024-05-30 17:00:19 +02:00
### Changed
- The class autoloader has been moved to an earlier point in the Moodle bootstrap.
Autoloaded classes are now available to scripts using the `ABORT_AFTER_CONFIG` constant.
For more information see [MDL-80275](https://tracker.moodle.org/browse/MDL-80275)
### Added
- New DML constant `SQL_INT_MAX` to define the size of a large integer with cross database platform support
For more information see [MDL-81282](https://tracker.moodle.org/browse/MDL-81282)
- Added an `exception` L2 Namespace to APIs
For more information see [MDL-81903](https://tracker.moodle.org/browse/MDL-81903)
2024-06-06 22:30:24 +08:00
### Fixed
- Use server timezone when constructing `\DateTimeImmutable` for the system `\core\clock` implementation.
For more information see [MDL-81894](https://tracker.moodle.org/browse/MDL-81894)
### Deprecated
- The following methods have been deprecated, existing usage should switch to secure `\core\encryption` library:
- `rc4encrypt`
- `rc4decrypt`
- `endecrypt`
For more information see [MDL-81940](https://tracker.moodle.org/browse/MDL-81940)