From de478687dc0f4c0852ef4bae79dfe73b1443c17c Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sat, 12 Aug 2023 07:29:22 +0300 Subject: [PATCH] release v12.2.2 --- HISTORY.md | 4 ++++ go.mod | 2 +- iris.go | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 85e24c41ec..bfd26c8f8f 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -23,6 +23,10 @@ Developers are not forced to upgrade if they don't really need it. Upgrade whene Changes apply to `master` branch. +# Sat, 12 Aug 2023 | v12.2.2 + +- Add new `iris.WithDynamicHandler` option (`EnableDynamicHandler` setting) to work with `iris.Application.RefreshRouter` method. It allows to change the entire router while your server is up and running. Handles [issue #2167](https://github.com/kataras/iris/issues/2167). Example at [_examples/routing/route-state/main.go](_examples/routing/route-state/main.go). + # Mon, 17 July 2023 | v12.2.1 - Add `mvc.Application.EnableStructDependents()` method to handle [#2158](https://github.com/kataras/iris/issues/2158). diff --git a/go.mod b/go.mod index d386d07a44..c4b8d7ad25 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/kataras/iris/v12 go 1.21 -retract [v12.0.0, v12.1.8] // Retract older versions as only latest is to be depended upon. Please update to @latest +retract [v0.0.2, v12.0.0, v12.1.8] // Retract older versions as only latest is to be depended upon. Please update to @latest require ( github.com/BurntSushi/toml v1.3.2 diff --git a/iris.go b/iris.go index 4e6d652c8c..b785a10556 100644 --- a/iris.go +++ b/iris.go @@ -38,7 +38,7 @@ import ( ) // Version is the current version of the Iris Web Framework. -const Version = "12.2.1" +const Version = "12.2.2" // Byte unit helpers. const (