v3.0.0-beta.2
Pre-release
Pre-release
github-actions
released this
07 Apr 19:38
·
147 commits
to main
since this release
🚀 New
- Binding: Initial support for binding (#1981)
- Addon: add retry mechanism (#1972)
- Client: client refactor (#1986)
- Middleware/csrf: Add support for trusted origins (#2910)
- Middleware/csrf: TrustedOrigins using https://*.example.com style subdomains (#2925)
- Middleware/cors: Add support for Access-Control-Allow-Private-Network (#2908)
- Middleware/proxy: Add DialDualStack option for upstream IPv6 support (#2900)
- Convert fiber.Ctx type to interface (#1928)
- Merge Listen methods & ListenConfig (#1930)
- New Route method (#2065)
- Router interface changes (#2176)
- New redirection methods (#2014)
- New mounting system (#2022)
- Generate msgp tests (#2263)
- Make app.Test accept a time.Duration timeout (#2269)
- Add QueryParser for get query using generic (#2776)
- Addition of Locals Function with Go Generics as an Alternative to c.Locals (#2813)
- Add support for custom constraints (#2807)
- Adding GetReqHeaders and GetRespHeaders (#2831)
- Implement new generic functions: Params, Get and Convert (#2850)
🧹 Updates
- Middleware/adpator: Add parallel benchmarks to adaptor middleware (#2870)
- Middleware/csrf,limiter: Update CSRF and Limiter to remove repetitive names (#2846)
- Middleware/earlydata (#2270)
- Middleware/filesystem: Refactor filesystem middleware with
io/fs
(#2027) - Middleware/healthchecker: Migrate HealthChecker to v3 (#2884)
- Middleware/idempotency (#2253)
- Middleware/logger: Remove mutex lock in logger middleware (#2840)
- Middleware/logger: refactor logger middleware (#1979)
- Client: Rename "ClientNew" Function to "New" (#2896)
- Router: return status 501 instead of 400 on unknown method (#2220)
- Add
[]byte
support toutils.EqualFold
(#2029) - Remove
utils.Trim*
because stdlib has same performance in go1.19 (#2030) - Use testify for assertion (#2036)
- Change startup message (#2041)
- Cleanup (#2255)
- Update Ctx.Format to match Express's res.format (#2766)
- Change interface{} to any (#2796)
- Clean up errcheck config (#2841)
- Update startup message formatting (#2847)
- Add inamedparam linter (#2848)
- Simplify content negotiation code (#2865)
- Expand Tests and Benchmarks for Log package (#2886)
- Performance optimizations (#2838, #2947)
🐛 Fixes
- Middleware/cors: CORS handling (#2938)
- Middleware/logger: Fix logger benchmarks (#2074)
- Middleware/logger: Print to stderr if log fails for default format (#2830)
- Fix benchmark results (#1982, #2130)
- Rename WithTlsConfig method to WithTLSConfig (#2570)
- ContextKey collisions (#2781)
- Fix testifylint errors in middleware (#2805)
- Fix remaining testifylint errors (#2806)
- Fix force type assertions in session_test.go (#2815)
- Added respects body immutability to ctx.Body() and ctx.BodyRaw() functions. (#2812)
- Testifylint failure that fell through the cracks (#2821)
- Inconsistent and flaky unit-tests (#2892)
- Improper query/body parsing with embedded structs (#2906)
🛠️ Maintenance
- Bump minimum version of Go to 1.21 (#2911)
- Add go1.22 to test matrix (#2835)
- Update to use gofiber/utils/v2 (#2184)
- Speed up addon/retry tests (#2800)
- Re-enable tparallel linter (#2801)
- Do not retry flaky tests (#2875)
- Update test workflow to use gotestsum (#2895)
- Enabling shuffling, cleanup and consistency across tests (#2931)
- Run tests against Apple M1 platform (#2852)
- Merge V2 to v3 (#2864, #2944)
- Middleware/cors: Merge changes from v2 (#2922)
- Update golangci-lint to v1.55.2 (#2817)
- Address multiple lint rules (#2869)
- Make golangci-lint config stricter (#2874)
- Update golangci-lint to enable more lint rules (#2923)
- Bump golangci-lint to v1.56.1 (#2842)
- Bump golangci-lint to v1.56.2 (#2862)
- Bump golangci-lint to v1.57.1 (#2929)
- Bump github.com/google/uuid from 1.5.0 to 1.6.0 (#2810)
- Bump github.com/valyala/fasthttp from 1.51.0 to 1.52.0 (#2857)
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#2888)
- Bump github.com/gofiber/utils/v2 from 2.0.0-beta.3 to 2.0.0-beta.4 (#2935)
📚 Documentation
- Update handler signature for v3 (#2794)
- Undocumented function in session.md (#2795)
- Fix typo in documentation (#2802)
- Fix a misspelled comment (#2809)
- Update Typo documentation (#2820)
- Fix typo in routing.md (#2836)
- Add CODEOWNERS file (#2851)
- Update Version Numbers in Docs (#2853)
- Fix code snippet indentation in /docs/api/middleware/keyauth.md (#2868)
- Update docs to reflect fiber.Ctx struct to interface change (#2880)
- Fix TrustedProxies documentation related to IP ranges (#2887)
- Improve translation (#2899)
- Refactor Documenation for HealthCheck (#2905)
- Fixed a typo in app.go (#2912)
- Cleanup and updates to README files (#2914)
- Remove repetitive words (#2917)
Full Changelog: v2.52.4...v3.0.0-beta.2
Thank you @efectn, @Behzad-Khokher, @the-hotmann, @gozeloglu, @trim21, @wangjq4214, @KrisCarr, @pjebs, @balcieren, @leonklingele, @sixcolors, @nickajacks1, @gandaldf, @StrawHatHacker, @ryanbekhen, @theleeeo, @nnnkkk7, @canks69, @asyslinux, @brunodmartins, @gaby, @linogomez, @Fenny, @grivera64, @ReneWerner87, @luk3skyw4lker, @dreamscached, @emirhansirkeci, @sebytza23, @techerfan, @racerole, @negrel, @devhsoj, @dozheiny for making this update possible.