diff --git a/doc/en/Developer/Development_history.md b/doc/en/Developer/Development_history.md
index d2a4531aeafbe4159644b956b81839fc937387c2..c27da2bfd5d0c4720796aa647be7b8bba4b05a7d 100644
--- a/doc/en/Developer/Development_history.md
+++ b/doc/en/Developer/Development_history.md
@@ -2,6 +2,11 @@
 
 For current and future plans, see [Development track](Development_track.md) and [Future plans](Future_plans.md).
 
+## Version 4.5.0-hf2
+
+Fix critical bug in Javascript.
+Released January 2024.
+
 ## Version 4.5.0
 
 Released December 2023.
diff --git a/stack/maxima/stackmaxima.mac b/stack/maxima/stackmaxima.mac
index 62e829d225fb672649270e649dd049d6ac42d1df..bf12cc89601ebdcab18a582a25bb1796f90041cc 100644
--- a/stack/maxima/stackmaxima.mac
+++ b/stack/maxima/stackmaxima.mac
@@ -3331,4 +3331,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:2023121100$
+stackmaximaversion:2024012900$
diff --git a/version.php b/version.php
index 6486ce6effa6a836675f725de5d62ac43c667c04..0921da8dc1455c0a257451b571e4c636bb542e48 100644
--- a/version.php
+++ b/version.php
@@ -24,7 +24,7 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$plugin->version   = 2023121100;
+$plugin->version   = 2024012900;
 $plugin->requires  = 2020061500;
 $plugin->cron      = 0;
 $plugin->component = 'qtype_stack';