diff --git a/CHANGELOG.md b/CHANGELOG.md
index e634acb8833966e1d8d413ade05891dd32caab3d..c8a9016fa15e9f1fc7aaf7d99900e5d02855f5c6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
 # Changelog
 All notable changes to this project will be documented in this file.
 
+## [0.17.1] - 2021-05-31
+### Fixed
+- SQL query not working in Postgres in `weekheatmap` report
+
 ## [0.17.0] - 2021-05-28
 ### Added
 - Option `setting_dashboard_boxes` to define the layout of the dashboard (width of shown boxes and which boxes are shown) and add subplugins of type `lareport`
diff --git a/version.php b/version.php
index b09598c1933071845fa8623cc162512d55855b36..d2f64f6350784a8a29bcbff4a67eb5e7f47a490d 100644
--- a/version.php
+++ b/version.php
@@ -26,8 +26,8 @@ defined('MOODLE_INTERNAL') || die;
 
 $plugin->component = 'local_learning_analytics';
 
-$plugin->version = 2021052800;
-$plugin->release = 'v0.17.0';
+$plugin->version = 2021053100;
+$plugin->release = 'v0.17.1';
 $plugin->maturity = MATURITY_STABLE;
 
 $plugin->requires = 2017111302;