Xh Versions Save

Friendly and fast tool for sending HTTP requests

v0.22.0

3 weeks ago

Features

  • Support http2-prior-knowledge, see #356 (@zuisong)
  • Directly bind to interface name on supported platforms, see #359 (@ducaale)
  • Enable stream when content-type is text/event-stream, see #360 (@zuisong)
  • Decode utf-8 encoded string when formatting non-streaming JSON response, see #361 (@zuisong)

Other

  • Upgrade to hyper v1, see #357 (@zuisong)
  • Use serde-transcode to optimize JSON formatting, see #362 (@blyxxyz)

v0.21.0

3 months ago

Features

  • Display remote address in metadata when -vv or --meta flag is used, see #348 (@zuisong)

Other

  • Default XH_CONFIG_DIR to ~/.config/xh in macOS, see #353 (@ducaale)

v0.20.1

5 months ago

Features

  • Add --resolve for overriding DNS resolution, see #327 (@ducaale)

v0.19.4

6 months ago

Other

  • Explicitly enable serde's derive feature, see #334 (@jayvdb)

v0.19.3

6 months ago

Other

  • Make network-interface an optional dependency, see #332 (@blyxxyz)

Note for package maintainers: When building xh with --no-default-features, make sure to enable the network-interface feature if there are no build errors like in https://github.com/ducaale/xh/issues/330

v0.19.2

6 months ago

Features

  • Add --interface for binding to a local IP address or interface, see #307 (@ducaale)
  • Translate --raw flag when using --curl, see #308 (@ducaale)
  • Support duplicate header keys in session files, see #313 (@ducaale)
  • Support persisting cookies from multiple domains, see #314 (@ducaale)
  • Control output formatting (JSON indent-level, header sorting, etc) via --format-options, see #318 (@Bnyro) and #319 (@ducaale)

Bug fixes

  • Disable cURL's URL globbing, see #325 (@ducaale)
  • Improve PATH handling in install.ps1, see #264 (@henno)

Other

  • Update Rustls to v0.21.0, see #311 (@ducaale)

v0.18.0

1 year ago

Features

  • Support reading query param and header values from a file, see #288 (@ducaale)
  • Highlight Syntax errors found while tokenizing a JSON path, see #260 (@ducaale)
  • Support outputting the metadata of a response via --meta, --print=m or -vv, see #240 (@ducaale)

Bug fixes

  • Fix panic when when parsing connection timeout, see #295 (@sorairolake)

Breaking changes

  • Remove -m as a short flag for --multipart, see #299 (@ducaale)

v0.17.0

1 year ago

Features

  • Add support for nested json syntax, see #217 (@ducaale)
  • Add Support for bearer auth in .netrc, see #267 (@porglezomp)
  • Add --ipv4 and --ipv6 flags for forcing IPv4 and IPv6 respectively, see #276 (@zuisong)

Other

  • Allow building xh using native-tls only, see #281 (@jirutka)
  • Warn users when translating --follow + non GET method, see #280 (@jgoday)

v0.16.1

1 year ago

Bug fixes

  • fix HEAD request failing on compressed response, see #257 (@ducaale)

Other

  • Configurable install dir for install.sh via XH_BINDIR env variable, see #256 (@lispyclouds)
  • Use exit status 2 and 6 for request timeout and too many redirects errors respectively, see #258 (@sorairolake)

v0.16.0

2 years ago

Features

  • Add support for URLs with leading :// to allow quick conversion of pasted URLs into HTTPie/xh command e.g http://httpbin.org/json$ http ://httpbin.org/json, see #232 (@ducaale)
  • Support sending multiple request headers with the same key, see #242 (@ducaale)

Bug fixes

  • Don't remove content-encoding and content-length headers while processing gzip/deflate/brotli encoded responses, see #241 (@ducaale)

Other

  • Replace structopt with clap3.x, see #216 (@ducaale) and #235 (@blyxxyz)
  • Improve output coloring performance by switching to incremental highlighting, see #228 (@blyxxyz)
  • Faster --stream output formatting by switching to full buffering and manual flushing, see #233 (@blyxxyz)
  • Automate the generation of negation flags, see #234 (@blyxxyz)
  • Display download's elapsed time as seconds, see #236 (@ducaale)