Skip to content

Latest commit

 

History

History
152 lines (103 loc) · 5.21 KB

CHANGES.md

File metadata and controls

152 lines (103 loc) · 5.21 KB

Changes

4.0.0

  • 💥 71e18e1 Drop node 12 and 14, support node 18 and 20
  • 💥 65e3d9b Use Studio Fail
  • 💥 ddbd041 Destroy request instead of abort
  • 🍏 9ce212a Add types
  • 0d510aa Upgrade Studio Changes
  • df96e6b Update Studio Log and Studio Log X
  • 4d1de86 Upgrade eslint-config and eslint and use URL
  • 57bb923 Replace sinon spy and stub with fakes
  • f23a336 Replace assert and sinon with referee-sinon
  • 2def327 Upgrade mocha to v10

Released by Maximilian Antoni on 2024-01-30.

3.0.1

  • 🐛 f8e06d4 Log cause on request and response error
  • 🛡 11c3a34 Bump lodash from 4.17.10 to 4.17.19 (dependabot[bot])
  • 9eab585 Configure GitHub actions
  • 0739619 Upgrade sinon
  • 12ce96f Upgrade mocha
  • 07ba17a Upgrade eslint
  • 7c5ba13 Update Studio ESLint Config
  • 9a1fbc0 Upgrade Studio Changes to v2
  • a8e06e0 Add .gitignore

Released by Maximilian Antoni on 2021-05-25.

3.0.0

  • 💥 685b9ab BREAKING: Use Studio Log v2
  • 📚 9d827ee Change example code for Studio Log v2 changes
  • 404184f Use Studio Changes --commits option

2.2.0

  • 🍏 Add child logger support and document logging
  • 📚 Add feature list
  • 📚 Document how to x-out confidential information

2.1.1

  • ✨ Improve error handing and logging

2.1.0

  • 🍏 Expose response status code on E_EXPECT error

2.0.3

  • ✨ Log parsed JSON response body

2.0.2

  • 📚 Improve documentation

2.0.1

  • 📚 Add related modules section
  • ✨ Add keywords, description, homepage and repository
  • ✨ Add MIT license
  • ✨ Add package-lock.json

2.0.0

  • ✨ Breaking: Reduce API to single function

    Removed http_request and https_request and instead support an additional protocol option.

1.4.2

  • 🙈 Support Node 4

1.4.1

  • 🐛 Fix log.finished -> log.finish

1.4.0

  • Use @studio/log
  • Include body in error log if parse failed

1.3.1

  • Always log body on unexpected response

1.3.0

  • Support sending streams

1.2.3

  • Print text response for unexpected response
  • Missing colon in logs if protocol is http

1.2.2

  • Log request / response header and body in error cases

1.2.1

  • Add console logs until we have a real logger

1.2.0

Follow redirects if the expect array contains 302 and a location header is in the response. A second redirect will not be followed and result in an E_EXPECT error.

1.1.0

  • Add stream option to yield the raw response

    This option is intended for stream processing or if the response is expected to contain non-JSON data.

  • Validate the statusCode before consuming the body

  • Fix timeout edge cases

1.0.1

  • Parse JSON if content-type includes charset

1.0.0

  • Inception