weixin_39531992
weixin_39531992
2020-12-06 12:18

Bump github.com/gin-gonic/gin from 1.4.0 to 1.5.0

Bumps github.com/gin-gonic/gin from 1.4.0 to 1.5.0.

Release notes *Sourced from [github.com/gin-gonic/gin's releases](https://github.com/gin-gonic/gin/releases).* > ## v1.5.0 > ## Feature > > - [NEW] Now you can parse the inline lowercase start structure [#1893](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1893) > - [NEW] **[Break-Backward]** Hold matched route full path in the Context [#1826](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1826) > - [NEW] Add context param query cache [#1450](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1450) > - [NEW] Add support of multipart multi files [#1949](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1949) > - [NEW] Support bind http header param [#1957](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1957) > - [NEW] Support bind unix time [#1980](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1980) > - [NEW] Support negative Content-Length in DataFromReader [#1981](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1981) > - [NEW] Add DisallowUnknownFields() in gin.Context.BindJSON() [#2028](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2028) > - [NEW] Use specific `net.Listener` with Engine.RunListener() [#2023](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2023) > > ## Bug fix > > - [FIX] Use DefaultWriter and DefaultErrorWriter for debug messages [#1891](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1891) > - [FIX] Some code improvements [#1909](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1909) > - [FIX] Use encode replace json marshal increase json encoder speed [#1546](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1546) > - [FIX] Fix context.Params race condition on Copy() [#1841](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1841) > - [FIX] Improve GetQueryMap performance [#1918](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1918) > - [FIX] Improve get post data [#1920](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1920) > - [FIX] Use context instead of x/net/context [#1922](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1922) > - [FIX] Attempt to fix PostForm cache bug [#1931](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1931) > - [FIX] **[Break-Backward]** Drop support for go1.8 and go1.9 [#1933](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1933) > - [FIX] Bugfix for the FullPath feature [#1919](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1919) > - [FIX] Gin1.5 bytes.Buffer to strings.Builder [#1939](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1939) > - [FIX] Upgrade github.com/ugorji/go/codec [#1969](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1969) > - [FIX] Simplify code [#2004](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2004) > - [FIX] Identify terminal on a RISC-V architecture for auto-colored logs [#2019](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2019) > - [FIX] **[Break-Backward]** Context.JSONP() now expects a semicolon (;) at the end [#2007](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2007) > - [FIX] **[Break-Backward]** Upgrade validator version to v9 [#1015](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1015) > - [FIX] Fix some typo [#2079](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2079) [#2080](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2080) > - [FIX] Relocate binding body tests [#2086](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2086) > - [FIX] Use Writer in Context.Status [#1606](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1606) > - [FIX] `Engine.RunUnix()` now returns the error if it can't change the file mode [#2093](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2093) > - [FIX] `RouterGroup.StaticFS()` leaked files. Now it closes them. [#2118](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2118) > - [FIX] `Context.Request.FormFile` leaked file, now it closes it [#2114](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2114) > - [FIX] Ignore walking on `form:"-"` mapping [#1943](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1943) Changelog *Sourced from [github.com/gin-gonic/gin's changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md).* > ### Gin v1.5.0 > > - [FIX] Use DefaultWriter and DefaultErrorWriter for debug messages [#1891](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1891) > - [NEW] Now you can parse the inline lowercase start structure [#1893](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1893) > - [FIX] Some code improvements [#1909](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1909) > - [FIX] Use encode replace json marshal increase json encoder speed [#1546](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1546) > - [NEW] Hold matched route full path in the Context [#1826](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1826) > - [FIX] Fix context.Params race condition on Copy() [#1841](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1841) > - [NEW] Add context param query cache [#1450](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1450) > - [FIX] Improve GetQueryMap performance [#1918](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1918) > - [FIX] Improve get post data [#1920](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1920) > - [FIX] Use context instead of x/net/context [#1922](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1922) > - [FIX] Attempt to fix PostForm cache bug [#1931](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1931) > - [NEW] Add support of multipart multi files [#1949](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1949) > - [NEW] Support bind http header param [#1957](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1957) > - [FIX] Drop support for go1.8 and go1.9 [#1933](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1933) > - [FIX] Bugfix for the FullPath feature [#1919](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1919) > - [FIX] Gin1.5 bytes.Buffer to strings.Builder [#1939](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1939) > - [FIX] Upgrade github.com/ugorji/go/codec [#1969](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1969) > - [NEW] Support bind unix time [#1980](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1980) > - [FIX] Simplify code [#2004](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2004) > - [NEW] Support negative Content-Length in DataFromReader [#1981](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1981) > - [FIX] Identify terminal on a RISC-V architecture for auto-colored logs [#2019](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2019) > - [BREAKING] `Context.JSONP()` now expects a semicolon (`;`) at the end [#2007](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2007) > - [BREAKING] Upgrade default `binding.Validator` to v9 (see [its changelog](https://github.com/go-playground/validator/releases/tag/v9.0.0)) [#1015](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1015) > - [NEW] Add `DisallowUnknownFields()` in `Context.BindJSON()` [#2028](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2028) > - [NEW] Use specific `net.Listener` with `Engine.RunListener()` [#2023](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2023) > - [FIX] Fix some typo [#2079](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2079) [#2080](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2080) > - [FIX] Relocate binding body tests [#2086](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2086) > - [FIX] Use Writer in Context.Status [#1606](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1606) > - [FIX] `Engine.RunUnix()` now returns the error if it can't change the file mode [#2093](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2093) > - [FIX] `RouterGroup.StaticFS()` leaked files. Now it closes them. [#2118](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2118) > - [FIX] `Context.Request.FormFile` leaked file. Now it closes it. [#2114](https://github-redirect.dependabot.com/gin-gonic/gin/pull/2114) > - [FIX] Ignore walking on `form:"-"` mapping [#1943](https://github-redirect.dependabot.com/gin-gonic/gin/pull/1943) Commits - [`15ced05`](https://github.com/gin-gonic/gin/commit/15ced05c5316609bce5b43389f8e3f06102a8b18) ready to release v1.5.0 ([#2109](https://github-redirect.dependabot.com/gin-gonic/gin/issues/2109)) - [`db9174a`](https://github.com/gin-gonic/gin/commit/db9174ae0c2587fe1c755def0f88cb9aba9e9641) fix ignore walking on form mapping ([#1942](https://github-redirect.dependabot.com/gin-gonic/gin/issues/1942)) ([#1943](https://github-redirect.dependabot.com/gin-gonic/gin/issues/1943)) - [`0f95195`](https://github.com/gin-gonic/gin/commit/0f951956d0b8b4b459a2f46bcd4e7118f0306210) [FIX] c.Request.FormFile maybe file, need close ([#2114](https://github-redirect.dependabot.com/gin-gonic/gin/issues/2114)) - [`aabaccb`](https://github.com/gin-gonic/gin/commit/aabaccbba2b670e3625c9d9e89b4157a47f052b8) Close files opened in static file handler ([#2118](https://github-redirect.dependabot.com/gin-gonic/gin/issues/2118)) - [`517eacb`](https://github.com/gin-gonic/gin/commit/517eacb4f9ca7276511841c63e2911d6ec94c22a) Update gin.go ([#2110](https://github-redirect.dependabot.com/gin-gonic/gin/issues/2110)) - [`393a63f`](https://github.com/gin-gonic/gin/commit/393a63f3b020df89d42695064443760c7d0a0dc8) Fix 'errcheck' linter warnings ([#2093](https://github-redirect.dependabot.com/gin-gonic/gin/issues/2093)) - [`8a1bfcf`](https://github.com/gin-gonic/gin/commit/8a1bfcfd3b8b514f5cd9d36b575af204a86ddfb0) format errUnknownType ([#2103](https://github-redirect.dependabot.com/gin-gonic/gin/issues/2103)) - [`089016a`](https://github.com/gin-gonic/gin/commit/089016a09297b7acc16b3df2ef2add1880b17502) Update README.md ([#2106](https://github-redirect.dependabot.com/gin-gonic/gin/issues/2106)) - [`0ce4661`](https://github.com/gin-gonic/gin/commit/0ce46610292cc8877a914b1cee41acd5dc9da7ae) Use Writer in Context.Status ([#1606](https://github-redirect.dependabot.com/gin-gonic/gin/issues/1606)) - [`1a1cf65`](https://github.com/gin-gonic/gin/commit/1a1cf655bd72f769e680270f2d39e43f1b82b2ad) add details in issue template ([#2085](https://github-redirect.dependabot.com/gin-gonic/gin/issues/2085)) - Additional commits viewable in [compare view](https://github.com/gin-gonic/gin/compare/v1.4.0...v1.5.0)


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

Dependabot will merge this PR once CI passes on it, as requested by .

Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - ` rebase` will rebase this PR - ` recreate` will recreate this PR, overwriting any edits that have been made to it - ` merge` will merge this PR after your CI passes on it - ` squash and merge` will squash and merge this PR after your CI passes on it - ` cancel merge` will cancel a previously requested merge and block automerging - ` reopen` will reopen this PR if it is closed - ` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ` 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) - ` 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) - ` 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) - ` use these labels` will set the current labels as the default for future PRs for this repo and language - ` use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - ` use these assignees` will set the current assignees as the default for future PRs for this repo and language - ` use this milestone` will set the current milestone as the default for future PRs for this repo and language - ` badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)

该提问来源于开源项目:smartcontractkit/chainlink

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39719585 weixin_39719585 5月前

    rebase

    点赞 评论 复制链接分享
  • weixin_39739404 weixin_39739404 5月前

    The update causes a trailing newline to be returned for JSON responses.

    点赞 评论 复制链接分享
  • weixin_39739404 weixin_39739404 5月前

    could you OK this?

    点赞 评论 复制链接分享
  • weixin_39719585 weixin_39719585 5月前

    merge

    点赞 评论 复制链接分享