Skip to content

Releases: wklken/fetch

v1.0.9

02 Nov 01:58
d8fcebf
Compare
Choose a tag to compare

What's Changed

  • fix: 🐛 panic while read empty section in yaml by @wklken in #64
  • feat: 🎸 contains support a single string or string array by @wklken in #66

Full Changelog: v1.0.8...v1.0.9

v1.0.8

31 Oct 02:26
1b5de6a
Compare
Choose a tag to compare

fix:

  • go install failure

v1.0.7

13 Aug 03:18
5ac1ca2
Compare
Choose a tag to compare

fix all ci rename httptest to fetch;

v1.0.6

13 Aug 03:03
33611fb
Compare
Choose a tag to compare

rename httptest to fetch; (kitty play fetch)

v1.0.5

06 Aug 07:08
4486d89
Compare
Choose a tag to compare

Features

  • Support add multiple cases in one yaml file
  • Support parse: chain the requests, parse vars from first, use in the next
  • operators:
    • Support header_value_contains and header_value_matches
  • Add files stats
  • hooks:
    • save_response
    • exec (execute any scripts)
    • sleep
  • Show envs in debug mode
  • Support requests flow wait until (use retry)
  • Support set max redirects

Refactor

  • Body_regexp to body_matches
  • Only support yaml from now

Bug Fixes

  • Wrong count

Documentation

  • Docs
  • Update

v1.0.4

30 Jul 02:47
366b246
Compare
Choose a tag to compare

Bug Fixes

  • wrong stats case count

Features

  • Support add multiple cases in one yaml file
  • Support chain the requests, parse vars from first, use in the next
  • Add multiple_case_in_same_file.yaml
  • Add files stats
  • Support header_value_contains and header_value_matches

Refactor

  • Body_regexp to body_matches

v1.0.3

16 Feb 02:53
4bf821b
Compare
Choose a tag to compare
  • upgrade to go1.20
  • add Dockerfile (auto build and push)

v1.0.2

23 Dec 13:15
Compare
Choose a tag to compare

v1.0.2

Add

  • assert: header_exists/cookie_exists/body_icontains/body_regexp/body_not_regexp

Documentation

  • add more examples and docs

CICD

  • add goreleaser on github action

v1.0.1

18 Dec 13:23
906e285
Compare
Choose a tag to compare

Bug Fixes

  • Json assertion type not match / repsonse body length=0 EOF
  • Fix ordering wrong, duplicate files in the pattern
  • Verbose output log print order

Documentation

  • Refactor examples
  • Update docs
  • Update readme
  • Add more examples

Features

  • Add more examples
  • Add http proxy
  • Add default user-agent
  • Support hasRedirect and redirectCount_{op}

v1.0.0

09 Dec 15:16
e452752
Compare
Choose a tag to compare

v1.0.0

config

  • support retry
  • support run in parallel
  • support case timeout
  • support send application/msgpack
  • support request support disable_redirect

assert

  • assert cookie
  • assert error: assert.error_contains for http fail
  • assert xml: xpath
  • assert html: xpath
  • assert yaml: jmespath, convert to json and assert as json
  • assert toml: jmespath, convert to json and assert as json
  • assert msgpack: decode msgpack and assert as json

output

  • show progress bar
  • show the line number if fail