Skip to content

Releases: featurist/httpism

v3.26.0

13 Nov 16:10
Compare
Choose a tag to compare
  • Merge pull request #53 from featurist/es5-check 94484dd
  • fix es5 compat issues, add es5 check 4c06adc

v3.25.0...v3.26.0

v3.25.0

05 Nov 14:00
Compare
Choose a tag to compare
  • Merge pull request #52 from featurist/dont-mutate-headers 08a2d2b
  • don't mutate headers c217289
  • update package-lock 5c3ef90

v3.24.0...v3.25.0

security upgrade

21 Oct 15:17
Compare
Choose a tag to compare
  • upgrade dependencies with security fixes

v3.23.0...v3.24.0

browser form data

17 May 12:33
Compare
Choose a tag to compare

Browser form data now works, see #25. Thanks @dereke!

big three oh

05 May 08:44
Compare
Choose a tag to compare

Big changes in this release:

  • #18: returns response body by default, which is what you want 95% of the time. To get the response, use the {response: true} option. For full backwards compat you can do this:

    let httpism = require('httpism').client({response: true})
  • #17: Logs report the times for headers and body separately:

    httpism GET http://www.example.com/ => 200 (109ms, 520ms) +546ms
    
  • #19 rename httpism.api() => httpism.client()

  • #21 better support for proxy environment variables:

    • http_proxy HTTP_PROXY - for HTTP requests
    • https_proxy HTTPS_PROXY - for HTTPS requests
    • all_proxy ALL_PROXY - for HTTP or HTTPS requests
    • no_proxy NO_PROXY - an comma separated list of hostnames (and optional ports) to not proxy
  • #22 URLs can now contain parameters, such as /articles/:articleId, to use this, pass {params: {articleId: 'xx'}} option.

  • middleware is now split up so it's easier to craft your own Httpism pipelines from scratch, see the readme and index.js for an example.

  • rename httpism.send() to httpism.request()

  • support for client-side timeouts, see options

  • can now download to a stream, and wait for the entire download to finish before resolving promise. Use the {output: aStream} option, see options