v1.9
Changelog
Features
- c881664: feat: add logic to handle weak ETag headers (gin-contrib#100) (Bo-Yi Wu appleboy.tw@gmail.com)
- bc3ccd1: feat: add new endpoint and improve middleware functionality (appleboy appleboy.tw@gmail.com)
- 1b7e801: feat: improve compression level validation and default handling (appleboy appleboy.tw@gmail.com)
- f5e4784: feat: implement HTTP connection hijacking for gzipWriter (appleboy appleboy.tw@gmail.com)
- 53b6bc1: feat: introduce custom compression decision function in handler (gin-contrib#96) (Bo-Yi Wu appleboy.tw@gmail.com)
- 1b4a866: feat: improve compression and testing mechanisms across the project (appleboy appleboy.tw@gmail.com)
- 969f96e: feat: gzip decompress-only supports (gin-contrib#90) (yzqzss 30341059+yzqzss@users.noreply.github.com)
- cb30140: feat: add support for server-sent events (gin-contrib#72) (Hristo Trendev htrendev@gmail.com)
- 699f2fd: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (Bo-Yi Wu appleboy.tw@gmail.com)
- b3ea4ba: feat: support customized excluded paths (Pei-Ming Wu p408865@gmail.com)
- a5a15a8: feat: support customized excluded extensions (Pei-Ming Wu p408865@gmail.com)
- 0eb78e9: feat(go): update go module (Bo-Yi Wu appleboy.tw@gmail.com)
- d9117ce: feat(test): support go module. (gin-contrib#19) (Bo-Yi Wu appleboy.tw@gmail.com)
Bug fixes
- 438926d: fix: default auto decompressor on uncompressed or double compressed bodies (gin-contrib#91) (AlexDyukov 21895986+alexdyukov@users.noreply.github.com)
- 3bd96db: fix: use
Header().Addinstead ofHeader()for settingVaryheader (gin-contrib#99) (Bo-Yi Wu appleboy.tw@gmail.com) - fc7d39f: fix: format (standcats standcats@aaaa)
Enhancements
- 3b246bb: chore: update dependencies to latest versions focused on security patches (appleboy appleboy.tw@gmail.com)
- fa0d885: chore: update dependencies to latest versions (appleboy appleboy.tw@gmail.com)
- 9ab9665: chore: update various Go module dependencies to latest versions (appleboy appleboy.tw@gmail.com)
- 4713b05: chore: update dependencies and GitHub actions for improved CI/CD (Bo-Yi Wu appleboy.tw@gmail.com)
- fb15f54: chore: discard gzip footer when empty body (gin-contrib#89) (koenno 8572607+koenno@users.noreply.github.com)
- a1786dc: chore: avoid un-necessary allocation (gin-contrib#92) (manish bhardwaz007@yahoo.com)
- f45010e: chore(deps): update dependencies to latest versions (Bo-Yi Wu appleboy.tw@gmail.com)
- 03fade5: chore: update dependencies to latest versions (appleboy appleboy.tw@gmail.com)
- 506e1f1: chore: bump Go version to 1.21.0 for compatibility updates (Bo-Yi Wu appleboy.tw@gmail.com)
- 096f030: chore: restrict Go versions and simplify CI workflow (Bo-Yi Wu appleboy.tw@gmail.com)
- 6c2fc87: chore: upgrade Go and dependencies to latest versions (Bo-Yi Wu appleboy.tw@gmail.com)
- 8a54a91: chore: update dependencies to latest versions (Bo-Yi Wu appleboy.tw@gmail.com)
- 5046004: chore: refine CI workflow and test configurations (Bo-Yi Wu appleboy.tw@gmail.com)
- 8873d8e: chore: refactor .goreleaser.yaml for changelog automation (Bo-Yi Wu appleboy.tw@gmail.com)
- 9bcb72e: chore: refactor dependencies and update packages (Bo-Yi Wu appleboy.tw@gmail.com)
- d3b1ccd: chore: update various third-party dependencies to latest versions (appleboy appleboy.tw@gmail.com)
- 17b65c8: chore: refactor linter configurations and settings (appleboy appleboy.tw@gmail.com)
- 95350ab: chore: update dependencies to latest versions (appleboy appleboy.tw@gmail.com)
- 7944e91: chore: update golang.org/x packages to latest versions (Bo-Yi Wu appleboy.tw@gmail.com)
- 4a52e82: chore: update GitHub action to use
goreleaser/goreleaser-actionv5 (Bo-Yi Wu appleboy.tw@gmail.com) - f7d1af4: chore: update GitHub Actions versions in relevant files (Bo-Yi Wu appleboy.tw@gmail.com)
- 6af466d: chore: update goreleaser (Bo-Yi Wu appleboy.tw@gmail.com)
- fffbe9e: chore(deps): update dependency. (Bo-Yi Wu appleboy.tw@gmail.com)
- 3819350: chore(CI): add go 1.21 (Bo-Yi Wu appleboy.tw@gmail.com)
- d221afa: chore(CI): add go1.20 version (Bo-Yi.Wu appleboy.tw@gmail.com)
- 45b5061: chore: Add go 1.19 and upgrade lint version to v1.49 (Bo-Yi.Wu appleboy.tw@gmail.com)
- 46340a9: chore(CD): enable goreleaser config. (Bo-Yi Wu appleboy.tw@gmail.com)
- 4643fef: chore(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
- 1ea5fa0: chore(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
- 23e1774: chore(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
- 06b4e21: chore(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
- d0a3437: chore(deps): bump github.com/gin-gonic/gin from 1.8.0 to 1.8.1 (dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
- 4e35c75: chore(deps): bump github.com/gin-gonic/gin from 1.7.7 to 1.8.0 (dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
- bb936a7: chore(deps): bump github/codeql-action from 1 to 2 (dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
- c09bd64: chore(github): upgrade action package. (Bo-Yi Wu appleboy.tw@gmail.com)
- 6ece815: chore(deps): bump github.com/gin-gonic/gin from 1.7.4 to 1.7.7 (dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
- a9029bd: chore: upgrade checkout version to v3 (Bo-Yi Wu appleboy.tw@gmail.com)
- dcb3018: chore(lint): upgrade /golangci-lint to v1.43.0 (Bo-Yi Wu appleboy.tw@gmail.com)
- 6998149: chore(lint): add golang lint config (Bo-Yi Wu appleboy.tw@gmail.com)
- c784c8e: chore: Add .gititnore (Bo-Yi Wu appleboy.tw@gmail.com)
- 3d908a0: chore: sync.Pool contains sync.noCopy (Bo-Yi Wu appleboy.tw@gmail.com)
- 51dd498: chore: fix lint (Bo-Yi Wu appleboy.tw@gmail.com)
- 007a8f4: chore: update gin to v1.7.4 (Bo-Yi Wu appleboy.tw@gmail.com)
- b0dd565: chore: switch travis to github actions. (Bo-Yi Wu appleboy.tw@gmail.com)
- 3aff126: chore: update travis (Bo-Yi Wu appleboy.tw@gmail.com)
- ebf71be: chore: add go1.15.x (thinkerou thinkerou@gmail.com)
- af5a1ba: chore: upgrade gin to v1.6.3 (Bo-Yi Wu appleboy.tw@gmail.com)
- 25bef2e: chore(ci): remove 1.10 (Bo-Yi Wu appleboy.tw@gmail.com)
- 2ce726b: chore(ci): add go1.14 (Bo-Yi Wu appleboy.tw@gmail.com)
- 3b307ae: chore: upgrade gin to v1.5.0 (Bo-Yi Wu appleboy.tw@gmail.com)
- 3ee4a99: chore: add env for go1.12 (田欧 thinkerou@gmail.com)
- fc13ee7: chore: add go1.12 support (田欧 thinkerou@gmail.com)
Refactor
- aa5d8ee: refactor: optimize gzip writer pool management and resource handling (gin-contrib#102) (Bo-Yi Wu appleboy.tw@gmail.com)
- 4fc267c: refactor: improve error handling and documentation for content encoding (appleboy appleboy.tw@gmail.com)
- f3f028a: refactor: refactor middleware and improve API handling (appleboy appleboy.tw@gmail.com)
- 3529136: refactor: improve error handling and resource management in gzip utils (gin-contrib#101) (Bo-Yi Wu appleboy.tw@gmail.com)
- e389346: refactor: refactor codebase and update API integration (appleboy appleboy.tw@gmail.com)
- 79e888f: refactor: refactor codebase to improve maintainability and performance (appleboy appleboy.tw@gmail.com)
- 262eca6: refactor: improve gzip handling and optimize resource management (appleboy appleboy.tw@gmail.com)
- bc23737: refactor: refactor header handling with constants in handler module (appleboy appleboy.tw@gmail.com)
- 9bb40fc: refactor: refactor gzipHandler to use config struct instead of Options struct (appleboy appleboy.tw@gmail.com)
- 48d0307: refactor: refactor
WithDecompressOnlyfunction and update related tests (appleboy appleboy.tw@gmail.com) - aa0f078: refactor: refactor and optimize exclusion handling logic (appleboy appleboy.tw@gmail.com)
- 4766b70: refactor: migrate to io package for improved compatibility (Bo-Yi Wu appleboy.tw@gmail.com)
- a6b2037: refactor: refactor data reading to use io package consistently (Bo-Yi Wu appleboy.tw@gmail.com)
- 3fb40b6: refactor: seperate handler and writer (Pei-Ming Wu p408865@gmail.com)
Build process updates
- 5328e46: ci: update CI to test against Go 1.25 (appleboy appleboy.tw@gmail.com)
- ef1d76a: ci: integrate Trivy vulnerability scanning into CI workflow (Bo-Yi Wu appleboy.tw@gmail.com)
- aa60ac1: ci: reorganize and update golangci-lint configuration (appleboy appleboy.tw@gmail.com)
- f75942a: build: drop support for older Go versions and upgrade dependencies (appleboy appleboy.tw@gmail.com)
- ea4c811: ci: update GitHub Actions and improve test configurations (Bo-Yi Wu appleboy.tw@gmail.com)
- 47135c9: build: refactor codebase and optimize API interactions (appleboy appleboy.tw@gmail.com)
- 3b2d6e7: build: refactor project structure and update dependencies (appleboy appleboy.tw@gmail.com)
- 071dbd1: ci: add GitHub Actions workflow for Bearer PR check (appleboy appleboy.tw@gmail.com)
- 0e140cc: ci: update CI workflow and test configurations (appleboy appleboy.tw@gmail.com)
- bd91a35: ci: update golangci-lint action to version 6 (Bo-Yi Wu appleboy.tw@gmail.com)
- 28e7bee: ci: refactor codebase for improved performance and maintainability (Bo-Yi Wu appleboy.tw@gmail.com)
- b476794: ci: refactor GitHub Actions workflows configurations (appleboy appleboy.tw@gmail.com)
- cd336fa: ci: enhance Go version compatibility in CI workflow (appleboy appleboy.tw@gmail.com)
- 49194dd: ci: update GitHub Actions workflow to use latest CodeQL version (Bo-Yi Wu appleboy.tw@gmail.com)
Documentation updates
- eae4239: docs: add documentation for exclusion and decompression functions (appleboy appleboy.tw@gmail.com)
- fa26419: docs: improve documentation and examples for server push with Gin framework (appleboy appleboy.tw@gmail.com)
- 33a5d2e: docs: remove Gitter badge from README file (Bo-Yi Wu appleboy.tw@gmail.com)
- 4b4a6f0: docs: update example (Bo-Yi Wu appleboy.tw@gmail.com)
Others
- eab773d: ADX-16636 use klauspost replace std gzip (jizey jizey@opera.com)
- 3830b8f: fix http: invalid Content-Length of "-1" (gin-contrib#97) (倒霉狐狸 mail@xiaoliu.org)
- 807284b: style: refactor codebase for consistency and improved test coverage (appleboy appleboy.tw@gmail.com)
- 33b88bc: test: add gzip compression and decompression tests (Bo-Yi Wu appleboy.tw@gmail.com)
- ef7d482: test: refactor test suite for excluded paths and extensions (gin-contrib#80) (Bo-Yi Wu appleboy.tw@gmail.com)
- eba7ac8: Merge pull request gin-contrib#65 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.8.0 (thinkerou thinkerou@gmail.com)
- cdaf373: Merge pull request gin-contrib#63 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.5 (thinkerou thinkerou@gmail.com)
- b6a41c0: Merge pull request gin-contrib#62 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.4 (thinkerou thinkerou@gmail.com)
- 3dac13b: Merge pull request gin-contrib#59 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.2 (thinkerou thinkerou@gmail.com)
- 7e75d23: Merge pull request gin-contrib#60 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.8.1 (thinkerou thinkerou@gmail.com)
- 3181e0f: Merge pull request gin-contrib#58 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.8.0 (thinkerou thinkerou@gmail.com)
- 4407045: Merge pull request gin-contrib#56 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.7.7 (thinkerou thinkerou@gmail.com)
- c8fe142: Merge pull request gin-contrib#51 from gin-contrib/dependabot/github_actions/github/codeql-action-2 (thinkerou thinkerou@gmail.com)
- dd526bf: chore(CI/CD): add dependabot (Bo-Yi Wu appleboy.tw@gmail.com)
- 5c234e4: chore(CI/CD): remove macos-latest testing (Bo-Yi Wu appleboy.tw@gmail.com)
- 9c4f952: chore(CI/CD): add go1.18 version (Bo-Yi Wu appleboy.tw@gmail.com)
- d34904d: Fix don't gzip server-sent events (gin-contrib#31) (nickbug zx087123@gmail.com)
- 23ddd4b: add go1.16 (Bo-Yi Wu appleboy.tw@gmail.com)
- 7bbc855: Adding ppc64le architecture support on travis-ci (gin-contrib#40) (kishor kunal raj 68464660+kishorkunal-raj@users.noreply.github.com)
- 474b41b: Remove Content-Length in more cases (gin-contrib#27) (Segev Finer segev208@gmail.com)
- 6ac096f: Merge pull request gin-contrib#36 from standcats/master (thinkerou thinkerou@gmail.com)
- 44264cb: fix : check cointains miss (standcats standcats@aaaa)
- fc010e4: fix : format (standcats standcats@aaaa)
- 9c0fc5d: feat : excluede paths by regex (standcats standcats@aaaa)
- 7c2ec63: *: gzip decompress supports (gin-contrib#32) (micanzhang mican.zhang@liulishuo.com)
- 5602d8b: Merge pull request gin-contrib#22 from mkfsn/master (thinkerou thinkerou@gmail.com)
- aef065f: Merge pull request gin-contrib#24 from zzjin/master (田欧 thinkerou@gmail.com)
- c1815dc: update gin 1.4.0 (zzjin tczzjin@gmail.com)
- b894a7d: fix large memory usage: gzip hold gin.writer unnecessary; (gin-contrib#21) (dengos dengoswei@gmail.com)
- b07653c: remove go1.6/1.7 from travis (田欧 thinkerou@gmail.com)
- f462374: Merge pull request gin-contrib#17 from JorritSalverda/patch-1 (田欧 thinkerou@gmail.com)
- e6e6bbc: Don't gzip server-sent events (Jorrit Salverda JorritSalverda@users.noreply.github.com)
- 1c01330: Update .travis.yml (Bo-Yi Wu appleboy.tw@gmail.com)
- 4fbfcc6: Add golang 1.10.x (Bo-Yi Wu appleboy.tw@gmail.com)
- 8550979: fix panic if handle request by http.ReverseProxy (gin-contrib#14) (micanzhang micanzhang@gmail.com)
- ce345a8: Dont compress when the header contains a Websocket upgrade (gin-contrib#12) (Schmitt tankbusta@users.noreply.github.com)
- 9b22cb9: Update .travis.yml (Bo-Yi Wu appleboy.tw@gmail.com)
- ceb0f0f: update 1.9 (Bo-Yi Wu appleboy.tw@gmail.com)
- ff223ab: Correctly set Content-Length header (gin-contrib#11) (Łukasz Mierzwa prymitive@users.noreply.github.com)
- 93bb0f0: add 1.8.x and remove 1.5.x version. (Bo-Yi Wu appleboy.tw@gmail.com)
- 79783a9: add MIT license (gin-contrib#10) (Bo-Yi Wu appleboy.tw@gmail.com)
- 6743ec8: revert to github.com (Bo-Yi Wu appleboy.tw@gmail.com)
- df8ae59: Update Canonical Example in README to use correct import (gin-contrib#3) (Thai Wood Thai@ThaiWood.IO)
- b773df1: Merge pull request gin-contrib#2 from DanielHeckrath/master (Bo-Yi Wu appleboy.tw@gmail.com)
- 579fc04: fix example. (Bo-Yi Wu appleboy.tw@gmail.com)
- 4a4ce7e: update example. (Bo-Yi Wu appleboy.tw@gmail.com)
- c695198: Use sync.Pool to recycle gzip.Writer (Daniel Heckrath d.heckrath@maple-apps.com)
- 5b620af: Merge pull request gin-contrib#1 from tleb/gopkg (Bo-Yi Wu appleboy.tw@gmail.com)
- 370aaca: gin-gonic/contrib/gzip moved to gin-contrib/gzip (tleb tleb@openmailbox.org)
- c1c937f: Use gopkg.in (tleb tleb@openmailbox.org)
- 690cfa1: remove Godeps (Bo-Yi Wu appleboy.tw@gmail.com)
- 9ee9acc: add travis and readme. (Bo-Yi Wu appleboy.tw@gmail.com)
- a5fd55f: initial project. (Bo-Yi Wu appleboy.tw@gmail.com)