Developers are not forced to upgrade if they don't really need it. Upgrade whenever you feel ready.
How to upgrade: Open your command-line and execute this command: go get github.com/kataras/iris/v12@latest.
Next
This release introduces new features and some breaking changes.
The codebase for Dependency Injection, Internationalization and localization and more have been simplified a lot (fewer LOCs and easier to read and follow up).
24 Dec 2022
All new features have been tested in production and seem to work fine. Fixed all reported and reproducible bugs. The v12.2.0-beta7 is the latest beta release of v12.2.0. Expect the final public and stable release of v12.2.0 shortly after February 2023.
Breaking-change: HTML template functions yield, part, partial, partial_r and render now accept (and require for some cases) a second argument of the binding data context too. Convert: {{ yield }} to {{ yield . }}, {{ render "templates/mytemplate.html" }} to {{ render "templates/mytemplate.html" . }}, {{ partial "partials/mypartial.html" }} to {{ partial "partials/mypartial.html" . }} and so on.
Add new URLParamSeparator to the configuration. Defaults to "," but can be set to an empty string to disable splitting query values on Context.URLParamSlice method.
Support of embedded locale files using standard embed.FS with the new LoadFS function.
Support of direct embedded view engines (HTML, Blocks, Django, Handlebars, Pug, Amber, Jet and Ace) with embed.FS or fs.FS (in addition to string and http.FileSystem types).
Add support for embed.FS and fs.FS on app.HandleDir.
Add iris.Patches() package-level function to customize Iris Request Context REST (and more to come) behavior.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/kataras/iris/v12 from 12.2.0-beta6 to 12.2.0-beta7.
Release notes
Sourced from github.com/kataras/iris/v12's releases.
Changelog
Sourced from github.com/kataras/iris/v12's changelog.
... (truncated)
Commits
3a72603
v12.2.0-beta78de2fa6
Bump github.com/shirou/gopsutil/v3 from 3.22.10 to 3.22.11 (#2015)29c8f44
add iris.TrimParamFilePart85fd5ea
README: fix badge icons based on the latest github changes7c894d8
Merge branch 'master' of https://github.com/kataras/iris2f063c8
README: fix badge icons based on the latest github changes37748f6
Bump github.com/CloudyKit/jet/v6 from 6.1.0 to 6.2.0 (#2023)de8883f
examples: add an example for #20191ea5cd5
builtin html template functions changesabeae40
Bump github.com/klauspost/compress from 1.15.12 to 1.15.13 (#2020)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)