diff --git a/README.md b/README.md index 6b759e594..8d3783efb 100644 --- a/README.md +++ b/README.md @@ -952,7 +952,7 @@ experimental: plugins: souin: moduleName: github.com/darkweak/souin - version: v1.7.4 + version: v1.7.5 ``` After that you can declare either the whole configuration at once in the middleware block or by service. See the examples below. ```yaml diff --git a/plugins/beego/go.mod b/plugins/beego/go.mod index 62f5353ff..27add95dd 100644 --- a/plugins/beego/go.mod +++ b/plugins/beego/go.mod @@ -6,9 +6,9 @@ toolchain go1.22.4 require ( github.com/beego/beego/v2 v2.1.1 - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 ) require ( @@ -184,7 +184,7 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin => ../souin github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/caddy/go.mod b/plugins/caddy/go.mod index ac53169c4..743ade769 100644 --- a/plugins/caddy/go.mod +++ b/plugins/caddy/go.mod @@ -4,7 +4,7 @@ go 1.22.1 require ( github.com/caddyserver/caddy/v2 v2.8.4 - github.com/darkweak/souin v1.7.4 + github.com/darkweak/souin v1.7.5 github.com/darkweak/storages/core v0.0.11 ) @@ -153,4 +153,4 @@ require ( howett.net/plist v1.0.0 // indirect ) -replace github.com/darkweak/souin v1.7.4 => ../.. +replace github.com/darkweak/souin v1.7.5 => ../.. diff --git a/plugins/chi/go.mod b/plugins/chi/go.mod index e9cc72033..b9734c0cd 100644 --- a/plugins/chi/go.mod +++ b/plugins/chi/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/chi go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/go-chi/chi/v5 v5.0.12 ) @@ -179,6 +179,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/dotweb/go.mod b/plugins/dotweb/go.mod index e3d496346..a012bb71e 100644 --- a/plugins/dotweb/go.mod +++ b/plugins/dotweb/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/dotweb go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/devfeel/dotweb v1.7.21 ) @@ -180,6 +180,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/echo/go.mod b/plugins/echo/go.mod index 0e4a93d43..f771308df 100644 --- a/plugins/echo/go.mod +++ b/plugins/echo/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/echo go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/darkweak/storages/core v0.0.11 github.com/labstack/echo/v4 v4.11.1 ) @@ -182,6 +182,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/fiber/go.mod b/plugins/fiber/go.mod index a0e98ea9d..bddfeee3b 100644 --- a/plugins/fiber/go.mod +++ b/plugins/fiber/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/fiber go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/gofiber/fiber/v2 v2.52.1 github.com/valyala/fasthttp v1.51.0 ) @@ -185,6 +185,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/gin/go.mod b/plugins/gin/go.mod index d55f33b2a..633b6d4cd 100644 --- a/plugins/gin/go.mod +++ b/plugins/gin/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/gin go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/gin-gonic/gin v1.9.1 ) @@ -196,6 +196,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/go-zero/go.mod b/plugins/go-zero/go.mod index 2ad913298..4e83af34a 100644 --- a/plugins/go-zero/go.mod +++ b/plugins/go-zero/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/go-zero go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/zeromicro/go-zero v1.6.2 ) @@ -199,6 +199,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/goa/go.mod b/plugins/goa/go.mod index a3190164a..44ef20d96 100644 --- a/plugins/goa/go.mod +++ b/plugins/goa/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/goa go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/darkweak/storages/core v0.0.11 goa.design/goa/v3 v3.12.3 ) @@ -181,6 +181,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/goyave/go.mod b/plugins/goyave/go.mod index 5e50b46ae..3e74bd811 100644 --- a/plugins/goyave/go.mod +++ b/plugins/goyave/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/goyave go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 goyave.dev/goyave/v4 v4.4.11 ) @@ -186,6 +186,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/hertz/go.mod b/plugins/hertz/go.mod index 34d34a7e9..e5b9bf86a 100644 --- a/plugins/hertz/go.mod +++ b/plugins/hertz/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/hertz go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 ) require ( @@ -195,6 +195,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/kratos/go.mod b/plugins/kratos/go.mod index 9cf21f7c5..2dbc96cf9 100644 --- a/plugins/kratos/go.mod +++ b/plugins/kratos/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/kratos go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/go-kratos/kratos/v2 v2.7.0 gopkg.in/yaml.v3 v3.0.1 ) @@ -183,6 +183,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/roadrunner/go.mod b/plugins/roadrunner/go.mod index cedb787c1..25d559177 100644 --- a/plugins/roadrunner/go.mod +++ b/plugins/roadrunner/go.mod @@ -3,9 +3,9 @@ module github.com/darkweak/souin/plugins/roadrunner go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/roadrunner-server/errors v1.3.0 go.uber.org/zap v1.27.0 gopkg.in/yaml.v3 v3.0.1 @@ -180,7 +180,7 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin => ../souin github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/skipper/go.mod b/plugins/skipper/go.mod index 346fb8313..96efb71d4 100644 --- a/plugins/skipper/go.mod +++ b/plugins/skipper/go.mod @@ -3,8 +3,8 @@ module github.com/darkweak/souin/plugins/skipper go 1.22.1 require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/zalando/skipper v0.16.145 ) @@ -219,6 +219,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages ) diff --git a/plugins/souin/go.mod b/plugins/souin/go.mod index a6a6c9ad3..23f1c32af 100644 --- a/plugins/souin/go.mod +++ b/plugins/souin/go.mod @@ -3,13 +3,13 @@ module github.com/darkweak/souin/plugins/souin go 1.22.1 replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ./storages ) require ( - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 github.com/darkweak/storages/core v0.0.11 github.com/fsnotify/fsnotify v1.7.0 go.uber.org/zap v1.27.0 diff --git a/plugins/souin/storages/go.mod b/plugins/souin/storages/go.mod index 5abf867f2..da5d24346 100644 --- a/plugins/souin/storages/go.mod +++ b/plugins/souin/storages/go.mod @@ -5,7 +5,7 @@ go 1.22.1 replace github.com/darkweak/souin => ../../.. require ( - github.com/darkweak/souin v1.7.4 + github.com/darkweak/souin v1.7.5 github.com/darkweak/storages/badger v0.0.8 github.com/darkweak/storages/core v0.0.11 github.com/darkweak/storages/etcd v0.0.8 diff --git a/plugins/traefik/go.mod b/plugins/traefik/go.mod index 18d597104..503e93f52 100644 --- a/plugins/traefik/go.mod +++ b/plugins/traefik/go.mod @@ -4,7 +4,7 @@ go 1.22.1 require ( github.com/akyoto/cache v1.0.6 - github.com/darkweak/souin v1.7.4 + github.com/darkweak/souin v1.7.5 github.com/pquerna/cachecontrol v0.2.0 ) @@ -125,6 +125,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. go.uber.org/zap v1.26.0 => go.uber.org/zap v1.21.0 ) diff --git a/plugins/traefik/vendor/github.com/darkweak/souin/pkg/rfc/cache_status.go b/plugins/traefik/vendor/github.com/darkweak/souin/pkg/rfc/cache_status.go index f02132fb7..804f8da16 100644 --- a/plugins/traefik/vendor/github.com/darkweak/souin/pkg/rfc/cache_status.go +++ b/plugins/traefik/vendor/github.com/darkweak/souin/pkg/rfc/cache_status.go @@ -67,7 +67,7 @@ func GetCacheKeyFromCtx(currentCtx ctx.Context) string { } } - return "" + return "*****" } // MissCache set miss fwd diff --git a/plugins/traefik/vendor/modules.txt b/plugins/traefik/vendor/modules.txt index 0cc46c0c0..c3559df18 100644 --- a/plugins/traefik/vendor/modules.txt +++ b/plugins/traefik/vendor/modules.txt @@ -66,7 +66,7 @@ github.com/cpuguy83/go-md2man/v2/md2man # github.com/darkweak/go-esi v0.0.5 ## explicit; go 1.18 github.com/darkweak/go-esi/esi -# github.com/darkweak/souin v1.7.4 => ../.. +# github.com/darkweak/souin v1.7.5 => ../.. ## explicit; go 1.22.1 github.com/darkweak/souin/configurationtypes github.com/darkweak/souin/context diff --git a/plugins/tyk/go.mod b/plugins/tyk/go.mod index 8f2665486..ea0a11184 100644 --- a/plugins/tyk/go.mod +++ b/plugins/tyk/go.mod @@ -5,8 +5,8 @@ go 1.22.1 require ( github.com/TykTechnologies/tyk v1.9.2-0.20230330071232-370295d796b5 github.com/cespare/xxhash/v2 v2.2.0 - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin v1.7.5 github.com/patrickmn/go-cache v2.1.0+incompatible github.com/pquerna/cachecontrol v0.2.0 go.uber.org/zap v1.27.0 @@ -182,7 +182,7 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin => ../souin github.com/darkweak/souin/plugins/souin/storages => ../souin/storages gopkg.in/alecthomas/kingpin.v2 v2.2.6 => github.com/alecthomas/kingpin/v2 v2.3.2 diff --git a/plugins/webgo/go.mod b/plugins/webgo/go.mod index e536796a8..a3d247729 100644 --- a/plugins/webgo/go.mod +++ b/plugins/webgo/go.mod @@ -4,8 +4,8 @@ go 1.22.1 require ( github.com/bnkamalesh/webgo/v6 v6.7.0 - github.com/darkweak/souin v1.7.4 - github.com/darkweak/souin/plugins/souin/storages v1.7.4 + github.com/darkweak/souin v1.7.5 + github.com/darkweak/souin/plugins/souin/storages v1.7.5 ) require ( @@ -179,6 +179,6 @@ require ( ) replace ( - github.com/darkweak/souin v1.7.4 => ../.. + github.com/darkweak/souin v1.7.5 => ../.. github.com/darkweak/souin/plugins/souin/storages => ../souin/storages )