v1.13.3
⚠ Deprecated
- Both app & group route registers will finally return the long-promised Router interface to enable chaining and passing groups to separate functions. -- #641 @ReneWerner87 @kiyonlin @Fenny @thomasvvugt @koddr
// Old signature
func (app *App) Get(path string, handlers ...Handler) *Route {}
// New signature
func (app *App) Get(path string, handlers ...Handler) Router {}
app.Routes()
will no longer be supported, to access routes from the stack, please use app.Stack()Name
is removed from the Route struct, did had no more purpose after we decided to compress our router stack in #651
🔥 New
- Add access to original router stack using app.Stack() #660 @Fenny @ReneWerner87
- Add
TimeFormat
tomiddleware.Logger
#652 #654 @kallydev @Fenny
🧹 Updates
- Allow route method chaining -- #641 @ReneWerner87
- Update supporter list -- #645 @Fenny
- Add Pull Request template #656 @Fenny
- Sync method metadata in routes with actual HTTP method #661 @ReneWerner87 @Fenny
🚀 Improvements
- Compress router stack #651 @ReneWerner87 @kiyonlin
- Improve ctx.Is #657 @ReneWerner87
- Improve ctx.BodyParser #659 @ReneWerner87