NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules · #2629 by repository stars
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
184 releases · first in 2016
Nothing published for this version
Fixed: - Fix logger timestamp format.
Fixed:
Add X-Request-ID header to log.
Changed:
One column per quarter.
Add Referer and Origin header to log.
Changed:
Fixed: - Fix logging.
Fixed:
Changed: - Add SetTrustedProxy setting.
Changed:
Add status code 499 ClientClosedRequest and use it for context canceled error.
Changed:
Fixed: - Change and fix ctx.IP().
Fixed:
Make ctx.ParseBody support application/jrd+json, application/jose+json and so on.
Fixed:
Changed: - Add ctx.Send method.
Changed:
Fix gear.ContentDisposition for IE7/8.
Fixed:
Add HTTP Status code 103 Early Hints.
Changed:
Fixed:
Changed: - Improve logging.
Changed:
Add GetRouterNodeFromCtx function.
Changed:
Add Decompress function; ctx.ParseBody support compress content.
Changed:
Some methods of App, Router, and Logger return itself for chain-style.
Changed:
Add ctx.MustAny method and logger.SetTo method.
Changed:
Changed: - Add ctx.LogErr method. -----
Changed:
Return error when recalling end method.
Changed:
Changed: - Add Log.With method. -----
Changed:
Add Options.OnlyFiles for static middleware.
Changed:
Fixed: - Fix logging. Add more test.
Fixed:
Fixed: - Fix error logging.
Fixed:
Add Includes option to static middleware.
Changed:
Includes option to static middleware.Change ctx.Get to ctx.GetHeader; Change ctx.Set to ctx.SetHeader.
Changed:
Fixed: - Fix empty status detecting.
Fixed:
Fixed: - Support Referrer header.
Fixed:
Fixed: - Fix const errors.
Fixed:
Fixed: - Fix gear.ValuesToStruct.
Fixed:
Add Error.WithErr(name string).
Changed:
Update logging middleware: print time with brackets.
Changed:
Update defaultHeaderFilterReg for error response.
Changed:
Nothing published for this version
Fix logging's development consume function.
Changed:
Fixed:
Add gear.LoggerFilterWriter to filter unnecessary server errors.
Changed:
Fix root path for router with namepace.
Fixed:
Fix logging middleware, issue 24.
Fixed:
Add gear.SetServerName setting.
Changed:
Change development logger format to "Common Log Format".
Changed:
Improve gear.Error and logging.
Changed:
Improve ValuesToStruct function.
Changed:
Add X-Ratelimit- to defaultHeaderFilterReg.
Fixed:
X-Ratelimit- to defaultHeaderFilterReg.Run "end hooks" in a goroutine, in order to not block current process.
Changed:
Add Error.WithStack(skip ...int) *Error and Error.WithMsgf(format string, args ...any) *Error.
Changed:
Error.WithStack(skip ...int) *Error and Error.WithMsgf(format string, args ...any) *Error.Add logging.Debugf(format string, args ...any).
Changed:
logging.Debugf(format string, args ...any).Changed: - Add ctx.Res.Body() method.
Changed:
ctx.Res.Body() method.Add ctx.ParseURL(body BodyTemplate) method.
Changed:
ctx.ParseURL(body BodyTemplate) method.gear.FormToStruct(map[string][]string, any) error to gear.ValuesToStruct(map[string][]string, any, string) errorgear.ValuesToStruct support pointer fields, so ctx.ParseURL and ctx.ParseBody support pointer fields too.Fixed: - Fix for multi-routers
Fixed:
Changed: - Improve ctx.IP() - Add ctx.Protocol()
Changed:
ctx.IP()ctx.Protocol()Remove unnecessary error constants.
Changed:
Refactor gear.Error type. It is more powerful!
Changed:
gear.Error type. It is more powerful!Ignore "context canceled" error.
Changed:
"context canceled" error.Changed: - Support Form body parse. - Improve project structure.
Changed:
Add Response.Status(), Response.Type().
Changed:
Response.Status(), Response.Type().Context.Status and Context.Type will not return value now.Changed: - Improve code.
Changed:
Fix Logging middleware https://github.com/teambition/gear/pull/19 .
Fixed:
Changed:
Change default BodyParser's MaxBytes to 2MB.
Changed:
MaxBytes to 2MB.Simplify ctx.Timing method: func (*Context) Timing(time.Duration, fn func(context.Context)) error
Changed:
func (*Context) Timing(time.Duration, fn func(context.Context)) errorFix CORS middleware https://github.com/teambition/gear/pull/17 .
Fixed:
Fix logging middleware that should init structured log when start.
Fixed:
Your coding agent can read these notes before it upgrades. Set up the MCP server →