urfave/negroni (github.com/urfave/negroni)
### [`v3.1.1`](https://togithub.com/urfave/negroni/releases/tag/v3.1.1)
[Compare Source](https://togithub.com/urfave/negroni/compare/v3.1.0...v3.1.1)
##### Fixed
- Writing an HTTP 1xx status codes no longer results in a 200 being sent in
addition given the expectation is that a follow-up status code will be written
later. The exception is `101 Switching Protocols` since this is terminal. This
matches `net/http` behavior.
### [`v3.1.0`](https://togithub.com/urfave/negroni/releases/tag/v3.1.0)
[Compare Source](https://togithub.com/urfave/negroni/compare/v3.0.0...v3.1.0)
##### Fixed
- `WriteHeader` can again be used in the `ResponseWriter.Before` callback to
set HTTP status codes
##### Added
- Satisfy `http.ResponseController` (Go 1.20+)
### [`v3.0.0`](https://togithub.com/urfave/negroni/releases/tag/v3.0.0)
[Compare Source](https://togithub.com/urfave/negroni/compare/v2.0.2...v3.0.0)
##### Fixed
- Replace multiple slashes at the beginning of a path with a single one to avoid
open redirects
- Avoid updating `ResponseWriter.Status()` if the status has already been
written when `ResponseWriter.WriteHeader()` is called twice
##### Changed
- `ResponseWriter` now only implements `http` interfaces (`Flusher`, `Hijacker`,
`CloseNotifier`) if the wrapped `http.ResponseWriter` does. This is a breaking
change to make `ResponseWriter`'s interface support more accurate
##### Added
- `ResponseWriter` now implements `io.ReaderFrom` to more efficiently send
responses via `io.Copy`
### [`v2.0.2`](https://togithub.com/urfave/negroni/releases/tag/v2.0.2)
[Compare Source](https://togithub.com/urfave/negroni/compare/v2.0.1...v2.0.2)
##### Fixed
- Fixed Go module name for v2
### [`v2.0.1`](https://togithub.com/urfave/negroni/releases/tag/v2.0.1)
[Compare Source](https://togithub.com/urfave/negroni/compare/v2.0.0...v2.0.1)
##### Fixed
- Recovery middleware now checks that `Formatter` is not `nil` before calling
### [`v2.0.0`](https://togithub.com/urfave/negroni/releases/tag/v2.0.0)
[Compare Source](https://togithub.com/urfave/negroni/compare/v1.0.0...v2.0.0)
##### Changed
- `Recovery.PrintStack`, when false, now also supresses the panic message in
addition to supressing the stack trace
##### Fixed
- `Negroni.With()` now copies handlers to avoid mutating the original `Negroni`
instance if `Use` is called on the new `Negroni` instance
##### Added
- `Recovery.LogStack` was added to control whether the stacktrace is logged for
panics
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v1.0.0
->v3.1.1
Release Notes
urfave/negroni (github.com/urfave/negroni)
### [`v3.1.1`](https://togithub.com/urfave/negroni/releases/tag/v3.1.1) [Compare Source](https://togithub.com/urfave/negroni/compare/v3.1.0...v3.1.1) ##### Fixed - Writing an HTTP 1xx status codes no longer results in a 200 being sent in addition given the expectation is that a follow-up status code will be written later. The exception is `101 Switching Protocols` since this is terminal. This matches `net/http` behavior. ### [`v3.1.0`](https://togithub.com/urfave/negroni/releases/tag/v3.1.0) [Compare Source](https://togithub.com/urfave/negroni/compare/v3.0.0...v3.1.0) ##### Fixed - `WriteHeader` can again be used in the `ResponseWriter.Before` callback to set HTTP status codes ##### Added - Satisfy `http.ResponseController` (Go 1.20+) ### [`v3.0.0`](https://togithub.com/urfave/negroni/releases/tag/v3.0.0) [Compare Source](https://togithub.com/urfave/negroni/compare/v2.0.2...v3.0.0) ##### Fixed - Replace multiple slashes at the beginning of a path with a single one to avoid open redirects - Avoid updating `ResponseWriter.Status()` if the status has already been written when `ResponseWriter.WriteHeader()` is called twice ##### Changed - `ResponseWriter` now only implements `http` interfaces (`Flusher`, `Hijacker`, `CloseNotifier`) if the wrapped `http.ResponseWriter` does. This is a breaking change to make `ResponseWriter`'s interface support more accurate ##### Added - `ResponseWriter` now implements `io.ReaderFrom` to more efficiently send responses via `io.Copy` ### [`v2.0.2`](https://togithub.com/urfave/negroni/releases/tag/v2.0.2) [Compare Source](https://togithub.com/urfave/negroni/compare/v2.0.1...v2.0.2) ##### Fixed - Fixed Go module name for v2 ### [`v2.0.1`](https://togithub.com/urfave/negroni/releases/tag/v2.0.1) [Compare Source](https://togithub.com/urfave/negroni/compare/v2.0.0...v2.0.1) ##### Fixed - Recovery middleware now checks that `Formatter` is not `nil` before calling ### [`v2.0.0`](https://togithub.com/urfave/negroni/releases/tag/v2.0.0) [Compare Source](https://togithub.com/urfave/negroni/compare/v1.0.0...v2.0.0) ##### Changed - `Recovery.PrintStack`, when false, now also supresses the panic message in addition to supressing the stack trace ##### Fixed - `Negroni.With()` now copies handlers to avoid mutating the original `Negroni` instance if `Use` is called on the new `Negroni` instance ##### Added - `Recovery.LogStack` was added to control whether the stacktrace is logged for panicsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.