From ce237b4d638a1fa770a91e0081b1f0a4a1d981cb Mon Sep 17 00:00:00 2001 From: Michael Li Date: Sat, 7 Oct 2023 23:39:12 +0800 Subject: [PATCH] update version info --- CHANGELOG.md | 8 +++++++- README.md | 2 +- ROADMAP.md | 2 +- docker-compose.yaml | 2 +- pkg/version/version.go | 4 ++-- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0ddc7ee..41aa00ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ # Changelog All notable changes to paopao-ce are documented in this file. -## 0.5.0+dev ([`dev`](https://github.com/rocboss/paopao-ce/tree/dev)) +## 0.6.0+dev ([`dev`](https://github.com/rocboss/paopao-ce/tree/dev)) +TODO; + +## 0.5.0 ### Added - add `LoggerOpenObserve` feature use OpenObserve to collect log.[#370](https://github.com/rocboss/paopao-ce/pull/370) add `LoggerOpenObserve` to `conf.yaml` 's `Features` section to enable this feature like below: @@ -187,6 +190,9 @@ All notable changes to paopao-ce are documented in this file. ``` - add read more contents support for post card in tweets list. +### Changed +- optimize jwt token generate logic. + ## 0.4.2 ### Fixed - fixed remove multi-objects no effects and occurs resource leak error when use Minio as OSS(Object Storage System).[#371](https://github.com/rocboss/paopao-ce/pull/371) [#372](https://github.com/rocboss/paopao-ce/pull/372) diff --git a/README.md b/README.md index 39874ff9..69a5c860 100644 --- a/README.md +++ b/README.md @@ -288,7 +288,7 @@ make run TAGS='docs' ```sh cp config.yaml.sample config.yaml vim config.yaml # 修改参数 -paopao-ce +paopao serve ``` 配置文件中的 `Features` 小节是声明paopao-ce运行时开启哪些功能项: diff --git a/ROADMAP.md b/ROADMAP.md index 564278ed..b45e21df 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -56,7 +56,7 @@ ## paopao-ce-plus roadmap #### paopao-ce-plus/v0.5.0 -* [ ] adapt for paopao-ce v0.4.0 +* [x] adapt for paopao-ce v0.5.0 #### paopao-ce-plus/v0.4.0 * [x] adapt for paopao-ce v0.4.0 diff --git a/docker-compose.yaml b/docker-compose.yaml index 9cada34c..3536580f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -124,7 +124,7 @@ services: # - paopao-network backend: - image: bitbus/paopao-ce:0.5.0-rc + image: bitbus/paopao-ce:0.5 restart: always depends_on: - db diff --git a/pkg/version/version.go b/pkg/version/version.go index 93c5806d..86491239 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -9,7 +9,7 @@ import ( ) const ( - series = "v0.5.0-rc" + series = "v0.5" ) var ( @@ -28,7 +28,7 @@ type BuildInfo struct { } func VersionInfo() string { - return fmt.Sprintf("paopao %s (build:%s %s)", series, commitID, buildDate) + return fmt.Sprintf("paopao %s (build:%s %s)", version, commitID, buildDate) } func ReadBuildInfo() *BuildInfo {