Skip to content

Commit 58303bd

Browse files
authored
docs(changelog): add break changes section (#3170)
* docs(changelog): add break changes section * chore: update
1 parent 5fa3452 commit 58303bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Gin v1.8.0
44

5+
## Break Changes
6+
7+
* TrustedProxies: Add default IPv6 support and refactor [#2967](https://github.com/gin-gonic/gin/pull/2967). Please replace `RemoteIP() (net.IP, bool)` with `RemoteIP() net.IP`
8+
* gin.Context with fallback value from gin.Context.Request.Context() [#2751](https://github.com/gin-gonic/gin/pull/2751)
9+
510
### BUGFIXES
611

712
* Fixed SetOutput() panics on go 1.17 [#2861](https://github.com/gin-gonic/gin/pull/2861)
@@ -18,7 +23,6 @@
1823
* Get client IP when using Cloudflare [#2723](https://github.com/gin-gonic/gin/pull/2723)
1924
* Optimize code adjust [#2700](https://github.com/gin-gonic/gin/pull/2700/files)
2025
* Optimize code and reduce code cyclomatic complexity [#2737](https://github.com/gin-gonic/gin/pull/2737)
21-
* gin.Context with fallback value from gin.Context.Request.Context() [#2751](https://github.com/gin-gonic/gin/pull/2751)
2226
* Improve sliceValidateError.Error performance [#2765](https://github.com/gin-gonic/gin/pull/2765)
2327
* Support custom struct tag [#2720](https://github.com/gin-gonic/gin/pull/2720)
2428
* Improve router group tests [#2787](https://github.com/gin-gonic/gin/pull/2787)

0 commit comments

Comments
 (0)