Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Update module github.com/gin-gonic/gin to v1.7.2 #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 9, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
github.com/gin-gonic/gin require minor v1.3.0 -> v1.7.2

Release Notes

gin-gonic/gin

v1.7.2

Compare Source

BUGFIXES

v1.7.1

Compare Source

BUGFIXES

v1.7.0

Compare Source

BUGFIXES
  • fix compile error from #​2572 (#​2600)
  • fix: print headers without Authorization header on broken pipe (#​2528)
  • fix(tree): reassign fullpath when register new node (#​2366)
ENHANCEMENTS
  • Support params and exact routes without creating conflicts (#​2663)
  • chore: improve render string performance (#​2365)
  • Sync route tree to httprouter latest code (#​2368)
  • chore: rename getQueryCache/getFormCache to initQueryCache/initFormCa (#​2375)
  • chore(performance): improve countParams (#​2378)
  • Remove some functions that have the same effect as the bytes package (#​2387)
  • update:SetMode function (#​2321)
  • remove a unused type SecureJSONPrefix (#​2391)
  • Add a redirect sample for POST method (#​2389)
  • Add CustomRecovery builtin middleware (#​2322)
  • binding: avoid 2038 problem on 32-bit architectures (#​2450)
  • Prevent panic in Context.GetQuery() when there is no Request (#​2412)
  • Add GetUint and GetUint64 method on gin.context (#​2487)
  • update content-disposition header to MIME-style (#​2512)
  • reduce allocs and improve the render WriteString (#​2508)
  • implement ".Unwrap() error" on Error type (#​2525) (#​2526)
  • Allow bind with a map[string]string (#​2484)
  • chore: update tree (#​2371)
  • Support binding for slice/array obj [Rewrite] (#​2302)
  • basic auth: fix timing oracle (#​2609)
  • Add mixed param and non-param paths (port of httprouter#​329) (#​2663)
  • feat(engine): add trustedproxies and remoteIP (#​2632)

v1.6.3

Compare Source

ENHANCEMENTS
  • Improve performance: Change *sync.RWMutex to sync.RWMutex in context. #​2351

v1.6.2

Compare Source

BUGFIXES
  • fix missing initial sync.RWMutex #​2305
ENHANCEMENTS

v1.6.1

Compare Source

BUGFIXES
  • Revert "fix accept incoming network connections" #​2294

v1.6.0

Compare Source

BREAKING
  • chore(performance): Improve performance for adding RemoveExtraSlash flag #​2159
  • drop support govendor #​2148
  • Added support for SameSite cookie flag #​1615
FEATURES
BUGFIXES
  • Unix Socket Handling #​2280
  • Use json marshall in context json to fix breaking new line issue. Fixes #​2209 #​2228
  • fix accept incoming network connections #​2216
  • Fixed a bug in the calculation of the maximum number of parameters #​2166
  • [FIX] allow empty headers on DataFromReader #​2121
  • Add mutex for protect Context.Keys map #​1391
ENHANCEMENTS
  • Add mitigation for log injection #​2277
  • tree: range over nodes values #​2229
  • tree: remove duplicate assignment #​2222
  • chore: upgrade go-isatty and json-iterator/go #​2215
  • path: sync code with httprouter #​2212
  • Use zero-copy approach to convert types between string and byte slice #​2206
  • Reuse bytes when cleaning the URL paths #​2179
  • tree: remove one else statement #​2177
  • tree: sync httprouter update (#​2173) (#​2172) #​2171
  • tree: sync part httprouter codes and reduce if/else #​2163
  • use http method constant #​2155
  • upgrade go-validator to v10 #​2149
  • Refactor redirect request in gin.go #​1970
  • Add build tag nomsgpack #​1852
DOCS
  • docs(path): improve comments #​2223
  • Renew README to fit the modification of SetCookie method #​2217
  • Fix spelling #​2202
  • Remove broken link from README. #​2198
  • Update docs on Context.Done(), Context.Deadline() and Context.Err() #​2196
  • Update validator to v10 #​2190
  • upgrade go-validator to v10 for README #​2189
  • Update to currently output #​2188
  • Fix "Custom Validators" example #​2186
  • Add project to README #​2165
  • docs(benchmarks): for gin v1.5 #​2153
  • Changed wording for clarity in README.md #​2122
MISC

v1.5.0

Compare Source

  • [FIX] Use DefaultWriter and DefaultErrorWriter for debug messages #​1891
  • [NEW] Now you can parse the inline lowercase start structure #​1893
  • [FIX] Some code improvements #​1909
  • [FIX] Use encode replace json marshal increase json encoder speed #​1546
  • [NEW] Hold matched route full path in the Context #​1826
  • [FIX] Fix context.Params race condition on Copy() #​1841
  • [NEW] Add context param query cache #​1450
  • [FIX] Improve GetQueryMap performance #​1918
  • [FIX] Improve get post data #​1920
  • [FIX] Use context instead of x/net/context #​1922
  • [FIX] Attempt to fix PostForm cache bug #​1931
  • [NEW] Add support of multipart multi files #​1949
  • [NEW] Support bind http header param #​1957
  • [FIX] Drop support for go1.8 and go1.9 #​1933
  • [FIX] Bugfix for the FullPath feature #​1919
  • [FIX] Gin1.5 bytes.Buffer to strings.Builder #​1939
  • [FIX] Upgrade github.com/ugorji/go/codec #​1969
  • [NEW] Support bind unix time #​1980
  • [FIX] Simplify code #​2004
  • [NEW] Support negative Content-Length in DataFromReader #​1981
  • [FIX] Identify terminal on a RISC-V architecture for auto-colored logs #​2019
  • [BREAKING] Context.JSONP() now expects a semicolon (;) at the end #​2007
  • [BREAKING] Upgrade default binding.Validator to v9 (see its changelog) #​1015
  • [NEW] Add DisallowUnknownFields() in Context.BindJSON() #​2028
  • [NEW] Use specific net.Listener with Engine.RunListener() #​2023
  • [FIX] Fix some typo #​2079 #​2080
  • [FIX] Relocate binding body tests #​2086
  • [FIX] Use Writer in Context.Status #​1606
  • [FIX] Engine.RunUnix() now returns the error if it can't change the file mode #​2093
  • [FIX] RouterGroup.StaticFS() leaked files. Now it closes them. #​2118
  • [FIX] Context.Request.FormFile leaked file. Now it closes it. #​2114
  • [FIX] Ignore walking on form:"-" mapping #​1943
Gin v1.4.0
  • [NEW] Support for Go Modules #​1569
  • [NEW] Refactor of form mapping multipart request #​1829
  • [FIX] Truncate Latency precision in long running request #​1830
  • [FIX] IsTerm flag should not be affected by DisableConsoleColor method. #​1802
  • [NEW] Supporting file binding #​1264
  • [NEW] Add support for mapping arrays #​1797
  • [FIX] Readme updates #​1793 #​1788 1789
  • [FIX] StaticFS: Fixed Logging two log lines on 404. #​1805, #​1804
  • [NEW] Make context.Keys available as LogFormatterParams #​1779
  • [NEW] Use internal/json for Marshal/Unmarshal #​1791
  • [NEW] Support mapping time.Duration #​1794
  • [NEW] Refactor form mappings #​1749
  • [NEW] Added flag to context.Stream indicates if client disconnected in middle of stream #​1252
  • [FIX] Moved examples to stand alone Repo #​1775
  • [NEW] Extend context.File to allow for the content-disposition attachments via a new method context.Attachment #​1260
  • [FIX] Support HTTP content negotiation wildcards #​1112
  • [NEW] Add prefix from X-Forwarded-Prefix in redirectTrailingSlash #​1238
  • [FIX] context.Copy() race condition #​1020
  • [NEW] Add context.HandlerNames() #​1729
  • [FIX] Change color methods to public in the defaultLogger. #​1771
  • [FIX] Update writeHeaders method to use http.Header.Set #​1722
  • [NEW] Add response size to LogFormatterParams #​1752
  • [NEW] Allow ignoring field on form mapping #​1733
  • [NEW] Add a function to force color in console output. #​1724
  • [FIX] Context.Next() - recheck len of handlers on every iteration. #​1745
  • [FIX] Fix all errcheck warnings #​1739 #​1653
  • [NEW] context: inherits context cancellation and deadline from http.Request context for Go>=1.7 #​1690
  • [NEW] Binding for URL Params #​1694
  • [NEW] Add LoggerWithFormatter method #​1677
  • [FIX] CI testing updates #​1671 #​1670 #​1682 #​1669
  • [FIX] StaticFS(): Send 404 when path does not exist #​1663
  • [FIX] Handle nil body for JSON binding #​1638
  • [FIX] Support bind uri param #​1612
  • [FIX] recovery: fix issue with syscall import on google app engine #​1640
  • [FIX] Make sure the debug log contains line breaks #​1650
  • [FIX] Panic stack trace being printed during recovery of broken pipe #​1089 #​1259
  • [NEW] RunFd method to run http.Server through a file descriptor #​1609
  • [NEW] Yaml binding support #​1618
  • [FIX] Pass MaxMultipartMemory when FormFile is called #​1600
  • [FIX] LoadHTML* tests #​1559
  • [FIX] Removed use of sync.pool from HandleContext #​1565
  • [FIX] Format output log to os.Stderr #​1571
  • [FIX] Make logger use a yellow background and a darkgray text for legibility #​1570
  • [FIX] Remove sensitive request information from panic log. #​1370
  • [FIX] log.Println() does not print timestamp #​829 #​1560
  • [NEW] Add PureJSON renderer #​694
  • [FIX] Add missing copyright and update if/else #​1497
  • [FIX] Update msgpack usage #​1498
  • [FIX] Use protobuf on render #​1496
  • [FIX] Add support for Protobuf format response #​1479
  • [NEW] Set default time format in form binding #​1487
  • [FIX] Add BindXML and ShouldBindXML #​1485
  • [NEW] Upgrade dependency libraries #​1491

v1.4.0

Compare Source

  • [NEW] Support for Go Modules #​1569
  • [NEW] Refactor of form mapping multipart request #​1829
  • [FIX] Truncate Latency precision in long running request #​1830
  • [FIX] IsTerm flag should not be affected by DisableConsoleColor method. #​1802
  • [NEW] Supporting file binding #​1264
  • [NEW] Add support for mapping arrays #​1797
  • [FIX] Readme updates #​1793 #​1788 1789
  • [FIX] StaticFS: Fixed Logging two log lines on 404. #​1805, #​1804
  • [NEW] Make context.Keys available as LogFormatterParams #​1779
  • [NEW] Use internal/json for Marshal/Unmarshal #​1791
  • [NEW] Support mapping time.Duration #​1794
  • [NEW] Refactor form mappings #​1749
  • [NEW] Added flag to context.Stream indicates if client disconnected in middle of stream #​1252
  • [FIX] Moved examples to stand alone Repo #​1775
  • [NEW] Extend context.File to allow for the content-disposition attachments via a new method context.Attachment #​1260
  • [FIX] Support HTTP content negotiation wildcards #​1112
  • [NEW] Add prefix from X-Forwarded-Prefix in redirectTrailingSlash #​1238
  • [FIX] context.Copy() race condition #​1020
  • [NEW] Add context.HandlerNames() #​1729
  • [FIX] Change color methods to public in the defaultLogger. #​1771
  • [FIX] Update writeHeaders method to use http.Header.Set #​1722
  • [NEW] Add response size to LogFormatterParams #​1752
  • [NEW] Allow ignoring field on form mapping #​1733
  • [NEW] Add a function to force color in console output. #​1724
  • [FIX] Context.Next() - recheck len of handlers on every iteration. #​1745
  • [FIX] Fix all errcheck warnings #​1739 #​1653
  • [NEW] context: inherits context cancellation and deadline from http.Request context for Go>=1.7 #​1690
  • [NEW] Binding for URL Params #​1694
  • [NEW] Add LoggerWithFormatter method #​1677
  • [FIX] CI testing updates #​1671 #​1670 #​1682 #​1669
  • [FIX] StaticFS(): Send 404 when path does not exist #​1663
  • [FIX] Handle nil body for JSON binding #​1638
  • [FIX] Support bind uri param #​1612
  • [FIX] recovery: fix issue with syscall import on google app engine #​1640
  • [FIX] Make sure the debug log contains line breaks #​1650
  • [FIX] Panic stack trace being printed during recovery of broken pipe #​1089 #​1259
  • [NEW] RunFd method to run http.Server through a file descriptor #​1609
  • [NEW] Yaml binding support #​1618
  • [FIX] Pass MaxMultipartMemory when FormFile is called #​1600
  • [FIX] LoadHTML* tests #​1559
  • [FIX] Removed use of sync.pool from HandleContext #​1565
  • [FIX] Format output log to os.Stderr #​1571
  • [FIX] Make logger use a yellow background and a darkgray text for legibility #​1570
  • [FIX] Remove sensitive request information from panic log. #​1370
  • [FIX] log.Println() does not print timestamp #​829 #​1560
  • [NEW] Add PureJSON renderer #​694
  • [FIX] Add missing copyright and update if/else #​1497
  • [FIX] Update msgpack usage #​1498
  • [FIX] Use protobuf on render #​1496
  • [FIX] Add support for Protobuf format response #​1479
  • [NEW] Set default time format in form binding #​1487
  • [FIX] Add BindXML and ShouldBindXML #​1485
  • [NEW] Upgrade dependency libraries #​1491

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.


This change is Reviewable

@renovate
Copy link
Author

renovate bot commented May 9, 2021

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻️ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you check the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: core/go.sum
Command failed: docker run --rm --name=renovate_go --label=renovate_child -v "/mnt/renovate/gh/unarxiv/adbt":"/mnt/renovate/gh/unarxiv/adbt" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/renovate-cache/others/go":"/tmp/renovate-cache/others/go" -e GOPATH -e CGO_ENABLED -w "/mnt/renovate/gh/unarxiv/adbt/core" docker.io/renovate/go:1.16.3 bash -l -c "git config --global url.\"https://**redacted**@github.com/\".insteadOf \"https://github.com/\" && go get -d ./..."
go: golang.org/x/crypto@v0.0.0-20190417181257-f416ebab96af: invalid pseudo-version: does not match version-control timestamp (expected 20190417174047)

@renovate renovate bot force-pushed the renovate/github.com-gin-gonic-gin-1.x branch from e712907 to f6e9783 Compare June 6, 2021 20:11
@renovate renovate bot changed the title Update module github.com/gin-gonic/gin to v1.7.1 Update module github.com/gin-gonic/gin to v1.7.2 Jun 6, 2021
@renovate
Copy link
Author

renovate bot commented Jun 6, 2021

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you check the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: core/go.sum
Command failed: docker run --rm --name=renovate_go --label=renovate_child -v "/mnt/renovate/gh/unarxiv/adbt":"/mnt/renovate/gh/unarxiv/adbt" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/renovate-cache/others/go":"/tmp/renovate-cache/others/go" -e GOPATH -e CGO_ENABLED -w "/mnt/renovate/gh/unarxiv/adbt/core" docker.io/renovate/go:1.16.5 bash -l -c "git config --global url.\"https://**redacted**@github.com/\".insteadOf \"https://github.com/\" && go get -d ./..."
go: golang.org/x/crypto@v0.0.0-20190417181257-f416ebab96af: invalid pseudo-version: does not match version-control timestamp (expected 20190417174047)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant