From 9de5879786cc1a9bd66dfd464ee78616172bc75e Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Tue, 3 Dec 2024 09:01:21 +0100 Subject: [PATCH] Prepare release v1.4.0 --- .goreleaser.yaml | 4 ++-- ReleaseNotes.md | 34 ++++++++++++++++++++++++++++++---- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 19d29cf..7eedfeb 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -70,7 +70,7 @@ archives: {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }} checksum: - name_template: 'checksums.txt' + name_template: "checksums.txt" snapshot: name_template: "{{ incpatch .Version }}-next" changelog: @@ -100,7 +100,7 @@ changelog: release: draft: false footer: | - Supports job archive version 1 and database version 6. + Supports job archive version 2 and database version 8. Please check out the [Release Notes](https://github.com/ClusterCockpit/cc-backend/blob/master/ReleaseNotes.md) for further details on breaking changes. # vim: set ts=2 sw=2 tw=0 fo=cnqoj diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 547a1f4..35cff69 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,11 +1,37 @@ -# `cc-backend` version 1.3.1 +# `cc-backend` version 1.4.0 -Supports job archive version 1 and database version 7. +Supports job archive version 2 and database version 8. -This is a bugfix release of `cc-backend`, the API backend and frontend +This is a minor 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/). ## Breaking changes -None +- You need to perform a database migration. Depending on your database size the + migration might require several hours! +- You need to adapt the `cluster.json` configuration files in the job-archive, + add new required attributes to the metric list and after that edit + `./job-archive/version.txt` to version 2. +- Continuous scrolling is default now in all job lists. You can change this back + to paging globally, also every user can configure to use paging or continuous + scrolling individually. +- Tags have a scope now. Existing tags will get global scope in the database + migration. + +## New features + +- Tags have a scope now. Tags created by a basic user are only visible by that + user. Tags created by an admin/support role can be configured to be visible by + all users (global scope) or only be admin/support role. +- Re-sampling support for running (requires a recent `cc-metric-store`) and + archived jobs. This greatly speeds up loading of large or very long jobs. You + need to add the new configuration key `enable-resampling` to the `config.json` + file. +- For finished jobs a total job energy is shown in the job view. +- Continuous scrolling in job lists is default now. +- All database queries (especially for sqlite) were optimized resulting in + dramatically faster load times. +- A performance and energy footprint can be freely configured on a per + subcluster base. One can filter for footprint statistics for running and + finished jobs.