Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-chi/chi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.1.0
Choose a base ref
...
head repository: go-chi/chi
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.2.0
Choose a head ref
  • 16 commits
  • 15 files changed
  • 15 contributors

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    eb01474 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. go 1.23 (#945)

    pkieltyka authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    dac67d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fedde2 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    39703bc View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Add Find to Routes interface (#872)

    * Add Find to Routes interface
    
    * Add example of using Routes.Find
    
    * Rename find-pattern example
    
    * And find_pattern middleware
    
    * Refactor find-pattern example to use official FindPattern middleware
    
    * Remove middleware.FindPattern for now
    
    ---------
    
    Co-authored-by: jriddle <jriddle@axon.com>
    Co-authored-by: Vojtech Vitek <vojtech.vitek@golang.cz>
    3 people authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    1089a7c View commit details
    Browse the repository at this point in the history
  2. Fix grammar error (#917)

    AntonC9018 authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    134f373 View commit details
    Browse the repository at this point in the history
  3. feat(): add CF-Connecting-IP (#908)

    * feat(): add CF-Connection-IP
    
    * feat(): custom real ip header
    
    #908
    
    * fix(): typo
    
    * refactor(): remove cf-connecting-ip from default headers
    
    * refactor(): back to unexported default headers
    n33pm authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    cbaac31 View commit details
    Browse the repository at this point in the history
  4. Fixed incorrect comment about routing (#887)

    The comment was meant to demonstrate how non-wildcard routes can match
    wilecard routes, but there was likely a typo that made it incorrect.
    jtams authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    df0303d View commit details
    Browse the repository at this point in the history
  5. Fix condition in TestRedirectSlashes (#856)

    * Fix condition in TestRedirectSlashes
    
    * Improve test logs in middleware/strip_test.go
    
    ---------
    
    Co-authored-by: Vojtech Vitek <vojtech.vitek@golang.cz>
    tchssk and VojtechVitek authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7335050 View commit details
    Browse the repository at this point in the history
  6. add strip prefix. (#875)

    m1k1o authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    5dd7716 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2c4d128 View commit details
    Browse the repository at this point in the history
  8. Ability to specify response HTTP status code for Throttle middleware (#…

    …571)
    
    * Fix typo in doc comment for Throttle middleware
    
    * Add ability to specify response HTTP status code for Throttle middleware
    vasayxtx authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    1f927a8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    882c15e View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Fix Mux.Find not correctly handling nested routes (#954)

    * Fix Mux.Find not correctly handling nested routes
    
    * Add more test cases for TextMuxFind
    
    * Fix Mux.Find returning partial path for failing cases
    joeriddles authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    6ceb498 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2024

  1. fix: allow multiple informational status (#961)

    Informational status in the range 100-199 may be sent multiple times, unlike statuses in the range 200-599.
    
    This follows usage in the stdlib:
    https://github.com/golang/go/blob/485ed2fa5b5e0b7067ef72a0f4bdc9ca12b77ed7/src/net/http/server.go#L1216
    costela authored Dec 14, 2024
    Configuration menu
    Copy the full SHA
    d9d5e31 View commit details
    Browse the repository at this point in the history
  2. Revert "feat(): add CF-Connecting-IP (#908)" (#966)

    This reverts commit cbaac31.
    VojtechVitek authored Dec 14, 2024
    Configuration menu
    Copy the full SHA
    0a20a0e View commit details
    Browse the repository at this point in the history
Loading