From ed17f8dabb99a33e0cd22deff00c58f99aec37c8 Mon Sep 17 00:00:00 2001 From: hz Date: Fri, 1 Nov 2024 11:21:27 +0800 Subject: [PATCH] store: bump to v1.1.0 --- CHANGELOG | 10 ++++++++++ README.md | 8 ++++++++ doc.go | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 26f18fd..ba64e86 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,15 @@ # CHANGELOG +- v1.1.0 + - [BREAK] in Store API, unexport struct ptr removed, instead of `Store` interface. + These apis changed to: + - `Clone() (newStore Store)` + - `Dup() (newStore Store)` + - `WithPrefix(prefix ...string) (newStore Store)` + - `WithPrefixReplaced(newPrefix ...string) (newStore Store)` + - security patch + - upgrade deps + - v1.0.19 - security patch - upgrade deps diff --git a/README.md b/README.md index 5c2e68b..e31e2f8 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,14 @@ For more information, browse these public sites: To see the recently changes at [CHANGELOG](https://github.com/hedzr/store/blob/master/CHANGELOG). +> Since v1.1.0, unexported struct ptr (*storeS) removed from `Store` API. +> +> These apis changed to: +> - `Clone() (newStore Store)` +> - `Dup() (newStore Store)` +> - `WithPrefix(prefix ...string) (newStore Store)` +> - `WithPrefixReplaced(newPrefix ...string) (newStore Store)` + ## More Features The `store` gives many advanced features from out of the box, but the relative documents are not enough. We will try our best to fill more documentation at a certain point in the future. diff --git a/doc.go b/doc.go index 104ab7f..a009f9b 100644 --- a/doc.go +++ b/doc.go @@ -109,4 +109,4 @@ // - https://github.com/hedzr/store package store -const Version = "v1.0.19" // Version of libs.store +const Version = "v1.1.0" // Version of libs.store