🔊 v1.5.1 fixes an issue with the CompressHandler introduced in v1.5.0 that would break compression of some responses. We strongly recommend you upgrade to v1.5.1.
⚠ v1.5.1 fixes an issue with the CompressHandler introduced in v1.5.0 that would break compression of some responses. We strongly recommend you upgrade to v1.5.1.
This release improves how handlers manages existing http.ResponseWriters that are already wrapped with a Pusher or other extensions. It will no longer break existing implementations thanks to the changes made in #193.
CHANGELOG
Use httpsnoop to wrap ResponseWriter. (#193) @muirdm
skip compression on upgrade connection (#187) @benitogf
Use got-want style so mutation test can be performed easily with corr… (#184) @uudashr
[compress] Vary: Accept-Encoding must always be set (#175) @dunglas
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/gorilla/handlers from 1.4.0 to 1.5.1.
Release notes
Sourced from github.com/gorilla/handlers's releases.
Commits
d453eff
Fix compression of *os.Files. (#197)d6944a4
Support logger for print stack trace (#195)55df21f
Use httpsnoop to wrap ResponseWriter. (#193)2188616
skip compression on upgrade connection (#187)ccebae9
Use got-want style so mutation test can be performed easily with correct outp...f08afc1
[compress] Vary: Accept-Encoding must always be set (#175)597a9be
Merge pull request #173 from fharding1/compress-cleanup5c80e8c
Cleanup CompressHandlerLevel8a3748a
docs: fix missing CircleCI badge (#166)7a35d4c
Drop accept-encoding header when supported (#157)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)