Skip to content

Commit

Permalink
Merge pull request #268 from urfave/bump-module-version
Browse files Browse the repository at this point in the history
Prepare v3.0.0 release
  • Loading branch information
jszwedko authored Sep 18, 2022
2 parents 476bc8c + 47f9fee commit 81abd9b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,25 @@

**ATTN**: This project uses [semantic versioning](http://semver.org/).

## [Unreleased] -
## [3.0.0] - [2022-09-18]

### 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`

## [2.0.2] - 2020-07-17

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/urfave/negroni/v2
module github.com/urfave/negroni/v3

go 1.17

0 comments on commit 81abd9b

Please sign in to comment.