Skip to content
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

✨ feat: Add support for CookieConfig in Redirect #3076

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    a19709a View commit details
    Browse the repository at this point in the history
  2. Update Redirect Benchmarks

    gaby committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    acedda3 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. v3: Improve performance of Adaptor Middleware (#3078)

    * Improve performance of adaptor middleware by over 50%
    
    * Update whats_new documentation
    
    * Remove fasthttp.Request pool
    
    * Update whats_new.md
    gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    6d41e97 View commit details
    Browse the repository at this point in the history
  2. ✨ feat: Add Startup Probe to Healthcheck Middleware (#3069)

    * added startup default probe endpoint
    
    * added test case
    
    * updated docs
    
    * updated test order
    
    * added test case
    
    * fixed go fmt and md lint
    
    * fixed go fmt and md lint
    
    * updated doc as per coderabbitai suggestions
    
    * changed healhtcheck route register to use default const instead of string for test cases
    
    * updated whats new with healthcheck content
    
    * updated whats new doc with coderabbitai sugg
    
    * updated migration guide
    kirankumar-grootan authored and gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    7156af6 View commit details
    Browse the repository at this point in the history
  3. ✨ feat: Add support for RebuildTree (#3074)

    * feat: add rebuild tree method
    
    * docs: add newline at the end of app.md
    
    * docs: add an example of dynamic defined routes
    
    * docs: remove tabs from example code on app.md
    
    * Update docs/api/app.md
    
    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    
    * Update app.md
    
    * docs: add RebuildTree to what's new documentation
    
    * fix: markdown errors in documentation
    
    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    
    * refactor: add mutex lock to the addRoute function
    
    * refactor: remove mutex lock from addRoute
    
    * refactor: fix mutex deadlock in addRoute
    
    ---------
    
    Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    3 people committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    dfb1d2a View commit details
    Browse the repository at this point in the history
  4. add manual dependabot trigger workflow

    ReneWerner87 authored and gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    3a4d7b9 View commit details
    Browse the repository at this point in the history
  5. test(ctx_test): Fix race condition (#3081)

    * test(ctx_test): Fix race condition
    
    * chore: Release ctx resource after sending file
    
    * refactor: sendFileBodyReader function
    
    Refactor the `sendFileBodyReader` function to remove the unnecessary `app` parameter. This simplifies the function signature and improves code readability.
    sixcolors authored and gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    2505aef View commit details
    Browse the repository at this point in the history
  6. v3: Refactor Benchmark Results Workflow (#3082)

    * Refactor benchmarks workflow
    
    * Use full semver tag
    
    * Add fetch depth
    gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    30c5a69 View commit details
    Browse the repository at this point in the history
  7. add manual dependabot trigger workflow

    ReneWerner87 authored and gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    d0583da View commit details
    Browse the repository at this point in the history
  8. Update benchmark.yml

    We should only fail during a PR, not during a merge
    ReneWerner87 authored and gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    abf1898 View commit details
    Browse the repository at this point in the history
  9. 🐛 bug: Use Content-Length for bytesReceived and bytesSent tags in Log…

    …ger Middleware (#3066)
    
    * logger: Use Content-Length header for BytesReceived and BytesSent tags
    
    * Use strconv.AppendInt instead of fasthttp.AppendUint
    gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    2788a53 View commit details
    Browse the repository at this point in the history
  10. 🐛 [Bug]: cache middleware: runtime error: index out of range [0] with…

    … length 0 (#3075)
    
    Resolves #3072
    
    Signed-off-by: brunodmartins <bdm2943@icloud.com>
    brunodmartins authored and gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    25c9fa2 View commit details
    Browse the repository at this point in the history
  11. v3: Use Named Fields Instead of Positional and Align Structures to Re…

    …duce Memory Usage (#3079)
    
    * Use composites for internal structures. Fix alignment of structures across Fiber
    
    * Update struct alignment in test files
    
    * Enable alignment check with govet
    
    * Fix ctx autoformat unit-test
    
    * Revert app Config struct. Add betteralign to Makefile
    
    * Disable comment on alert since it wont work for forks
    
    * Update benchmark.yml
    
    * Update benchmark.yml
    
    * Remove warning from using positional fields
    
    * Update router.go
    gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    0f046cc View commit details
    Browse the repository at this point in the history
  12. v3: Improve performance of helper functions (#3086)

    * Improve performance of helper functions
    
    * Fix issue with PR comments from forks
    gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    d7d9159 View commit details
    Browse the repository at this point in the history
  13. ✨ feat: Add Max Func to Limiter Middleware (#3070)

    * feat: add max calculator to limiter middleware
    
    * docs: update docs including the new parameter
    
    * refactor: add new line before go code in docs
    
    * fix: use crypto/rand instead of math/rand on tests
    
    * test: add new test with zero set as limit
    
    * fix: repeated tests failing when generating random limits
    
    * fix: wrong type of MaxCalculator in docs
    
    * feat: include max calculator in limiter_sliding
    
    * refactor: rename MaxCalculator to MaxFunc
    
    * docs: update docs with MaxFunc parameter
    
    * tests: rename tests and add test for limiter sliding
    luk3skyw4lker authored and gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    c902190 View commit details
    Browse the repository at this point in the history
  14. build(deps): bump actions/checkout from 3 to 4 (#3083)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    401d96d View commit details
    Browse the repository at this point in the history
  15. Use utils Trim functions instead of the strings/bytes functions (#3087)

    * Use utils Trim functions instead of the strings/bytes functions
    
    * rename Test and Benchmark functions with same name
    ReneWerner87 authored and gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    d186549 View commit details
    Browse the repository at this point in the history
  16. Align structs

    gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    7ae39c4 View commit details
    Browse the repository at this point in the history
  17. Align structs

    gaby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    e68de00 View commit details
    Browse the repository at this point in the history