From 73252d2c16b7c25981c2ac6fdba56feb863e7bd4 Mon Sep 17 00:00:00 2001 From: hz Date: Wed, 27 Dec 2023 16:41:29 +0800 Subject: [PATCH] bump to v2.1.0 --- README.md | 9 ++++++++- doc.go | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7d865f2..917a98d 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,12 @@ MPMC (multiple-producers and multiple consumers) enabled. ## History +### v2.1.0 + +- remove extras deps + - use 'log/slog' instead 'hedzr/log', 'errors' instead 'hedzr/errors.v3' +- remove WithLogger() + ### v2.0.+ security updates @@ -43,7 +49,8 @@ Next release (v2) will move to go 1.18+ with generic enabled. - review all codes - updated deps - review and solve uncertain misreport failed licenses - - we have two deps: [hedzr/errors](https://github.com/hedzr/errors) and [hedzr/log](https://github.com/hedzr/log), and both them have no 3rd-party deps. + - ~~we have two deps: [hedzr/errors](https://github.com/hedzr/errors) and [hedzr/log](https://github.com/hedzr/log), and both them have no 3rd-party deps.~~ + - since 2.1.0, any deps removed. - we have no more 3rd-party deps. - we assumed a free license under MIT (unified). diff --git a/doc.go b/doc.go index 8e223c2..c06f511 100644 --- a/doc.go +++ b/doc.go @@ -9,7 +9,7 @@ const ( // AppName const AppName = "ringbuf" // Version const - Version = "2.0.1" + Version = "2.1.0" // VersionInt const - VersionInt = 0x020001 + VersionInt = 0x020100 )