From 7f069f1ec104d5b58cc4da63cb94cbe198de8be7 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Thu, 12 Mar 2026 06:40:36 +0100 Subject: [PATCH] Prepare bugfix release 1.5.1 Entire-Checkpoint: 15cc90a0347a --- Makefile | 2 +- ReleaseNotes.md | 40 ++++++++++++++++++++++++++++++++++++---- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 5829beae..8f805c87 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ TARGET = ./cc-backend FRONTEND = ./web/frontend -VERSION = 1.5.0 +VERSION = 1.5.1 GIT_HASH := $(shell git rev-parse --short HEAD || echo 'development') CURRENT_TIME = $(shell date +"%Y-%m-%d:T%H:%M:%S") LD_FLAGS = '-s -X main.date=${CURRENT_TIME} -X main.version=${VERSION} -X main.commit=${GIT_HASH}' diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 5447167e..9a056d99 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,11 +1,43 @@ -# `cc-backend` version 1.5.0 +# `cc-backend` version 1.5.1 -Supports job archive version 3 and database version 10. +Supports job archive version 3 and database version 11. -This is a feature release of `cc-backend`, the API backend and frontend +This is a bugfix release of `cc-backend`, the API backend and frontend implementation of ClusterCockpit. For release specific notes visit the [ClusterCockpit Documentation](https://clusterockpit.org/docs/release/). +## Changes in 1.5.1 + +### Database + +- **New migration (version 11)**: Optimized database index count for better performance +- **ANALYZE on startup**: Database statistics are now refreshed on startup for improved query planning +- **SQLite configuration hardening**: Sanitized SQLite configuration with new configurable options; fixes large heap allocations in the SQLite driver +- **Query cancellation**: Long-running database queries can now be cancelled +- **Resource leak fix**: Added missing `defer Close()` calls for all query result sets + +### Bug fixes + +- **Segfault when taggers misconfigured**: Fixed crash when `enable-job-taggers` is set but tagger rule directories are missing +- **GroupBy stats query complexity**: Reduced complexity for `groupBy` statistics queries +- **Ranged filter conditions**: Fixed GT and LT conditions in ranged filters +- **Energy filter preset**: Reduced energy filter preset to a more practical default +- **JSON validity check**: Fixed wrong field being checked for JSON validity +- **Tagger float rounding**: Fixed rounding of floats in tagger messages +- **Node view null safety**: Added null-safe checks in node view to prevent runtime errors + +### Frontend + +- **Bumped patch versions**: Updated frontend dependencies to latest patch versions + +### Documentation + +- **New DB config options**: Added new database configuration options to README + +--- + +*The sections below document all features and changes introduced in the 1.5.0 major release, which 1.5.1 is based on.* + ## Breaking changes ### Configuration changes @@ -34,7 +66,7 @@ For release specific notes visit the [ClusterCockpit Documentation](https://clus ### Dependency changes -- **cc-lib v2.5.1**: Switched to cc-lib version 2 with updated APIs (currently at v2.5.1) +- **cc-lib v2.8.0**: Switched to cc-lib version 2 with updated APIs - **cclib NATS client**: Now using the cclib NATS client implementation - Removed obsolete `util.Float` usage from cclib