Skip to content

Releases: ducaale/xh

v0.22.0

12 Apr 22:50
Compare
Choose a tag to compare

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

v0.21.0

28 Jan 21:36
Compare
Choose a tag to compare

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

19 Nov 17:44
Compare
Choose a tag to compare

Features

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

v0.19.4

22 Oct 21:55
Compare
Choose a tag to compare

Other

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

v0.19.3

21 Oct 21:28
Compare
Choose a tag to compare

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 #330

v0.19.2

21 Oct 14:19
Compare
Choose a tag to compare

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

Other

v0.18.0

20 Feb 21:09
Compare
Choose a tag to compare

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

Breaking changes

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

v0.17.0

08 Nov 23:20
Compare
Choose a tag to compare

Features

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

22 May 19:36
Compare
Choose a tag to compare

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

17 Apr 14:42
Compare
Choose a tag to compare

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)