Skip to content

Releases: gookit/greq

v0.6.0

19 May 02:22

Choose a tag to compare

Change Log

Refactor

  • refactor(greq): move body providers into internal/bodyprovider ce682ac
  • refactor(greq): merge middle.go and resp_decoder.go into greq.go aa0bf6e
  • refactor(greq): merge option.go into builder.go 9266d5c
  • refactor(bench): move progress rendering out, expose Snapshot + OnProgress e22fddf
  • refactor(gbench): use cliui/progress and split into its own go module d4a69ff
  • refactor(greq cli): interactive Select for --raw multi-match, split into own module 12bb5fd

Fixed

  • fix(gbench): graceful cancel and progress bar fixes when -n is large b2d47d7
  • fix(batch): TestExecuteAllWithError uses loopback closed port instead of fake domain 20520db
  • fix(client): rebuild middleware chain only on mutation, not per request c357d9d
  • fix(client): thread retry config through call chain, stop mutating Client fcc4e58
  • fix(resp,bench): add BodyBufferE/BodyStringE error-returning variants 379477e
  • fix(batch): ExecuteAny returns nil promptly when every request fails e34254f
  • fix(batch): workers honor per-call timeout ctx and ExecuteAll waits for them 4203708
  • fix(bench): split colored vs plain result formatting for file output c2d5cd9
  • fix(resp): SaveFile refuses non-2xx, IsEmptyBody handles chunked correctly 48394d5
  • fix(bench,gbench): stream body for byte count, ctx-aware QPS ticker, exit code on interrupt 1f069c9

Feature

  • feat(cmd): add build-time version info and -v/--version flag 11fb16a

Other

  • chore(deps): bump WillAbides/setup-go-faster from 1.14.0 to 1.15.0 (#81) f70c48f
  • chore(deps): bump softprops/action-gh-release from 2 to 3 (#82) d0142ee
  • chore(deps): bump github.com/gookit/goutil from 0.7.3 to 0.7.5 (#83) 40d8993
  • docs: add greq 20260219 code review report and CLAUDE agent reference 775a688
  • docs(greq): warn about typed-nil Provider trap and Multipart call order 402c4b9
  • ci: add Linux race detector job to go.yml 9f7cf2c
  • chore: Bump Go version to 1.23 and move TODO to docs c22ecee
  • docs(readme): rewrite to match actual library surface 3941ca8
  • build: Add UPX compression and Eget install instructions dd4e1f0
  • ci: cover cmd/greq and cmd/gbench submodules e5f5303
  • build(release): wire end-to-end release pipeline for cmd submodules 47a8599
  • ci(release): use go mod verify instead of go mod tidy 523ca6b
  • build(release): chmod +x linux/darwin artifacts, smoke-test version output 44e9256

What's Changed

Full Changelog: v0.5.0...v0.6.0

v0.5.0

21 Feb 06:30

Choose a tag to compare

Change Log

Feature

  • ✨ feat: gbench - an http load testing tool like ab 36b9bd5
  • ✨ feat: cmd/greq - Simple HTTP request tool, like curl e293f66
  • ✨ feat: ext/batch - support batch sends requests, wait one ok OR wait all ok bbcad20
  • feat: Add test cases and documentation comments e9f8085
  • feat: add new exe - httpfile for parse .http file 00bccf6
  • feat(down): Improve the file download functionality and add utility functions. 560dbf1
  • feat(download): Enhance download functionality and add progress display 719d3ff
  • feat(greq): Enhanced HTTP client functionality df16f83
  • feat(greq): Add a Download method to download remote files to local aab0684
  • feat: Add multipart file upload support, tests and docs 7e4c344

Update

  • 👔 up: update client request build logic f7e6a0e
  • 👔 up: gbench - some logic update, move to subdir b8329d5
  • 👔 up: batch - update some logic and add test cases 6cdc4e3
  • 📝 chore: update some comments and docs 0b9a683
  • update: Improve HTTP file parsing and request handling 4828d60
  • up: record request cost time to resp 13fc2ce
  • up: add download file support f346658
  • up: fix some build and test error 0a97a45
  • up: gbench - add cli progress bar show 4b2cd44
  • update(greq): Move the NewTransport function from client.go to greq.go 83f1122
  • update(resp): add Body nil check on CloseBody 88588f0
  • up: Add AGENTS.md and tidy module files f554796
  • up: Unify timeout handling and harden HTTP client config a9e43a9
  • up: Add Makefile, update .gitignore and URL handling ec2de3f

Other

  • chore(deps): bump actions/checkout from 4 to 5 (#78) 575fd11
  • chore(deps): bump actions/checkout from 5 to 6 (#79) 11b7b91
  • chore(deps): Update dependent versions and optimize code formatting 5ba2dc5

v0.4.1

13 Oct 06:56

Choose a tag to compare

Change Log

Update

  • chore: update some ci config files, up some tests 75c0c52

Other

  • chore(deps): bump github.com/gookit/goutil from 0.6.17 to 0.6.18 (#70) c8f9032
  • chore(deps): bump morphy2k/revive-action from 2.7.1 to 2.7.2 (#71) 91d5c68
  • chore(deps): bump morphy2k/revive-action from 2.7.2 to 2.7.3 (#72) 0bb8e10
  • chore(deps): bump morphy2k/revive-action from 2.7.3 to 2.7.4 (#73) ae9bea2
  • chore(deps): bump morphy2k/revive-action from 2.7.4 to 2.7.5 (#74) 78901f7
  • chore(deps): bump morphy2k/revive-action from 2.7.5 to 2.7.6 (#75) 90b1a49
  • chore(deps): bump morphy2k/revive-action from 2.7.6 to 2.7.7 (#76) 3d1196f
  • chore(deps): bump morphy2k/revive-action from 2.7.7 to 2.7.8 (#77) aa42171
  • ⬆️ dep: upgrade gookit/goutil v0.6.18 to v0.7.0 e300443

v0.4.0

09 Dec 02:25
85326d7

Choose a tag to compare

Change Log

  • chore(deps): bump github.com/gookit/goutil from 0.6.10 to 0.6.11 (#41) 768bdb1
  • chore(deps): bump WillAbides/setup-go-faster from 1.8.0 to 1.9.0 (#43) 88d4459
  • chore(deps): bump github.com/gookit/goutil from 0.6.11 to 0.6.12 (#42) 7670365
  • chore(deps): bump WillAbides/setup-go-faster from 1.9.0 to 1.9.1 (#44) b273a09
  • chore(deps): bump WillAbides/setup-go-faster from 1.9.1 to 1.10.0 (#45) cde2183
  • chore(deps): bump morphy2k/revive-action from 2.5.2 to 2.5.3 (#47) 4ee0d32
  • chore(deps): bump actions/checkout from 3 to 4 (#48) f21b5a8
  • chore(deps): bump WillAbides/setup-go-faster from 1.10.0 to 1.10.1 (#46) 51083a5
  • chore(deps): bump WillAbides/setup-go-faster from 1.10.1 to 1.11.0 (#49) 11e4430
  • chore(deps): bump WillAbides/setup-go-faster from 1.11.0 to 1.12.0 (#50) c7e7d8f
  • chore(deps): bump morphy2k/revive-action from 2.5.3 to 2.5.4 (#53) 2167e6f
  • chore(deps): bump WillAbides/setup-go-faster from 1.12.0 to 1.13.0 (#54) 519f5e0
  • chore(deps): bump morphy2k/revive-action from 2.5.4 to 2.5.5 (#55) f00425d
  • chore(deps): bump github.com/gookit/goutil from 0.6.12 to 0.6.15 (#56) 2037a17
  • chore(deps): bump morphy2k/revive-action from 2.5.5 to 2.5.6 (#57) 60dc759
  • chore(deps): bump WillAbides/setup-go-faster from 1.13.0 to 1.14.0 (#58) b530b50
  • chore(deps): bump morphy2k/revive-action from 2.5.6 to 2.5.7 (#59) 75e57f0
  • chore(deps): bump softprops/action-gh-release from 1 to 2 (#60) 476abcf
  • chore(deps): bump github.com/gookit/goutil from 0.6.15 to 0.6.16 (#61) 11a5af1
  • chore(deps): bump github.com/gookit/goutil from 0.6.16 to 0.6.17 (#65) 0dc2421
  • chore(deps): bump morphy2k/revive-action from 2.5.7 to 2.6.0 (#66) 5fe1488
  • chore(deps): bump morphy2k/revive-action from 2.6.0 to 2.6.1 (#67) 844ece0
  • chore(deps): bump morphy2k/revive-action from 2.6.1 to 2.7.0 (#68) 850f9f6
  • chore(deps): bump morphy2k/revive-action from 2.7.0 to 2.7.1 (#69) 85326d7

v0.3.0

25 Jun 16:47

Choose a tag to compare

Change Log

Refactor

  • ♻️ refactor: refactoring request build and send logic e499a39

Feature

  • ✨ feat: add more feature for make request and update some deps 551d19c

Update

  • 👔 up: replace all interface{} to go1.18 any type e9e810a
  • 👔 up: update go to 1.18, update ci config and deps bb5bc3f
  • up: add more option set func and update readme 3bc3f47

Other

  • chore(deps): bump github.com/gookit/goutil from 0.5.7 to 0.5.8 30698e8
  • chore(deps): bump github.com/gookit/goutil from 0.5.8 to 0.5.9 677dad3
  • chore(deps): bump github.com/gookit/goutil from 0.5.9 to 0.5.10 1642450
  • chore(deps): bump github.com/gookit/goutil from 0.5.10 to 0.5.11 ace6e91
  • chore(deps): bump github.com/gookit/goutil from 0.5.11 to 0.5.12 d7f2495
  • chore(deps): bump morphy2k/revive-action from 2.4.0 to 2.4.1 da990a3
  • chore(deps): bump github.com/gookit/goutil from 0.5.12 to 0.5.13 59dfebd
  • chore(deps): bump github.com/gookit/goutil from 0.5.13 to 0.5.15 77be4c1
  • chore(deps): bump WillAbides/setup-go-faster from 1.7.0 to 1.8.0 fa01b3b
  • chore(deps): bump github.com/gookit/goutil from 0.5.15 to 0.6.0 99ffef3
  • chore(deps): bump github.com/gookit/goutil from 0.6.0 to 0.6.1 efe5097
  • chore(deps): bump github.com/gookit/goutil from 0.6.1 to 0.6.7 (#34) e8d3d1e
  • chore(deps): bump morphy2k/revive-action from 2.4.1 to 2.5.0 (#35) d6a3a0c
  • chore(deps): bump morphy2k/revive-action from 2.5.0 to 2.5.1 (#36) 07de661
  • chore(deps): bump morphy2k/revive-action from 2.5.1 to 2.5.2 (#38) d0a9da9

What's Changed

Full Changelog: v0.2.0...v0.3.0

v0.2.0

09 Aug 13:47

Choose a tag to compare

Change Log

Refactor

Update

Other

v0.1.0

23 Jan 16:21

Choose a tag to compare

Release v0.1.0