-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌿 v1.12.x Changelog #416
Comments
If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
What about hyphens in routes? It was planned for V1.11. |
@invipal in the last version we had put more focus on stability, user friendliness and performance, so the feature has been dropped but it will come in the next versions, i will work on it in the next days |
@invipal hyphen support is now available // http://localhost:3000/plantae/prunus.persica
app.Get("/plantae/:genus.:species", func(c *fiber.Ctx) {
c.Params("genus") // prunus
c.Params("species") // persica
})
// http://localhost:3000/flights/LAX-SFO
app.Get("/flights/:from-:to", func(c *fiber.Ctx) {
c.Params("from") // LAX
c.Params("to") // SFO
}) |
Thank you @Fenny, with this feature, Fiber now fully met our expectation for developing our next project. |
🔥 New
Converts all encoded characters in the route back before setting the path for the context, so that the routing can also work with urlencoded special characters 🚀 Added possibility to work with urlencoded special characters in the route #506
App
&Group
Abstract Router interface for App and Group. #476Per-connection buffer size for requests' reading. This also limits the maximum header size. Increase this buffer if your clients send multi-KB RequestURIs and/or multi-KB headers (for example, BIG cookies).
Per-connection buffer size for responses' writing.
We added a new template interface named
Views
, click here to see an example.The old Template interface is still backward compatible but it does not support the new features.
🧹 Updates
-
) and the dot (.
) are now interpreted literally in paths, they can be used along with route parameters for useful purposes. Thank you @ReneWerner87Now supports an additional
layout string
argument. Special thanks to @bdtomlinv1.5.0
app.Handler
is now accessible 🚀 How about compatibling with httpexpect #485 🚀 How about compatibling with httpexpect #485 #504gofiber/utils v0.0.9
app.Listen
documentation 💡 Show possible signatures #561MethodNotAllowed
process 🚀 Better performance for MethodNotAllowed process #563 @ReneWerner87🩹 Fixes
405
when another method is available on the same path 🚀 add 405 method not allowed handler #492c.Subdomains
Check index to avoid slice bounds out of range panic #475flag.Parse()
compatibility 🐛 flag.Parse not working when using Prefork on Fiber #469SendFile
304 cache behavior 🤔 SendFile should send a 304? #516405
forUse
cases 🐛 405 is not responded when use middleware #556-prefork-child
flag fromflag.Usage
🐛 Fiber's flags are part of the printed usage #522 🩹 Improve flag handling #542 @doingodsworkThe text was updated successfully, but these errors were encountered: