github sindresorhus/got v10.0.0-beta.2

latest releases: v14.2.1, v14.2.0, v14.1.0...
pre-release4 years ago

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 got@10.0.0-beta.2

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

Don't miss a new got release

NewReleases is sending notifications on new releases.