Skip to content

Commit 42ddde9

Browse files
authored
Prepare v5.1.0 (#58)
1 parent 973be65 commit 42ddde9

File tree

5 files changed

+20
-13
lines changed

5 files changed

+20
-13
lines changed

.github/workflows/behat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
php: ['7.4', '8.0']
30-
moodle-branch: ['MOODLE_39_STABLE', 'MOODLE_311_STABLE', 'MOODLE_400_STABLE', 'master']
30+
moodle-branch: ['MOODLE_39_STABLE', 'MOODLE_311_STABLE', 'MOODLE_400_STABLE', 'MOODLE_401_STABLE', 'master']
3131
database: [mariadb]
3232
exclude:
3333
- moodle-branch: 'MOODLE_39_STABLE'

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
php: ['7.4', '8.0']
35-
moodle-branch: ['MOODLE_39_STABLE', 'MOODLE_311_STABLE', 'MOODLE_400_STABLE', 'master']
35+
moodle-branch: ['MOODLE_39_STABLE', 'MOODLE_311_STABLE', 'MOODLE_400_STABLE', 'MOODLE_401_STABLE', 'master']
3636
database: [pgsql, mariadb]
3737
exclude:
3838
- moodle-branch: 'MOODLE_39_STABLE'

CHANGES.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
# Changelog
22

3+
### 5.1.0 (2022-11-23)
4+
- added support for Moodle 4.1
5+
- new functions for number conversion (decimal <-> octal/binary)
6+
- extended functionality for existing poly() function, see documentation
7+
- direct validation of variable definitions when editing/creating a question
8+
- improved check of variable instantiation and inline preview
9+
- internal: added more tests
10+
- internal: code cleanup and refactoring
11+
312
### 5.0.1 (2022-10-16)
413
- bugfix: custom functions are now working again
514

6-
### 5.0.0 (2022-10-15)
15+
### 5.0.0 (2022-10-15) - YANKED
716
- new feature: support for Moodle App (thanks to Jakob Heinemann)
817
- new functions for statistics: stdnormpdf(), stdnormcdf(), normcdf()
918
- new functions for number theory: modpow(), modinv()

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Formulas question type for Moodle
22
---------------------------------
3-
[![Automated code checks](https://github.com/FormulasQuestion/moodle-qtype_formulas/workflows/Automated%20code%20checks/badge.svg?branch=master)](https://github.com/FormulasQuestion/moodle-qtype_formulas/actions?query=workflow%3A%22Automated+code+checks%22+branch%3Amaster) [![Automated acceptance tests](https://github.com/FormulasQuestion/moodle-qtype_formulas/workflows/Automated%20acceptance%20tests/badge.svg?branch=master)](https://github.com/FormulasQuestion/moodle-qtype_formulas/actions?query=workflow%3A%22Automated+acceptance+tests%22+branch%3Amaster) [![Automated unit tests](https://github.com/FormulasQuestion/moodle-qtype_formulas/workflows/Automated%20unit%20tests/badge.svg?branch=master)](https://github.com/FormulasQuestion/moodle-qtype_formulas/actions?query=workflow%3A%22Automated+unit+tests%22+branch%3Amaster) [![GitHub
3+
[![Automated code checks](https://github.com/FormulasQuestion/moodle-qtype_formulas/workflows/Automated%20code%20checks/badge.svg?branch=master)](https://github.com/FormulasQuestion/moodle-qtype_formulas/actions?query=workflow%3A%22Automated+code+checks%22+branch%3Amaster) [![Automated acceptance tests](https://github.com/FormulasQuestion/moodle-qtype_formulas/workflows/Automated%20acceptance%20tests/badge.svg?branch=master)](https://github.com/FormulasQuestion/moodle-qtype_formulas/actions?query=workflow%3A%22Automated+acceptance+tests%22+branch%3Amaster) [![Automated unit tests](https://github.com/FormulasQuestion/moodle-qtype_formulas/workflows/Automated%20unit%20tests/badge.svg?branch=master)](https://github.com/FormulasQuestion/moodle-qtype_formulas/actions?query=workflow%3A%22Automated+unit+tests%22+branch%3Amaster) [![GitHub
44
Release](https://img.shields.io/github/release/FormulasQuestion/moodle-qtype_formulas.svg)](https://github.com/FormulasQuestion/moodle-qtype_formulas/releases)
55

66
This is a question type plugin for Moodle with random values and multiple answer fields.
@@ -16,10 +16,8 @@ still available at the [original author's website](https://code.google.com/p/moo
1616
at the date of this writing. It was then upgraded to the new question engine introduced in Moodle 2.1 by
1717
Jean-Michel Védrine.
1818

19-
This version is compatible with Moodle 3.0 and newer. It has been tested with Moodle
20-
versions 3.11 and 4.0. It has also been tested with PHP versions 7.4 and 8.0. If you
21-
are running an older version of Moodle, another version of the formulas question
22-
type is available for Moodle versions 2.6 to 2.9.
19+
This version is compatible with Moodle 3.9 and newer. It has been tested with Moodle
20+
versions 3.11, 4.0 and 4.1. It has also been tested with PHP versions 7.4 and 8.0.
2321

2422

2523
### Requirements

version.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@
2525
defined('MOODLE_INTERNAL') || die();
2626

2727
$plugin->component = 'qtype_formulas';
28-
$plugin->version = 2022101701;
28+
$plugin->version = 2022112700;
2929

3030
$plugin->cron = 0;
31-
$plugin->requires = 2015111600;
31+
$plugin->requires = 2017111300;
3232
$plugin->dependencies = array(
3333
'qbehaviour_adaptive' => 2015111600,
34-
'qbehaviour_adaptivemultipart' => 2014092500,
34+
'qbehaviour_adaptivemultipart' => 2014092500,
3535
'qtype_multichoice' => 2015111600,
3636
);
37-
$plugin->supported = [30, 400];
38-
$plugin->release = '5.0.1 for Moodle 3.9+';
37+
$plugin->supported = [39, 401];
38+
$plugin->release = '5.1.0 for Moodle 3.9+';
3939

4040
$plugin->maturity = MATURITY_STABLE;

0 commit comments

Comments
 (0)