Skip to content

Remove got in favor of ky

Latest
Compare
Choose a tag to compare
@thetutlage thetutlage released this 27 Dec 05:51
· 2 commits to 6.x since this release

Breaking changes

got is a huge library and we don't even use 90% of its features. Therefore, replaced it with a lightweight option. Since, got APIs are never exposed to the end-user, we do not expect any major breaking changes.

  • Replaced got with ky.
  • Removed support for buffer response type. The response type is now either text or json.
  • Removed support for sending body in GET requests. It was earlier supported via allowGetBody option from got, which isn't support by ky.