From 5473ef489f71edb04c755af960a5292fd00b9f3b Mon Sep 17 00:00:00 2001 From: pzrr Date: Wed, 13 Dec 2023 10:11:07 +0800 Subject: [PATCH] ####Version 1.7.21 * feature: add SessionManager.RemoveSessionState to delete the session state associated with a specific session ID * feature: add HttpContext.DestorySession() to delete all contents of the session and set the sessionId to empty * For my birthday! * 2023-04-15 16:00 at ShangHai --- consts.go | 2 +- version.MD | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/consts.go b/consts.go index 06f13ca..1a6f70b 100644 --- a/consts.go +++ b/consts.go @@ -3,7 +3,7 @@ package dotweb // Global define const ( // Version current version - Version = "1.7.21" + Version = "1.7.22" ) // Log define diff --git a/version.MD b/version.MD index a1d1bdf..6270a24 100644 --- a/version.MD +++ b/version.MD @@ -1,5 +1,10 @@ ## dotweb版本记录: +####Version 1.7.22 +* tip: use strings.Contains instead strings.Index on server.go +* Thanks for @testwill #253! +* 2023-12-13 08:00 at ShangHai + ####Version 1.7.21 * feature: add SessionManager.RemoveSessionState to delete the session state associated with a specific session ID * feature: add HttpContext.DestorySession() to delete all contents of the session and set the sessionId to empty