v1.13.0
Special thanks to @kiyonlin, @ReneWerner87, @thomasvvugt for their input behind the scenes!
And I want to thank all the contributors for their awesome work, this community is awesome! ❤️
🔥 New
- ctx.QueryParser() -- #585 #572 @renanbastos93
QueryParser is a method to parse query parameters into a struct.
🧹 Updates
- Bump fasthttp to
v1.15.1
-- #620 @Fenny - app.Listen will automatically listen on
tcp4
ortcp6
depending on the address input -- #633 @Fenny - StartupMessage renamed
Cores
toThreads
-- #632 @Fenny - Separate OS logic for prefork utils -- #628 @kiyonlin
- Fix data race in ctx.SendFile() -- #622 @kiyonlin
- Update Chinese readme -- #605
- Change some core values to constants -- #603 @renanbastos93
-prefork
flag is removed -- #580 @kiyonlin- Update 404 statuscode in Router to constant -- #603 @renanbastos93
- Colors for
method
,status
are supported by default inmiddleware.Logger()
-- #565 #607 #586 @YuilTripathee @Fenny
🚀 Improvements
- Improve code comments -- #593 #592 @kinbiko
- Improve test coverage to
97.5%
-- @kiyonlin - Improve ctx.BodyParser() performance -- #616 @kiyonlin
- Improve ctx.IPs() -- #612 @kiyonlin
- Improve ctx.Links() & ctx.Render() -- #626 @ReneWerner87
- Improve ctx.QueryParser() & ctx.Render() -- #610 @kiyonlin
- Improve ctx.Attachment() -- #591 @kiyonlin
- Improve ctx.JSON() -- #583 #583 @Fenny @kiyonlin
🩹 Fixes
- Escape filename -- #579 @Fenny
- Change
PPID
->PID
for master process -- #582 @kiyonlin - Kill child procs when master gets killed -- #601 @Fenny
- Fix duplicates in ctx.Append() -- #606 @ReneWerner87
- Buffer collision using ctx.Render() -- #625 #630 @kiyonlin
- Reset match flag in router-- #629 @kiyonlin
- Fix typo -- #609 @songjiayang
- Golint naming fixes -- #588 @songjiayang