Skip to content

v10.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 25 Nov 04:59

While this is an beta release, the code is well-tested and fairly stable. We encourage you to test it out and report any issues.

$ npm install [email protected]

Make sure you also read the alpha.1, alpha.2, alpha.3, and beta.1 release notes.

Changes in beta 2:

Breaking

  • Use the responseType option instead of encoding to get a Buffer (#940) 6cc3d9f
    Previously, you would pass {encoding: null} to get a Buffer, but this was confusing. You now use {responseType: 'buffer'} instead.

Enhancements

  • Preserve stack trace when wrapping errors (#935) 8874a45
  • Make TypeScript types conforms to strict mode (#928) c537dee

Fixes

  • Make the progress events not be based on internal Node.js properties cd11a50

v10.0.0-beta.1...v10.0.0-beta.2