NOBUG: Add upgrade notes

This commit is contained in:
Huong Nguyen
2026-02-06 09:16:50 +07:00
parent 6dd7b7e490
commit cbd5285963
5 changed files with 3 additions and 29 deletions
@@ -1,17 +0,0 @@
issueNumber: MDL-86798
notes:
core_question:
- message: >
In order to prevent re-use of question version numbers after a version
is deleted, the `nextversion` column was added to
`question_bank_entries`. This serves as a counter incremented each time
a version is created.
Do not query this field directly. Instead use
`core_question\versions::get_next_version()` to read the value, which
will initialise it based on the existing versions if it is not set yet.
By default, it will increment the version number automatically, unless
you pass `increment: false`. Because of this, it is advisable to call
it inside a transaction, that is only committed after the version number
is used in a `question_versions` record.
type: fixed
@@ -1,9 +0,0 @@
issueNumber: MDL-87694
notes:
core:
- message: >-
`\core\output\core_renderer::confirm()`'s `$displayoptions` parameter
now also accepts a `headinglevel` option that developers can use to
specify the heading level of the confirmation's heading. If not
specified, the confirmation heading will be rendered in an `h4` tag.
type: changed
+1 -1
View File
@@ -6,7 +6,7 @@ More detailed information on key changes can be found in the [Developer update n
The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com).
## 5.0.4+
## 5.0.5
### core
+1 -1
View File
@@ -1,6 +1,6 @@
# core (subsystem) Upgrade notes
## 5.0.4+
## 5.0.5
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_question (subsystem) Upgrade notes
## 5.0.4+
## 5.0.5
### Fixed