Gin v1.7.0 Release Notes
-
🛠 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)