Repository navigation
v0.1.0
Changelog
Features
- 3c5688b: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (@appleboy)
- 7452411: feat: add Status method to Writer struct and update test (gin-contrib#63) (@appleboy)
Bug fixes
- 9e7d799: fix(context): (context.Context).Err() returns DeadlineExceeded (gin-contrib#54) (@demouth)
- c0a749e: fix: the result will be incorrect when call gin.Context.Writer.Status() in our custom gin middleware used after this middleware (gin-contrib#46) (@zhyee)
- 0e6dbd8: fix: fix typos in workflow specifications (@appleboy)
- f338d36: fix(response): refactor timeout and writer functions and tests (gin-contrib#64) (@appleboy)
- 4c4d0ab: fix(writer): panic occurred while processing redirect request (gin-contrib#37) (@larsgroeber)
- c6e7905: fix(timeout): make set/read timeout and write/put buffer atomic (gin-contrib#65) (@youzhixiaomutou)
- d9d3b75: Bug fix: ( <>)
Enhancements
- 4335ef6: chore: initial project (@appleboy)
- 0846c1b: chore: add example (@appleboy)
- 1607541: chore: Functional Options (@appleboy)
- 8243037: chore: Add custom response (@appleboy)
- 8127a9d: chore: Add success testing (@appleboy)
- dd4cd6f: chore: add travis service (@appleboy)
- 8bc3693: chore: update timeout (@appleboy)
- b9484f4: chore: update travis (@appleboy)
- 48a1a3a: chore: update timeout (@appleboy)
- 679268a: chore: test timeout value < 0 (@appleboy)
- 1f19e33: chore: upgrade gin to v1.7.2 (@appleboy)
- 22c44bd: chore: enable github testing (@appleboy)
- 5aeb4df: chore: add github action badges (@appleboy)
- 32b9d37: chore: remove support go 1.12 (@appleboy)
- 2cd427d: chore: remove windows testing (@appleboy)
- e89e167: chore: Add golangci (gin-contrib#4) (@appleboy)
- 0022fa8: chore: upgrade golangci-lint to v1.42.0 and add cache (gin-contrib#8) (@appleboy)
- d1a59e3: chore(lint): upgrade /golangci-lint to v1.43.0 (@appleboy)
- 2cfe50e: chore(lint): add golangci config (@appleboy)
- 73186e2: chore(CI): lint setup go version to ^1 (@appleboy)
- 46425b7: chore: upgrade checkout version to v3 (@appleboy)
- 44bef0b: chore(github): upgrade action package. (@appleboy)
- 97af963: chore(CD): enable goreleaser config. (@appleboy)
- ed4538c: chore(deps): bump goreleaser/goreleaser-action from 2 to 3 (gin-contrib#23) (@dependabot[bot])
- 9a950e0: chore(deps): bump github/codeql-action from 1 to 2 (gin-contrib#18) (@dependabot[bot])
- d0a62c7: chore(deps): bump github.com/gin-gonic/gin from 1.7.2 to 1.7.7 (gin-contrib#20) (@dependabot[bot])
- 657e8cb: chore: bump require version (@appleboy)
- ee43ee3: chore(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0 (@dependabot[bot])
- 7e229ec: chore: Add go 1.19 and upgrade lint version to v1.49 (@appleboy)
- e44554c: chore(deps): add go1.20 version (@appleboy)
- 23faee9: chore: update Go version and golangci-lint, add support for Go 1.21 (@appleboy)
- d75482b: chore: update Go version and dependencies (@appleboy)
- 8a6efc1: chore: update GitHub Actions versions in workflow files (@appleboy)
- df7cf8a: chore: update
actions/setup-goversion tov4(@appleboy) - e7c3a7b: chore: update goreleaser/goreleaser-action version in workflow (@appleboy)
- 3c14b06: chore: update linters and go-version in GitHub actions workflow (@appleboy)
- c9f1fc9: chore: update third-party dependencies (@appleboy)
- 781db7c: chore: update version of actions/setup-go to v5 in GitHub workflows (@appleboy)
- 51275ed: chore: update dependencies across multiple libraries (@appleboy)
- d526c12: chore: update third-party dependencies to latest versions (@appleboy)
- 349f04c: chore: refine release process and CI configuration (@appleboy)
- cdfffc7: chore: update dependencies and add
sonic/loader(@appleboy) - 82afd2f: chore: update gin and various indirect dependencies (@appleboy)
- 69f00cd: chore: update dependencies to latest versions (@appleboy)
- 73ddb09: chore: update dependencies and improve test coverage (@appleboy)
- 841ea97: chore: upgrade golangci-lint action to version 6 (@appleboy)
- c7b2e17: chore: upgrade Go and dependencies to latest versions (@appleboy)
Refactor
- df5d291: refactor: refactor comments for BufferPool class (@appleboy)
- 09305e3: refactor: refactor error handling and response assertions (@appleboy)
- eab81f0: refactor: refactor status code assertion in timeout_test.go (@appleboy)
Build process updates
- 1d781d2: ci: update GitHub Actions to version 3 for codeql-action/init (@appleboy)
- a2b5e02: ci: refine Go workflows in GitHub Actions (@appleboy)
- 8dd7b7e: ci: update GitHub Actions configurations (@appleboy)
- 9006bed: ci: standardize naming conventions and update dependencies (@appleboy)
- 8dbbb14: ci: remove macOS build configuration from workflow (@appleboy)
- ca22957: ci: update Go version support in workflow configuration (@appleboy)
Documentation updates
- cc4ddc0: docs: add badge (@appleboy)
- 92c87fb: docs: Add option (@appleboy)
- eaaebf4: docs: update readme (@appleboy)
- add662f: docs: Add middleware in all handler (gin-contrib#28) (@appleboy)
- 6bfdf18: docs: format code in readme.md (gin-contrib#50) (@rfyiamcool)
Others
- 29f1cfc: Update README.md (@appleboy)
- d23d904: fixed http content-length panic (@lRoccoon)
- 817e34d: add some test (@lRoccoon)
- a3a74a3: add go1.16 (@appleboy)
- 3e9729f: Merge pull request gin-contrib#2 from lRoccoon/dev (@appleboy)
- 13de0d0: lock/unlock adjust and timeout Option adjust (gin-contrib#5) (@daheige)
- b0555d6: Fixed README.md - Add WithResponse option wrong example (gin-contrib#11) ( <>)
- 2c51596: free buffer reset body (gin-contrib#13) (@niuyueyang1996)
- e9b362c: fix combined http results error (gin-contrib#9) (@gitslagga)
- 8856241: chore(CI/CD): remove macos-latest testing (@appleboy)
- bf6f157: chore(CI/CD): add dependabot (@appleboy)
- 53932ea: Merge pull request gin-contrib#30 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.8.0 (@thinkerou)
- 873c37e: fix golangci-lint(depguard) errors (gin-contrib#56) (@demouth)
- 40e155c: test: refactor response handling and add response code assertion (@appleboy)
- ae97451: revert PR gin-contrib#46 (gin-contrib#61) (@appleboy)
- f2805fd: reverted PR gin-contrib#54 :timeout handling in timeout.go and timeout_test.go (gin-contrib#62) (@appleboy)