From 8a219bbcc9de839d2fa3b24dcb4b0864f2c50ad0 Mon Sep 17 00:00:00 2001
From: Chris Sangwin <C.J.Sangwin@ed.ac.uk>
Date: Tue, 21 Jan 2025 14:01:24 +0000
Subject: [PATCH] Update the version numbers for the v4.8.2 release.

---
 api/config_sample.txt                 | 4 ++--
 api/docker/docker-compose.dev.yml     | 2 +-
 api/docker/docker-compose.yml         | 4 ++--
 doc/en/Installation/STACK_versions.md | 1 +
 stack/maxima/stackmaxima.mac          | 2 +-
 version.php                           | 4 ++--
 6 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/api/config_sample.txt b/api/config_sample.txt
index 35ffcc973..c85e4fc90 100644
--- a/api/config_sample.txt
+++ b/api/config_sample.txt
@@ -91,8 +91,8 @@ $CFG->inputmustverify = 1;
 $CFG->inputshowvalidation = 1;
 
 // These should match the version of goemaxima in docker-compose.
-$CFG->stackmaximaversion = "2024111500";
-$CFG->version = "2024111500";
+$CFG->stackmaximaversion = "2025122100";
+$CFG->version = "2025122100";
 
 // Do not change this setting.
 $CFG->mathsdisplay = 'api';
diff --git a/api/docker/docker-compose.dev.yml b/api/docker/docker-compose.dev.yml
index df429ace0..5c0e7d93d 100644
--- a/api/docker/docker-compose.dev.yml
+++ b/api/docker/docker-compose.dev.yml
@@ -1,7 +1,7 @@
 version: "4.0"
 services:
   maxima:
-    image: mathinstitut/goemaxima:2024111500-latest
+    image: mathinstitut/goemaxima:2025122100-latest
     tmpfs:
       - "/tmp"
     restart: unless-stopped
diff --git a/api/docker/docker-compose.yml b/api/docker/docker-compose.yml
index a8b1a7f21..0dec0ea08 100644
--- a/api/docker/docker-compose.yml
+++ b/api/docker/docker-compose.yml
@@ -1,7 +1,7 @@
 version: "4.0"
 services:
   maxima:
-    image: mathinstitut/goemaxima:2024111500-latest
+    image: mathinstitut/goemaxima:2025122100-latest
     tmpfs:
       - "/tmp"
     restart: unless-stopped
@@ -15,7 +15,7 @@ services:
     read_only: true
   stack:
     # Location of published STACK API image goes here.
-    image: stackmaths/stackapi:2024111500-latest
+    image: stackmaths/stackapi:2025122100-latest
     restart: unless-stopped
     ports:
       - '3080:80'
diff --git a/doc/en/Installation/STACK_versions.md b/doc/en/Installation/STACK_versions.md
index 9589b9cb7..34a89c0b2 100644
--- a/doc/en/Installation/STACK_versions.md
+++ b/doc/en/Installation/STACK_versions.md
@@ -9,6 +9,7 @@ when releasing.
 
 Release | Version number | Supported Maxima versions
 --------|----------------|--------------------------
+4.8.2 | 2025122100 | 5.40.0, 5.41.0, 5.42.0, 5.42.1, 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.46.0, 5.47.0
 4.8.0 | 2024111500 | 5.40.0, 5.41.0, 5.42.0, 5.42.1, 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.46.0, 5.47.0
 4.7.0 | 2024072400 | 5.40.0, 5.41.0, 5.42.0, 5.42.1, 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.46.0, 5.47.0
 4.6.0 | 2024060300 | 5.40.0, 5.41.0, 5.42.0, 5.42.1, 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.46.0, 5.47.0
diff --git a/stack/maxima/stackmaxima.mac b/stack/maxima/stackmaxima.mac
index 15a8917c5..33a496480 100644
--- a/stack/maxima/stackmaxima.mac
+++ b/stack/maxima/stackmaxima.mac
@@ -3357,4 +3357,4 @@ is_lang(code):=ev(is(%_STACK_LANG=code),simp=true)$
 
 /* Stack expects some output with the version number the output happens at */
 /* maximalocal.mac after additional library loading */
-stackmaximaversion:2025122000$
+stackmaximaversion:2025122100$
diff --git a/version.php b/version.php
index d2711bc24..2c59254e9 100644
--- a/version.php
+++ b/version.php
@@ -24,11 +24,11 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$plugin->version   = 2025122000;
+$plugin->version   = 2025122100;
 $plugin->requires  = 2022041900;
 $plugin->cron      = 0;
 $plugin->component = 'qtype_stack';
-$plugin->maturity  = MATURITY_ALPHA;
+$plugin->maturity  = MATURITY_STABLE;
 $plugin->release   = '4.8.2 for Moodle 4.0+';
 
 $plugin->dependencies = [
-- 
GitLab