Skip to content

Commit

Permalink
MDL-77328 qtype_calculated: Add upgrade.txt notes
Browse files Browse the repository at this point in the history
* Question type plugins that extend qtype_calculated should be made
aware of the changes about the new question_answer type
\qtype_calculated\qtype_calculated_answer.
  • Loading branch information
junpataleta committed Jul 19, 2023
1 parent 91430ab commit 6ec5cfa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions question/type/calculated/upgrade.txt
@@ -0,0 +1,6 @@
This file describes API changes in /question/type/calculated/*.

=== 4.2.2 ===
* \qtype_calculated answers are now of the type \qtype_calculated\qtype_calculated_answer which extends \qtype_numerical_answer.
Plugins extending \qtype_calculated and still reference \qtype_numerical_answer in their code (e.g. in test helper functions)
should update their code to reference \qtype_calculated\qtype_calculated_answer instead.

0 comments on commit 6ec5cfa

Please sign in to comment.