v3.0.0-rc.1
- Middleware/basicAuth: Add Fiber Context to BasicAuth Authorizer by @gaby in https://github.com/gofiber/fiber/pull/3621
- Middleware/basicAuth: Add HeaderLimit option to BasicAuth middleware by @gaby in https://github.com/gofiber/fiber/pull/3620
- Middleware/basicAuth: Support hashed BasicAuth passwords by @gaby in https://github.com/gofiber/fiber/pull/3631
- Middleware/csrf: Enhance extractor functionality with metadata and security validation by @sixcolors in https://github.com/gofiber/fiber/pull/3630
- Middleware/limiter: Support for disabling response headers in Limiter Middleware by @gaby in https://github.com/gofiber/fiber/pull/3618
- Middleware/proxy: Add KeepConnectionHeader option to Proxy middleware by @gaby in https://github.com/gofiber/fiber/pull/3662
- Middleware/session: Introduce Extractor pattern for session ID retrieval by @sixcolors in https://github.com/gofiber/fiber/pull/3625
- Support for SendEarlyHints by @pjebs in https://github.com/gofiber/fiber/pull/3483
- Support generic configurable logger by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3705
- Add conditional copy helpers by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3703
- Add support for embedded Koa-Style Req and Res structs by @grivera64 in https://github.com/gofiber/fiber/pull/3533
- Add default UTF-8 charset by @Copilot in https://github.com/gofiber/fiber/pull/3583
- Middleware/basicAuth: Remove SHA-1/MD5 support in BasicAuth middleware by @gaby in https://github.com/gofiber/fiber/pull/3634
- Middleware/basicAuth: Remove support for PasswordFromContext from BasicAuth middleware by @gaby in https://github.com/gofiber/fiber/pull/3638
- Middleware/cors: Fix CORS docs and comments by @gaby in https://github.com/gofiber/fiber/pull/3637
- Middleware/csrf: Fix CSRF error message mismatch with documentation by @gaby in https://github.com/gofiber/fiber/pull/3636
- Middleware/csrf: Fix CSRF subdomain wildcard boundary by @gaby in https://github.com/gofiber/fiber/pull/3694
- Middleware/keyAuth: Extractor-Based Configuration and Enhanced Flexibility by @sixcolors in https://github.com/gofiber/fiber/pull/3685
- Middleware/keyAuth: Return generic errors in KeyAuth middleware by @gaby in https://github.com/gofiber/fiber/pull/3692
- Middleware/pprof: Fix pprof middleware docs and default config by @gaby in https://github.com/gofiber/fiber/pull/3642
- Add tests for quoteRawString by @gaby in https://github.com/gofiber/fiber/pull/3613
- Replace math/rand with crypto/rand by @gaby in https://github.com/gofiber/fiber/pull/3508
- Enable govet shadow by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3617
- Fix Cookie SameSite constants to Pascal case per RFC specification by @Copilot in https://github.com/gofiber/fiber/pull/3608
- Fix timing for streaming test by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3628
- Reduce allocation in AutoFormat by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3652
- Add sync pool and release helpers for Bind by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3660
- Add CBOR support to AutoFormat() by @gaby in https://github.com/gofiber/fiber/pull/3665
- Add missing checks in Ctx tests by @gaby in https://github.com/gofiber/fiber/pull/3670
- Stabilize interrupted stream writer test by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3669
- Fix AcceptsLanguages() RFC compliance by @gaby in https://github.com/gofiber/fiber/pull/3672
- Respect immutable config in Params(), Protocol(), and Body() by @gaby in https://github.com/gofiber/fiber/pull/3676
- Optimize Fresh header parsing for fasthttp 1.65 by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3687
- Use ephemeral ports in unit tests by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3686
- Delay routing error creation by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3683
- Improve Req/Res Benchmarks by @grivera64 in https://github.com/gofiber/fiber/pull/3693
- Using reflect.TypeAssert by @cuiweixie in https://github.com/gofiber/fiber/pull/3698
- Skip unstable GenericParseType benchmarks by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3614
- Require Go 1.25 by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3682
- Middleware/cors: Fix CORS subdomain wildcard boundary by @gaby in https://github.com/gofiber/fiber/pull/3690
- Middleware/limiter: Fix limiter middleware not counting fiber.NewErrorf responses as failed requests by @Copilot in https://github.com/gofiber/fiber/pull/3623
- Middleware/static: Fix Static middleware browser support for subdirectories by @efectn in https://github.com/gofiber/fiber/pull/3673
- Fix retry config handling by @gaby in https://github.com/gofiber/fiber/pull/3609
- Fix race in cookie tests by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3629
- Fix bind All() merging logic by @gaby in https://github.com/gofiber/fiber/pull/3659
- build(deps): bump kenchan0130/actions-system-info from 1.3.1 to 1.4.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3679
- build(deps): bump github.com/shamaton/msgpack/v2 from 2.2.3 to 2.3.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3678
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3681
- build(deps): bump github.com/valyala/fasthttp from 1.64.0 to 1.65.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3684
- build(deps): bump github.com/gofiber/utils/v2 from 2.0.0-beta.14 to 2.0.0-rc.1 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3689
- build(deps): bump codecov/codecov-action from 5.4.3 to 5.5.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3701
- build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3712
- Add early hints documentation by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3697
- Add migration tool info by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3708
- Add context guide by @gaby in https://github.com/gofiber/fiber/pull/3677
- Fix EarlyData middleware docs by @gaby in https://github.com/gofiber/fiber/pull/3646
- Fix Skip middleware docs by @gaby in https://github.com/gofiber/fiber/pull/3649
- Fix context changes doc by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3650
- Fix RequestID docs by @gaby in https://github.com/gofiber/fiber/pull/3648
- Fix Proxy middleware docs by @gaby in https://github.com/gofiber/fiber/pull/3647
- Fix Compress middleware docs by @gaby in https://github.com/gofiber/fiber/pull/3645
- Fix Cache middleware docs by @gaby in https://github.com/gofiber/fiber/pull/3644
- Fix Favicon middleware documentation by @gaby in https://github.com/gofiber/fiber/pull/3640
- Fix Static middleware docs by @gaby in https://github.com/gofiber/fiber/pull/3643
- Fix Healthcheck middleware documentation by @gaby in https://github.com/gofiber/fiber/pull/3657
- Fix KeyAuth middleware docs by @gaby in https://github.com/gofiber/fiber/pull/3641
- Improve Timeout middleware documentation by @gaby in https://github.com/gofiber/fiber/pull/3675
- Add Learning Resources section with Go Interview Practice platform by @RezaSi in https://github.com/gofiber/fiber/pull/3691
- Fix typos in documentation by @kianmeng in https://github.com/gofiber/fiber/pull/3695
- document utils package migration by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3704
- Note CSRF ContextKey removal by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3706
- Note removal of context keys by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3707
- @Copilot made their first contribution in https://github.com/gofiber/fiber/pull/3583
- @RezaSi made their first contribution in https://github.com/gofiber/fiber/pull/3691
- @kianmeng made their first contribution in https://github.com/gofiber/fiber/pull/3695
- @cuiweixie made their first contribution in https://github.com/gofiber/fiber/pull/3698
A fully-detailed view of all new features and the migration guide is available in our
https://docs.gofiber.io/next/whats_new
Full Changelog: https://github.com/gofiber/fiber/compare/v3.0.0-beta.5...v3.0.0-rc.1
v3.0.0-beta.5
- Middleware/keyAuth: Add support for context.Context in keyauth middleware by @vhespanha in https://github.com/gofiber/fiber/pull/3287
- Middleware/logger: Add Skip function to logger middleware by @JIeJaitt in https://github.com/gofiber/fiber/pull/3333
- Middleware/logger: Add predefined log formats by @edvardsanta in https://github.com/gofiber/fiber/pull/3359
- Middleware/logger: Add support for ForceColors in Logger middleware by @yorickdewid in https://github.com/gofiber/fiber/pull/3428
- Middleware/session: Add support for Keys() in session middleware by @sixcolors in https://github.com/gofiber/fiber/pull/3517
- Middelware/timeout: Add config for Timeout middleware by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3604
- Add End() method to Ctx by @grivera64 in https://github.com/gofiber/fiber/pull/3280
- Improve and Optimize ShutdownWithContext Func by @JIeJaitt in https://github.com/gofiber/fiber/pull/3162
- Add support for multipart file binding by @efectn in https://github.com/gofiber/fiber/pull/3309
- Add Req and Res API by @nickajacks1 in https://github.com/gofiber/fiber/pull/2894
- Add support for application state management by @efectn in https://github.com/gofiber/fiber/pull/3360
- Enhance CheckConstraint method for improved error handling by @JIeJaitt in https://github.com/gofiber/fiber/pull/3356
- Add
All
method to Bind by @edvardsanta in https://github.com/gofiber/fiber/pull/3373 - Add Support for service dependencies by @mdelapenya in https://github.com/gofiber/fiber/pull/3434
- Add Support for Removing Routes by @ckoch786 in https://github.com/gofiber/fiber/pull/3230
fiber.Context
implement context.Context by @pjebs in https://github.com/gofiber/fiber/pull/3382- Add support for NewErrorf by @gaby in https://github.com/gofiber/fiber/pull/3463
- Add NewWithCustomCtx initialization helper by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3476
- Add UNIX socket support by @LaptopCat in https://github.com/gofiber/fiber/pull/3535
- Add support for Msgpack by @hotrungnhan in https://github.com/gofiber/fiber/pull/3565
- Add context methods to
fiber.Storage
interface by @efectn in https://github.com/gofiber/fiber/pull/3566
- Middleware/basicAuth: Enhance BasicAuth middleware to better comply with RFC 6750 by @gaby in https://github.com/gofiber/fiber/pull/3484
- Middleware/basicAuth: Improve BasicAuth middleware default security by @gaby in https://github.com/gofiber/fiber/pull/3522
- Middleware/cache: Improve cache middleware RFC compliance by @gaby in https://github.com/gofiber/fiber/pull/3488
- Middleware/cors: Improve CORS middleware response headers by @gaby in https://github.com/gofiber/fiber/pull/3505
- Middleware/cors: Improve CORS tests coverage by @gaby in https://github.com/gofiber/fiber/pull/3530
- Middleware/csrf: Improve CSRF tests coverage by @gaby in https://github.com/gofiber/fiber/pull/3531
- Middleware/csrf: Add missing CSRF token extractor tests by @gaby in https://github.com/gofiber/fiber/pull/3527
- Middleware/csrf: Refactor CSRF middleware and enhance documentation by @sixcolors in https://github.com/gofiber/fiber/pull/3598
- Middleware/csrf: Enhance CSRF tests to address unsafe header value issue (#2045) by @sixcolors in https://github.com/gofiber/fiber/pull/3485
- Middleware/earlyData: Improve EarlyData middleware tests coverage by @gaby in https://github.com/gofiber/fiber/pull/3520
- Middleware/encryptCookie: Enhance config validation in EncryptCookie middleware by @gaby in https://github.com/gofiber/fiber/pull/3491
- Middleware/envVar: Refactor EnvVar middleware by @gaby in https://github.com/gofiber/fiber/pull/3513
- Middleware/helmet: Improve Helmet middleware tests coverage by @gaby in https://github.com/gofiber/fiber/pull/3523
- Middleware/idempotency: Improve Idempotency middleware tests coverage by @gaby in https://github.com/gofiber/fiber/pull/3521
- Middleware/keyAuth: Enhance KeyAuth middleware to better comply with RFC 6750 by @gaby in https://github.com/gofiber/fiber/pull/3482
- Middleware/logger: Logger Middleware tests to use regex for time validation by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3392
- Middleware/timeout: unify and enhance timeout middleware by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3275
- Middleware/proxy: Fix proxy middleware tests for offline environments by @gaby in https://github.com/gofiber/fiber/pull/3467
- Middleware/proxy: Improve proxy middleware by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3468
- Middleware/static: Improve static middleware security by @gaby in https://github.com/gofiber/fiber/pull/3595
- Middleware/static: Improve sanitizePath performance by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3601
- Value of map is unused in uniqueRouteStack by @ksw2000 in https://github.com/gofiber/fiber/pull/3320
- Reduce the Memory Usage of ignoreHeaders by @ksw2000 in https://github.com/gofiber/fiber/pull/3322
- Improve Performance of getSplicedStrList by @ksw2000 in https://github.com/gofiber/fiber/pull/3318
- Add go1.24 to CI matrix by @gaby in https://github.com/gofiber/fiber/pull/3325
- Migrate randString to rand v2 by @ksw2000 in https://github.com/gofiber/fiber/pull/3329
- Sorting error in sortAcceptedTypes by @ksw2000 in https://github.com/gofiber/fiber/pull/3331
- Reduce the memory usage of RoutePatternMatch by @ksw2000 in https://github.com/gofiber/fiber/pull/3335
- Replace findLastCharsetPosition with strings.LastIndexByte by @ksw2000 in https://github.com/gofiber/fiber/pull/3338
- Replace isInCharset with bytes.IndexByte by @ksw2000 in https://github.com/gofiber/fiber/pull/3342
- Optimize routeParser by using sync.Pool by @ksw2000 in https://github.com/gofiber/fiber/pull/3343
- Fix linter workflow failures by @gaby in https://github.com/gofiber/fiber/pull/3354
- Mark unused tests with t.SkipNow by @alexandear in https://github.com/gofiber/fiber/pull/3366
- Remove two string fields in DefaultCtx to save 32 bytes by @ksw2000 in https://github.com/gofiber/fiber/pull/3353
- Replace treePath with treePathHash in DefaultCtx to reduce memory usage by @ksw2000 in https://github.com/gofiber/fiber/pull/3368
- Add Immutable benchmarks for default case by @gaby in https://github.com/gofiber/fiber/pull/3374
- Remove redundant field
method
inDefaultCtx
by @ksw2000 in https://github.com/gofiber/fiber/pull/3372 - Simplify HealthCheck middleware by @gaby in https://github.com/gofiber/fiber/pull/3380
- Add findNextNonEscapedCharPosition for single-byte charset cases by @ksw2000 in https://github.com/gofiber/fiber/pull/3378
- Change c.Redirect() default status by @andradei in https://github.com/gofiber/fiber/pull/3415
- Improve routing treeBuild flow by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3456
- Add unit-test for header injection by @gaby in https://github.com/gofiber/fiber/pull/3470
- Performance optimizations by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3477
- Make genericParseType return error by @ksw2000 in https://github.com/gofiber/fiber/pull/3473
- Add URI Test case for Test_Ctx_Binders by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3480
- Improve performance for "equalFieldType" function by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3479
- Update minimum go version to 1.24 by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3481
- Use slices.Contains to simplify code by @tongjicoder in https://github.com/gofiber/fiber/pull/3486
- Use maps.Copy to simplify code by @alexandear in https://github.com/gofiber/fiber/pull/3490
- Remove deprecated comments and documenting recent changes by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3498
- Update loop syntax for retry mechanism by @MonkyMars in https://github.com/gofiber/fiber/pull/3516
- Remove repo codecov.yml by @gaby in https://github.com/gofiber/fiber/pull/3525
- Improve Retry addon tests coverage by @gaby in https://github.com/gofiber/fiber/pull/3526
- Improve hooks test coverage by @gaby in https://github.com/gofiber/fiber/pull/3524
- Update codecov configuration by @gaby in https://github.com/gofiber/fiber/pull/3528
- Improve Binder tests coverage by @gaby in https://github.com/gofiber/fiber/pull/3529
- Use GetState to reduce duplicate code by @ksw2000 in https://github.com/gofiber/fiber/pull/3542
- Improve Cookie() validation by @gaby in https://github.com/gofiber/fiber/pull/3546
- Improve Router tests coverage by @gaby in https://github.com/gofiber/fiber/pull/3550
- Improve Accept* compliance with RFC 9110 by @gaby in https://github.com/gofiber/fiber/pull/3548
- Refactor fasthttp iter calls to range loops by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3559
- Fix compression benchmarks by @gaby in https://github.com/gofiber/fiber/pull/3561
- Add iterator helpers for client types by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3560
- Improve iterator performance. by @ksw2000 in https://github.com/gofiber/fiber/pull/3562
- Update utils dependency by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3576
- Refactor Opt-in support for CBOR by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3580
- Simplify generic function calls by @axrav in https://github.com/gofiber/fiber/pull/3578
- Add modernize lint by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3590
- Revert "Add support for context.Context in keyauth middleware" by @sixcolors in https://github.com/gofiber/fiber/pull/3364
- Revert "Add Context Support to RequestID Middleware" by @sixcolors in https://github.com/gofiber/fiber/pull/3365
- Middleware/envVar: Fix missing Allow header in EnvVar middleware per RFC 9110 by @gaby in https://github.com/gofiber/fiber/pull/3570
- Middleware/static: Fix static/favicon middlewares file descriptor leaks by @gaby in https://github.com/gofiber/fiber/pull/3579
- Make Render bind parameter type any again by @efectn in https://github.com/gofiber/fiber/pull/3270
- Fix app.Test() auto-failing when a connection is closed early by @grivera64 in https://github.com/gofiber/fiber/pull/3279
- Align cache middleware with RFC7231 by @miyamo2 in https://github.com/gofiber/fiber/pull/3283
- Goroutine leakage by @JIeJaitt in https://github.com/gofiber/fiber/pull/3306
- `genericParseType parsing large uint leads to overflow by @ksw2000 in https://github.com/gofiber/fiber/pull/3315
- Fix handler order in routing by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3321
- Update binder in form_test by @devhaozi in https://github.com/gofiber/fiber/pull/3336
- Fix client iterators when using break statement by @efectn in https://github.com/gofiber/fiber/pull/3357
- Handling of next param position by @KatzuYoru in https://github.com/gofiber/fiber/pull/3418
- Fix redirection flash messages violate cookie structure by @efectn in https://github.com/gofiber/fiber/pull/3457
- Parsing of IPv6 addresses by @gaby in https://github.com/gofiber/fiber/pull/3466
- Middlewares immutable config handling by @gaby in https://github.com/gofiber/fiber/pull/3494
- Subdomains offset handling by @gaby in https://github.com/gofiber/fiber/pull/3495
- Fix Cache-Control header parsing by @gaby in https://github.com/gofiber/fiber/pull/3534
- Fix Content-Type comparison in Is() by @gaby in https://github.com/gofiber/fiber/pull/3536
- Fix Subdomains() parsing for IDNs by @gaby in https://github.com/gofiber/fiber/pull/3538
- Fix Range() parsing of bytes unit by @gaby in https://github.com/gofiber/fiber/pull/3541
- Fix Range() handling of HTTP 416 per RFC 9110 by @gaby in https://github.com/gofiber/fiber/pull/3552
- Fix Etag validation per RFC 9110 by @gaby in https://github.com/gofiber/fiber/pull/3554
- Fix Accept-Language matching per RFC 4647 by @gaby in https://github.com/gofiber/fiber/pull/3553
- Fix Cache middleware handling of Age by @gaby in https://github.com/gofiber/fiber/pull/3547
- Fix Content-Disposition header per RFC 6266 by @gaby in https://github.com/gofiber/fiber/pull/3551
- Fix Body() handling of Content-Encoding per RFC 9110 by @gaby in https://github.com/gofiber/fiber/pull/3543
- Fix multipart boundary for Client per RFC 2046 by @gaby in https://github.com/gofiber/fiber/pull/3563
- Fix address parsing for leading/trailing spaces by @gaby in https://github.com/gofiber/fiber/pull/3569
- Fix CookieJar domain logic by @gaby in https://github.com/gofiber/fiber/pull/3564
- Fix handling of negative BodyLimit by @gaby in https://github.com/gofiber/fiber/pull/3599
- Fix MIME type equality checks by @gaby in https://github.com/gofiber/fiber/pull/3602
- build(deps): bump kenchan0130/actions-system-info from 1.3.0 to 1.3.1 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3492
- build(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3572
- build(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3544
- build(deps): bump golang.org/x/net from 0.31.0 to 0.33.0 in the go_modules group by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3293
- build(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3506
- build(deps): bump golang.org/x/crypto from 0.37.0 to 0.38.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3438
- build(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3395
- build(deps): bump golang.org/x/crypto from 0.35.0 to 0.36.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3341
- build(deps): bump golang.org/x/crypto from 0.33.0 to 0.35.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3327
- build(deps): bump golang.org/x/crypto from 0.32.0 to 0.33.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3305
- build(deps): bump golang.org/x/crypto from 0.31.0 to 0.32.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3274
- build(deps): bump github.com/valyala/fasthttp from 1.63.0 to 1.64.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3586
- build(deps): bump github.com/valyala/fasthttp from 1.62.0 to 1.63.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3557
- build(deps): bump github.com/valyala/fasthttp from 1.60.0 to 1.62.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3440
- build(deps): bump github.com/valyala/fasthttp from 1.59.0 to 1.60.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3391
- build(deps): bump github.com/valyala/fasthttp from 1.58.0 to 1.59.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3314
- build(deps): bump github.com/tinylib/msgp from 1.2.5 to 1.3.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3447
- build(deps): bump github.com/mattn/go-colorable from 0.1.13 to 0.1.14 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3277
- build(deps): bump github.com/gofiber/utils/v2 from 2.0.0-beta.9 to 2.0.0-beta.10 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3568
- build(deps): bump github.com/gofiber/utils/v2 from 2.0.0-beta.8 to 2.0.0-beta.9 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3540
- build(deps): bump github.com/gofiber/utils/v2 from 2.0.0-beta.7 to 2.0.0-beta.8 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3389
- build(deps): bump github.com/gofiber/schema from 1.5.0 to 1.6.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3574
- build(deps): bump github.com/gofiber/schema from 1.4.0 to 1.5.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3504
- build(deps): bump github.com/gofiber/schema from 1.3.0 to 1.4.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3462
- build(deps): bump github.com/gofiber/schema from 1.2.0 to 1.3.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3308
- build(deps): bump github.com/fxamacker/cbor/v2 from 2.8.0 to 2.9.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3581
- build(deps): bump github.com/fxamacker/cbor/v2 from 2.7.0 to 2.8.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3384
- build(deps): bump DavidAnson/markdownlint-cli2-action from 19 to 20 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3453
- build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3459
- build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3413
- build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3334
- build(deps): bump codecov/codecov-action from 5.3.0 to 5.3.1 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3295
- build(deps): bump codecov/codecov-action from 5.1.2 to 5.3.0 by @dependabot[bot] in https://github.com/gofiber/fiber/pull/3292
- Middleware/adapter: Update adapter middleware documentation by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3317
- Middleware/cors: Enhance CORS middleware documentation with preflight request details and infrastructure considerations by @sixcolors in https://github.com/gofiber/fiber/pull/3509
- Middleware/csrf: fix CSRF handler example by @sixcolors in https://github.com/gofiber/fiber/pull/3412
- Middleware/helmet: Update Helmet Middleware default values by @devhaozi in https://github.com/gofiber/fiber/pull/3348
- Middleware/helmet: Update helmet.md default values by @gaby in https://github.com/gofiber/fiber/pull/3350
- Middleware/idempotency: Idempotency add more detailed description for next method by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3443
- Middleware/logger: Document usage of Custom Tags in Logger middleware by @sixcolors in https://github.com/gofiber/fiber/pull/3446
- Middleware/session: Fix examples in middleware/session by @AuroraTea in https://github.com/gofiber/fiber/pull/3435
- Middleware/static: Fix static middleware CacheDuration data type typo by @grivera64 in https://github.com/gofiber/fiber/pull/3273
- Update intro.md Static Files section by @lars-schumann in https://github.com/gofiber/fiber/pull/3303
- Add ctx.Drop() to whats_new.md by @aliziyacevik in https://github.com/gofiber/fiber/pull/3284
- Add
c.Drop()
example towhats_new.md
by @grivera64 in https://github.com/gofiber/fiber/pull/3285 - Add Retry Addon documentation by @grivera64 in https://github.com/gofiber/fiber/pull/3330
- Add more validation examples by @mazyaryousefinia in https://github.com/gofiber/fiber/pull/3369
- Update docs for State Management by @gaby in https://github.com/gofiber/fiber/pull/3388
- Fix typos by @gaby in https://github.com/gofiber/fiber/pull/3464
- Fix more typos across code base by @gaby in https://github.com/gofiber/fiber/pull/3465
- Incorrect usage of backslash characters in the constraint … by @hungthai1401 in https://github.com/gofiber/fiber/pull/3549
- Fix typos in code and docs by @gaby in https://github.com/gofiber/fiber/pull/3507
- Add custom constraint example by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3539
- Add net/http compatiblity section by @gaby in https://github.com/gofiber/fiber/pull/3556
- Add documentation for Stale() by @gaby in https://github.com/gofiber/fiber/pull/3555
- Update utils guide documentation by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3575
- @aliziyacevik made their first contribution in https://github.com/gofiber/fiber/pull/3284
- @lars-schumann made their first contribution in https://github.com/gofiber/fiber/pull/3303
- @vhespanha made their first contribution in https://github.com/gofiber/fiber/pull/3287
- @alexandear made their first contribution in https://github.com/gofiber/fiber/pull/3366
- @edvardsanta made their first contribution in https://github.com/gofiber/fiber/pull/3359
- @mazyaryousefinia made their first contribution in https://github.com/gofiber/fiber/pull/3369
- @ZihxS made their first contribution in https://github.com/gofiber/fiber/pull/3432
- @KatzuYoru made their first contribution in https://github.com/gofiber/fiber/pull/3418
- @yorickdewid made their first contribution in https://github.com/gofiber/fiber/pull/3428
- @mdelapenya made their first contribution in https://github.com/gofiber/fiber/pull/3460
- @ckoch786 made their first contribution in https://github.com/gofiber/fiber/pull/3230
- @tongjicoder made their first contribution in https://github.com/gofiber/fiber/pull/3486
- @MonkyMars made their first contribution in https://github.com/gofiber/fiber/pull/3516
- @hungthai1401 made their first contribution in https://github.com/gofiber/fiber/pull/3549
- @LaptopCat made their first contribution in https://github.com/gofiber/fiber/pull/3535
- @hotrungnhan made their first contribution in https://github.com/gofiber/fiber/pull/3565
- @axrav made their first contribution in https://github.com/gofiber/fiber/pull/3578
A fully-detailed view of all new features and the migration guide is available in our docs:
https://docs.gofiber.io/next/whats_new
Full Changelog: https://github.com/gofiber/fiber/compare/v3.0.0-beta.4...v3.0.0-beta.5
v2.52.9
- Add upper index limit for parsers by @gaby in https://github.com/gofiber/fiber/pull/3503
- Embedded struct parsing by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3478
- Fix Content-Type comparison in
Is()
by @gaby in https://github.com/gofiber/fiber/pull/3537 - Fix MIME type equality checks by @gaby in https://github.com/gofiber/fiber/pull/3603
Full Changelog: https://github.com/gofiber/fiber/compare/v2.52.8...v2.52.9
v2.52.8
- Fix for BodyParser - GHSA-hg3g-gphw-5hhm
- Backport ctx.String() from v3 by @gaby in https://github.com/gofiber/fiber/pull/3294
- Fix routing with mount and static by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3454
- Update usage of ctx.Redirect() by @andradei in https://github.com/gofiber/fiber/pull/3417
- Add AGENTS.md by @gaby in https://github.com/gofiber/fiber/pull/3461
Full Changelog: https://github.com/gofiber/fiber/compare/v2.52.6...v2.52.8
v2.52.6
- Use Content-Length for bytesReceived and bytesSent tags in Logger Middleware in v2 by @gaby in https://github.com/gofiber/fiber/pull/3067
- Fix handle un-matched open brackets in the query params by @dojutsu-user in https://github.com/gofiber/fiber/pull/3121
- Middleware/CORS: Remove Scheme Restriction by @zingi in https://github.com/gofiber/fiber/pull/3168
- Respect Immutable config for Body() by @nickajacks1 in https://github.com/gofiber/fiber/pull/3246
- Support Square Bracket Notation in Multipart Form data by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3268
- Add detailed documentation for the templates guide by @grivera64 in https://github.com/gofiber/fiber/pull/3113
- Update benchmark-action to v1.20.3 by @gaby in https://github.com/gofiber/fiber/pull/3084
- Add CODEOWNERS file by @gaby in https://github.com/gofiber/fiber/pull/3124
- Update dependencies by @gaby in https://github.com/gofiber/fiber/pull/3254
- Add parallel benchmark for Next() by @gaby in https://github.com/gofiber/fiber/pull/3259
Full Changelog: https://github.com/gofiber/fiber/compare/v2.52.5...v2.52.6
v3.0.0-beta.4
- Add Startup Probe to Healthcheck Middleware by @kirankumar-grootan in https://github.com/gofiber/fiber/pull/3069
- Add support for RebuildTree by @luk3skyw4lker in https://github.com/gofiber/fiber/pull/3074
- Add Max Func to Limiter Middleware by @luk3skyw4lker in https://github.com/gofiber/fiber/pull/3070
- Add support for TrustProxy by @xEricL in https://github.com/gofiber/fiber/pull/3170
- Add Context Support to RequestID Middleware by @JIeJaitt in https://github.com/gofiber/fiber/pull/3200
- Add TestConfig to app.Test() for configurable testing by @grivera64 in https://github.com/gofiber/fiber/pull/3161
- Add support for creating Fiber client from existing FastHTTP client by @mitulagr2 in https://github.com/gofiber/fiber/pull/3214
- Add buffered streaming support by @grivera64 in https://github.com/gofiber/fiber/pull/3131
- Add support for CBOR encoding by @imsk17 in https://github.com/gofiber/fiber/pull/3173
- Add AllLogger to Config by @haochunchang in https://github.com/gofiber/fiber/pull/3153
- Add support for graceful shutdown timeout in ListenConfig by @ksw2000 in https://github.com/gofiber/fiber/pull/3220
- Add support for AutoTLS / ACME by @wangjq4214 in https://github.com/gofiber/fiber/pull/3201
- Add support for iterator methods to Fiber client by @efectn in https://github.com/gofiber/fiber/pull/3228
- Add support for configuring TLS Min Version by @dozheiny in https://github.com/gofiber/fiber/pull/3248
- Add Drop method to DefaultCtx for silent connection termination by @ryanbekhen in https://github.com/gofiber/fiber/pull/3257
- Middleware/session: re-write session middleware with handler by @sixcolors in https://github.com/gofiber/fiber/pull/3016
- Updates to fiberlog benchmarks and documentation by @gaby in https://github.com/gofiber/fiber/pull/3059
- Update benchmarks for Logger Middleware by @gaby in https://github.com/gofiber/fiber/pull/3061
- Enforce key length for EncryptCookie middleware default functions by @gaby in https://github.com/gofiber/fiber/pull/3056
- Improve and simplify logic of ctx.Next() by @gaby in https://github.com/gofiber/fiber/pull/3063
- Improve performance of Adaptor Middleware by @gaby in https://github.com/gofiber/fiber/pull/3078
- Refactor Benchmark Results Workflow by @gaby in https://github.com/gofiber/fiber/pull/3082
- Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage by @gaby in https://github.com/gofiber/fiber/pull/3079
- Improve performance of helper functions by @gaby in https://github.com/gofiber/fiber/pull/3086
- Use utils Trim functions instead of the strings/bytes functions by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3087
- Improve Performance of c.Body() by 125% by @gaby in https://github.com/gofiber/fiber/pull/3090
- Add Benchmarks for Rewrite Middleware by @gaby in https://github.com/gofiber/fiber/pull/3092
- Consolidate Logic of Handling the Request Body by @ad3n in https://github.com/gofiber/fiber/pull/3093
- Add support for go1.23 and golangci-lint v1.60.1 by @gaby in https://github.com/gofiber/fiber/pull/3101
- Use msgp for flash message encoding/decoding by @efectn in https://github.com/gofiber/fiber/pull/3099
- Optimize IsFromLocal() performance by @gaby in https://github.com/gofiber/fiber/pull/3140
- Replace vendored gorilla/schema package by @efectn in https://github.com/gofiber/fiber/pull/3152
- Middleware/CORS Remove Scheme Restriction by @zingi in https://github.com/gofiber/fiber/pull/3163
- Improve naming convention for Context returning functions by @gaby in https://github.com/gofiber/fiber/pull/3193
- Mark go1.23 as minimum go version by @efectn in https://github.com/gofiber/fiber/pull/3226
- Rename the Method Names of FormData and FormDatas (#3251) by @ksw2000 in https://github.com/gofiber/fiber/pull/3255
- Improve Performance of Fiber Router by @gaby in https://github.com/gofiber/fiber/pull/3261
- Middleware/cache: Fix typo by @miyamo2 in https://github.com/gofiber/fiber/pull/3145
- Middleware/cache: Runtime error: index out of range [0] with length 0 by @brunodmartins in https://github.com/gofiber/fiber/pull/3075
- Middleware/Adaptor: Duplicates cookies by @sigmundxia in https://github.com/gofiber/fiber/pull/3151
- Client: Fix SetProxyURL functionality by @efectn in https://github.com/gofiber/fiber/pull/3109
- Fix square bracket notation in Multipart FormData by @efectn in https://github.com/gofiber/fiber/pull/3235
- Fasthttp errors cause panic when Params is used by @efectn in https://github.com/gofiber/fiber/pull/3055
- Use Content-Length for bytesReceived and bytesSent tags in Logger Middleware by @gaby in https://github.com/gofiber/fiber/pull/3066
- Error check in Form binder by @devhaozi in https://github.com/gofiber/fiber/pull/3110
- Handle un-matched open brackets in the query params by @dojutsu-user in https://github.com/gofiber/fiber/pull/3126
- Fix issue with default logger when creating RequestCtx by @gaby in https://github.com/gofiber/fiber/pull/3134
- Behavior of
DefaultCtx.Fresh
when 'Last-Modified' and 'If-Modified-Since' are equal by @miyamo2 in https://github.com/gofiber/fiber/pull/3150 - Close File After SaveFileToStorage by @gopkg-dev in https://github.com/gofiber/fiber/pull/3197
- Make SetValWithStruct set zero values and support more types #3167 by @ksw2000 in https://github.com/gofiber/fiber/pull/3227
- EnableSplittingOnParsers is not functional by @efectn in https://github.com/gofiber/fiber/pull/3231
- Memory leak removal in the idempotency middleware by @sunnyyssh in https://github.com/gofiber/fiber/pull/3263
- Fix race condition by @sixcolors in https://github.com/gofiber/fiber/pull/3081
- Nil pointer dereference with Must Bind binding by @ItsMeSamey in https://github.com/gofiber/fiber/pull/3171
- Bump golangci-lint to v1.62.0 by @gaby in https://github.com/gofiber/fiber/pull/3196
- Bump golangci-lint to v1.61.0 by @gaby in https://github.com/gofiber/fiber/pull/3135
- Bump golangci-lint to v1.60.3 by @gaby in https://github.com/gofiber/fiber/pull/3119
- Bump golang.org/x/crypto from 0.30.0 to 0.31.0 by @dependabot in https://github.com/gofiber/fiber/pull/3247
- Bump golang.org/x/crypto from 0.28.0 to 0.30.0 by @dependabot in https://github.com/gofiber/fiber/pull/3243
- Bump github.com/valyala/fasthttp from 1.57.0 to 1.58.0 by @dependabot in https://github.com/gofiber/fiber/pull/3244
- Bump github.com/valyala/fasthttp from 1.56.0 to 1.57.0 by @dependabot in https://github.com/gofiber/fiber/pull/3183
- Bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0 by @dependabot in https://github.com/gofiber/fiber/pull/3146
- Bump github.com/tinylib/msgp from 1.2.4 to 1.2.5 by @dependabot in https://github.com/gofiber/fiber/pull/3240
- Bump github.com/tinylib/msgp from 1.2.3 to 1.2.4 by @dependabot in https://github.com/gofiber/fiber/pull/3185
- Bump github.com/tinylib/msgp from 1.2.1 to 1.2.3 by @dependabot in https://github.com/gofiber/fiber/pull/3182
- Bump github.com/tinylib/msgp from 1.1.8 to 1.2.1 by @ReneWerner87 in https://github.com/gofiber/fiber/pull/3147
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in https://github.com/gofiber/fiber/pull/3217
- Bump github.com/gofiber/utils/v2 from 2.0.0-beta.6 to 2.0.0-beta.7 by @dependabot in https://github.com/gofiber/fiber/pull/3174
- Bump github.com/gofiber/utils/v2 from 2.0.0-beta.4 to 2.0.0-beta.5 by @dependabot in https://github.com/gofiber/fiber/pull/3062
- Bump DavidAnson/markdownlint-cli2-action from 18 to 19 by @dependabot in https://github.com/gofiber/fiber/pull/3266
- Bump DavidAnson/markdownlint-cli2-action from 17 to 18 by @dependabot in https://github.com/gofiber/fiber/pull/3208
- Bump DavidAnson/markdownlint-cli2-action from 16 to 17 by @dependabot in https://github.com/gofiber/fiber/pull/3128
- Bump codecov/codecov-action from 5.1.1 to 5.1.2 by @dependabot in https://github.com/gofiber/fiber/pull/3256
- Bump codecov/codecov-action from 5.0.7 to 5.1.1 by @dependabot in https://github.com/gofiber/fiber/pull/3234
- Bump codecov/codecov-action from 5.0.4 to 5.0.7 by @dependabot in https://github.com/gofiber/fiber/pull/3213
- Bump codecov/codecov-action from 5.0.2 to 5.0.4 by @dependabot in https://github.com/gofiber/fiber/pull/3210
- Bump codecov/codecov-action from 5.0.0 to 5.0.2 by @dependabot in https://github.com/gofiber/fiber/pull/3209
- Bump codecov/codecov-action from 4.6.0 to 5.0.0 by @dependabot in https://github.com/gofiber/fiber/pull/3207
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in https://github.com/gofiber/fiber/pull/3154
- Bump benchmark-action/github-action-benchmark from 1.20.3 to 1.20.4 by @dependabot in https://github.com/gofiber/fiber/pull/3177
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/gofiber/fiber/pull/3083
- Add support for consistent documentation using markdownlint by @gaby in https://github.com/gofiber/fiber/pull/3064
- Update example in middleware/cors to v3 by @AuroraTea in https://github.com/gofiber/fiber/pull/3116
- Update recover docs to not use reserved keyword by @glensargent in https://github.com/gofiber/fiber/pull/3129
- Fix typos in client hooks documentation by @yinheli in https://github.com/gofiber/fiber/pull/3133
- Replaced link to russian mozilla docs by @nexovec in https://github.com/gofiber/fiber/pull/3142
- Removed zero width white space from logger docs by @oktayozkan0 in https://github.com/gofiber/fiber/pull/3144
- Fix typo on comment by @ad3n in https://github.com/gofiber/fiber/pull/3158
- Typo in hooks documentation by @SantiagoBobrik in https://github.com/gofiber/fiber/pull/3164
- Update README.md by @s19835 in https://github.com/gofiber/fiber/pull/3165
- Revert "Update README.md (#3165)" by @gaby in https://github.com/gofiber/fiber/pull/3166
- Update What's New documentation by @alequilesl in https://github.com/gofiber/fiber/pull/3181
- Clarify SendFile Docs by @xEricL in https://github.com/gofiber/fiber/pull/3172
- Update intro documentation by @gaby in https://github.com/gofiber/fiber/pull/3204
- Updates to API documentation and README by @gaby in https://github.com/gofiber/fiber/pull/3205
- Updates to Context documentation by @gaby in https://github.com/gofiber/fiber/pull/3206
- Update documentation for Fiber client by @gaby in https://github.com/gofiber/fiber/pull/3249
- Optimize the menu item text by @AuroraTea in https://github.com/gofiber/fiber/pull/3267
Full Changelog: https://github.com/gofiber/fiber/compare/v3.0.0-beta.3...v3.0.0-beta.4
v2.52.5
Middleware/session: Session Middleware Token Injection Vulnerability - GHSA-98j2-3j3p-fw2v
- Middleware/session: Remove extra release and aquire ctx calls in session_test.go (#3043)
- Middleware/monitor: middleware reporting of CPU usage (#2984)
- Middleware/session: mutex for thread safety (#3050)
- Improve ctx.Locals method description and example (#3030)
- Improve ctx.Locals method documentation (#3033)
- Update README_id.md (#3045)
Full Changelog: https://github.com/gofiber/fiber/compare/v2.52.4...v2.52.5
Thank you @nyufeng, @PaulTitto and @sixcolors for making this update possible.
v3.0.0-beta.3
- Middleware/static: add static middleware (#3006)
- Middleware/cache: Add Cache Invalidation Option to Cache Middleware (#3036)
- Middleware/keyauth: Add support for custom KeyLookup functions in the Keyauth middleware (#3028)
- Add support for zstd compression (#3041)
- Add configuration support to c.SendFile() (#3017)
- Add support for longtests during CI (#3054)
- Add CHIPS support to Cookie (#3047)
- Middleware/cors: Config, lists as list types (#2962)
- Middleware/session: Remove extra release and acquire ctx calls in session_test.go (#3044)
- Optimize Cache middleware handler (#3031)
- Adding a generator to generate the CTX interface (#3024)
- Add Benchmarks for IsProxyTrusted() (#2933)
- Fix some struct names in comments (#2974)
- Fixes #3038 "v3 Flash Message with redirect is not working" (#3046)
- Middleware/session: mutex for thread safety (#3049)
- Middleware/session: fix data-race with sync.Pool (#3051)
- Bump github.com/valyala/fasthttp from 1.52.0 to 1.53.0 (#3000)
- Bump github.com/valyala/fasthttp from 1.54.0 to 1.55.0 (#3037)
- Updated fasthttp to 1.54.0 release (#3010)
- Add docs for new client (#2991)
- Consolidate and Document Core Changes in v3 (#2934)
- Fix broken link to slim template in FAQ (#2969)
- Fix merge conflict in documentation (#2957)
- Fix some comments (#2983)
- Update intro.md to make clear
fiber.Ctx
is not thread-safe. (#3014) - Improve ctx.Locals method description, godoc and example (#3032)
- Add zero-allocation section to README (#3039)
- Middleware/csrf: Update config TrustedOrigin comments (#2963)
- Middleware/cors middleware (#2979)
Full Changelog: https://github.com/gofiber/fiber/compare/v3.0.0-beta.2...v3.0.0-beta.3
Thank you @efectn, @gaby, @hcancelik, @dave-gray101, @sixcolors, @ReneWerner87, @orvillesimba, @deferdeter, @rabarar, @dockercui and @omaskery for making this update possible.
v3.0.0-beta.2
- 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)
- 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)
- 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)
- 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)
- 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: https://github.com/gofiber/fiber/compare/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.
v2.52.4
- Middleware/cors: CORS handling by @sixcolors in https://github.com/gofiber/fiber/pull/2937
- Middleware/cors: Vary header handling non-cors OPTIONS requests by @sixcolors in https://github.com/gofiber/fiber/pull/2939
Full Changelog: https://github.com/gofiber/fiber/compare/v2.52.3...v2.52.4