From b9c3b2a1c30ecc4b71a903714ca0ff835c755b5c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2024 23:50:46 +0800 Subject: [PATCH] chore: release v2.9.1 (#981) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- CHANGELOG.md | 40 +++++++++++++++++++++++++++++++ docs/docs/code/ArtalkVersion.json | 2 +- internal/config/version.go | 2 +- ui/artalk/package.json | 2 +- 4 files changed, 43 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ffb01fde..8a14575a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,44 @@ +## [v2.9.1](https://github.com/ArtalkJS/Artalk/compare/v2.9.0...v2.9.1) (2024-09-18) + +### Features + +* **go:** upgrade golang to v1.22.7 and some deps + +### Bug Fixes + +* **db:** sql error with custom table prefix ([#970](https://github.com/ArtalkJS/Artalk/issues/970)) +* **test:** separate test db to isolate concurrent test instances ([#975](https://github.com/ArtalkJS/Artalk/issues/975)) +* **transfer:** ensure consistent time format in artrans export +* **ui/plugin:** prevent exceptions from blocking other plugins loading + +### Performance Improvements + +* **plugin_katex:** add error message for missing katex deps + +### Code Refactoring + +* **dao:** improve concurrent testing for `FindCreateAction` function +* **go:** hardcode version and get commit_hash via runtime/debug +* **go:** bump the module version and support go install ([#979](https://github.com/ArtalkJS/Artalk/issues/979)) + +### Testing + +* **mutex:** add tests for keyed mutex + +### Documentation + +* refine deployment documentation +* **i18n:** add English translations for docs ([#978](https://github.com/ArtalkJS/Artalk/issues/978)) +* **landing:** add multi-language and dark-mode for landing +* **landing:** add demo video in landing page + +### BREAKING CHANGE + + +The original Go module name was `github.com/ArtalkJS/Artalk`, which has now been modified to `github.com/artalkjs/artalk/v2` (all lowercase). This change may affect the CI pipeline or other areas if you are compiling the Artalk server and have specified the fixed Go module name. Regarding the original `-ldflags -X github.com/ArtalkJS/Artalk/internal/config.Version` and `CommitHash` definitions, please remove them, as they are now obsolete. The `Version` has been hardcoded into the Go code, and the `CommitHash` is now read from the Go build info via runtime/debug’s vcs.revision value. This change only affects the server developers and does not impact the frontend UI client. + + ## [v2.9.0](https://github.com/ArtalkJS/Artalk/compare/v2.8.7...v2.9.0) (2024-09-03) ### Features diff --git a/docs/docs/code/ArtalkVersion.json b/docs/docs/code/ArtalkVersion.json index 640fa9fc..2cfb7136 100644 --- a/docs/docs/code/ArtalkVersion.json +++ b/docs/docs/code/ArtalkVersion.json @@ -1,3 +1,3 @@ { - "latest": "2.9.0" + "latest": "2.9.1" } diff --git a/internal/config/version.go b/internal/config/version.go index a52d7835..74b7007d 100644 --- a/internal/config/version.go +++ b/internal/config/version.go @@ -9,7 +9,7 @@ import ( // The version of Artalk // // Which is automatically set by the CI release workflow -const Version = "v2.9.0" +const Version = "v2.9.1" // The commit hash from which the binary was built (optional) // diff --git a/ui/artalk/package.json b/ui/artalk/package.json index 69fc751b..c585b9b2 100644 --- a/ui/artalk/package.json +++ b/ui/artalk/package.json @@ -1,6 +1,6 @@ { "name": "artalk", - "version": "2.9.0", + "version": "2.9.1", "description": "A self-hosted comment system", "keywords": [ "comment-system",