Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/kataras/iris/v12 from 12.1.8 to 12.2.0 in /collector #1786

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 19, 2023

Bumps github.com/kataras/iris/v12 from 12.1.8 to 12.2.0.

Release notes

Sourced from github.com/kataras/iris/v12's releases.

v12.2.0

What's Changed

New Contributors

Full Changelog: kataras/iris@v12.1.8...v12.2.0

Changelog

Sourced from github.com/kataras/iris/v12's changelog.

Sa, 11 March 2023 | v12.2.0

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.

Fixes and Improvements

  • Add iris.TrimParamFilePart to handle cases like #2024 and improve the _examples/routing/dynamic-path/main.go example to include that case as well.

  • 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.

  • [PR #1992](kataras/iris#1992): Added support for third party packages on httptest. An example using 3rd-party module named Ginkgo can be found here.

  • Add Context.Render method for compatibility.

  • 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, 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.

  • Minor fixes.

  • Enable setting a custom "go-redis" client through SetClient go redis driver method or Client struct field on sessions/database/redis driver as requested at chat.

  • Ignore "csrf.token" form data key when missing on ctx.ReadForm by default as requested at #1941.

  • Fix CVE-2020-5398.

  • New {x:weekday} path parameter type, example code:

// 0 to 7 (leading zeros don't matter) or "Sunday" to "Monday" or "sunday" to "monday".
// http://localhost:8080/schedule/monday or http://localhost:8080/schedule/Monday or
// http://localhost:8080/schedule/1 or http://localhost:8080/schedule/0001.
app.Get("/schedule/{day:weekday}", func(ctx iris.Context) {
    day, _ := ctx.Params().GetWeekday("day")
    ctx.Writef("Weekday requested was: %v\n", day)
})
  • Make the Context.JSON method customizable by modifying the context.WriteJSON package-level function.
  • Add new iris.NewGuide which helps you build a simple and nice JSON API with services as dependencies and better design pattern.
  • Make Context.Domain() customizable by letting developers to modify the Context.GetDomain package-level function.
  • Remove Request Context-based Transaction feature as its usage can be replaced with just the Iris Context (as of go1.7+) and better project structure.
  • Fix #1882

... (truncated)

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 19, 2023
Bumps [github.com/kataras/iris/v12](https://github.com/kataras/iris) from 12.1.8 to 12.2.0.
- [Release notes](https://github.com/kataras/iris/releases)
- [Changelog](https://github.com/kataras/iris/blob/main/HISTORY.md)
- [Commits](kataras/iris@v12.1.8...v12.2.0)

---
updated-dependencies:
- dependency-name: github.com/kataras/iris/v12
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/collector/github.com/kataras/iris/v12-12.2.0 branch from f4921fc to 4b6cfc5 Compare December 19, 2023 04:02
@empiredan empiredan merged commit 0256872 into master Dec 19, 2023
11 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/collector/github.com/kataras/iris/v12-12.2.0 branch December 19, 2023 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collector dependencies Pull requests that update a dependency file github go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants