github gofiber/fiber v1.9.6

latest releases: v3.0.0-beta.2, v2.52.4, v2.52.3...
4 years ago

๐Ÿš€ Fiber v1.9.6

Special thanks to @renanbastos93 & @ReneWerner87 for optimizing the current router.
Help use translate our API documentation by clicking here

๐Ÿ”ฅ New

  • AcquireCtx / ReleaseCtx
    The Ctx pool is now accessible for third-party packages
  • Fiber docs merged Russian translations 84%
  • Fiber docs merged Spanish translations 65%
  • Fiber docs merged French translations 40%
  • Fiber docs merged German translations 32%
  • Fiber docs merged Portuguese translations 24%

๐Ÿฉน Fixes

  • Hotfix for interpolated params in nested routes #354
  • Some Ctx methods didn't work correctly when called without an *App pointer.
  • ctx.Vary sometimes added duplicates to the response header
  • Improved router by ditching regexp and increased performance by 817% without allocations.
// Tested with 350 github API routes
Benchmark_Router_OLD-4      614   2467460 ns/op   68902 B/op   600 allocs/op
Benchmark_Router_NEW-4     3429    302033 ns/op       0 B/op     0 allocs/op

๐Ÿงน Updates

  • Add context benchmarks
  • Remove some unnecessary functions from utils
  • Add router & param test cases
  • Add new coffee supporters to readme
  • Add third party middlewares to readme
  • Add more comments to source code
  • Cleanup some old helper functions

๐Ÿงฌ Middleware

Don't miss a new fiber release

NewReleases is sending notifications on new releases.