This release tags everything that landed on main since v12.2.11. From now on the v12 code lives on the v12 branch, and main moves on to v14, which has its own import path. Nothing changes for your imports: v12 is still github.com/kataras/iris/v12.
Upgrade with go get github.com/kataras/iris/v12@latest.
What's new
- The module now requires Go 1.26 (v12.2.11 required 1.22).
- Dependencies are at their newest versions.
golang.org/x/cryptogoes from v0.31.0 to v0.59.0 andgolang.org/x/netfrom v0.26.0 to v0.62.0, which brings in their security fixes. sessions/sessiondb/badgermoves from badger v2 to v4. Its import is nowgithub.com/dgraph-io/badger/v4.x/jsonx:ISO8601parses timestamps with an unconventional offset, such as2024-05-21T18:06:07.000000-04:01:19.x/jsonx: newSeasonbitmask type and aGetSeasonByDate(SimpleDate)helper.x/errors: when a response body cannot be encoded because of aNaNvalue, the error reports which field holds it.macro/interpreter/token:Typehas aString()method. A token type prints as its name (LBRACE) instead of a number.- New Arabic translation of the README: README_AR.md (#2539).
- Documentation and example links point to the
v12branch, and CI runs on it.
Known issue
Keep github.com/kataras/golog at v0.1.12 and github.com/kataras/pio at v0.0.13 (#2587). Running go get -u in your app pulls golog v0.2.0 and pio v0.0.14, and Iris v12 does not compile against them. If your build breaks after an upgrade, run go get github.com/kataras/golog@v0.1.12 github.com/kataras/pio@v0.0.13.
Full changelog: v12.2.11...v12.2.12