Skip to content

Latest commit

 

History

History
379 lines (197 loc) · 19.6 KB

CHANGELOG.md

File metadata and controls

379 lines (197 loc) · 19.6 KB

📓 Changelog

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

8.5.0 (2024-05-23)

Features

  • improved request body stream conversion (#446) (9f8393f)

8.4.30 (2024-05-14)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^6.8.15 (#444) (cc0d93d)

8.4.29 (2024-05-07)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^6.8.12 (#438) (7d11328)

8.4.28 (2024-05-03)

Bug Fixes

8.4.27 (2024-04-19)

Bug Fixes

  • handle bug affecting next 14.2.2 during static pregeneration (1a794fe)

8.4.26 (2024-04-17)

Bug Fixes

  • typings: improve .d.ts output (3fd490e)

8.4.25 (2024-04-17)

Bug Fixes

  • allow setting retryDelay as a request option (08e5f24)

8.4.24 (2024-04-17)

Bug Fixes

  • inline debug for better ESM interop (18798b6)
  • inline parse-headers for better ESM interop (1f36dfe)
  • package exports for react-native (#413) (a93400e)

8.4.23 (2024-04-13)

Bug Fixes

8.4.22 (2024-04-13)

Bug Fixes

8.4.21 (2024-04-11)

Bug Fixes

8.4.20 (2024-04-11)

Bug Fixes

  • add bun export condition (f616b13)

8.4.19 (2024-04-10)

Bug Fixes

  • remove unnecessary source condition (5c60ce0)

8.4.18 (2024-04-05)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^5.1.11 (#388) (2b15a5e)

8.4.17 (2024-04-02)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^5.1.5 (#381) (b84063e)

8.4.16 (2024-03-20)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^5.1.4 (#379) (eaebb08)

8.4.15 (2024-03-20)

Bug Fixes

  • add missing tsdoc release tags (5270c21)
  • ship TS Node16 compatible typings (07ee33e)

8.4.14 (2024-03-18)

Bug Fixes

  • query string merging in legacy react native versions (#366) (ca8cb61)

8.4.13 (2024-03-15)

Bug Fixes

  • Revert "fix: query string merging in legacy react native versions" (#365) (1e685d0), closes #351

8.4.12 (2024-03-15)

Bug Fixes

  • deps: Update dependency follow-redirects to ^1.15.6 (#364) (23eef83)

8.4.11 (2024-03-11)

Bug Fixes

  • query string merging in legacy react native versions (#351) (48ca973)

8.4.10 (2024-02-26)

Bug Fixes

8.4.9 (2024-02-21)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^4.2.8 (#337) (f0e8c07)

8.4.8 (2024-02-21)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^4.2.6 (#334) (f19aed3)

8.4.7 (2024-02-20)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^4.2.0 (#314) (55440e4)
  • deps: update dependency @sanity/pkg-utils to ^4.2.4 (#329) (151e7e4)

8.4.6 (2024-01-25)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to v4 (#312) (735c309)

8.4.5 (2024-01-11)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^3.3.7 (#297) (9660580)
  • deps: Update react monorepo (#265) (080b96c)

8.4.4 (2023-10-24)

Bug Fixes

8.4.3 (2023-08-17)

Bug Fixes

  • add ability to opt-out of setting signal on fetch (#180) (dc269bc)

8.4.2 (2023-08-09)

Bug Fixes

  • improve React Native compatiblity (ead5ceb)

8.4.1 (2023-08-07)

Bug Fixes

8.4.0 (2023-08-07)

Features

Bug Fixes

  • deps: Update dependency next to v13.4.13 (#160) (6cab644)

8.3.2 (2023-08-04)

Bug Fixes

8.3.1 (2023-07-25)

Bug Fixes

8.3.0 (2023-07-07)

Features

Bug Fixes

8.2.0 (2023-06-28)

Features

  • add support for fetch in node (1608207)
  • add support for fetch options in edge runtimes (ca20c8e)

8.1.4 (2023-06-28)

Bug Fixes

  • deps: update dependency typescript to v5.1.5 (#142) (63b72d8)

8.1.3 (2023-05-15)

Bug Fixes

8.1.2 (2023-05-11)

Bug Fixes

  • add missing attemptNumber argument to retry option typings (#113) (5713f87)
  • produce error instances from xhr error & timeout event callbacks (#127) (6169b6a)

8.1.1 (2023-03-24)

Bug Fixes

  • fetch: check for existence of EventTarget before using (b31db80)

8.1.0 (2023-03-23)

Features

8.0.11 (2023-03-14)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^2.2.10 (#98) (e6b69bf)

8.0.10 (2023-03-06)

Bug Fixes

  • deps: update devdependencies (non-major) (#90) (5b96189)

8.0.9 (2023-01-25)

Bug Fixes

  • use commonjs for legacy middleware export (#78) (1d7c50a)

8.0.8 (2023-01-23)

Bug Fixes

  • improve legacy ESM support (d622f1c)

8.0.7 (2023-01-18)

Bug Fixes

  • replace create-error-class with native Error (3056ed1)
  • replace form-urlencoded with native APIs (d56750c)

8.0.6 (2023-01-14)

Bug Fixes

  • deps: update devdependencies (non-major) (#67) (23f3c1d)

8.0.5 (2023-01-11)

Bug Fixes

  • replace url-parse with native URL (f6317e3)

8.0.4 (2023-01-10)

Bug Fixes

  • improve fetch fallback, drop dead IE legacy (#64) (8fe6734)

8.0.3 (2023-01-09)

Bug Fixes

  • add support for deno and worker conditions (5a1a263)

8.0.2 (2023-01-06)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^2.1.1 (#51) (2937fcc)

8.0.1 (2023-01-04)

Bug Fixes

  • typo in pkg.typesVersions (03ead62)

8.0.0 (2023-01-04)

⚠ BREAKING CHANGES

  • umd builds are removed and all middleware imports are moved to get-it/middleware. Imports such as import promise from 'get-it/lib-node/middleware/promise' are no longer supported. The default import is replaced with a named one: change import getIt from 'get-it' to import {getIt} from 'get-it'

Other changes

  • Migrated codebase to TypeScript, moving away from using any is out of scope for this PR but linter rules are setup to make it easier to do this refactor in a later PR.
  • The required Node.js version is moved from 12 to 14, as 12 does not support pkg.exports.
  • Tooling have moved to @sanity/pkg-utils, gone is @babel/cli, browserify, esbuild, uglifyjs, and more.
  • Replaced mocha testing suite with vitest to ensure the new ESM codebase runs the same way it'll run in production with codebases such as sanity.
  • The pkg.exports are refactored to follow our updated ESM best practices, spearheaded by @sanity/pkg-utils. It implements the Node.js dual package hazard technique to steer the Node.js ESM runtime back into CJS mode as half our dependencies aren't shipping ESM-runtime code yet.

Features

Bug Fixes

  • deps: update dependency is-stream to v2 (#43) (6dbeffc)

7.0.2 (2022-09-27)

Bug Fixes

7.0.1 (2022-09-15)

Bug Fixes

  • deps: update dependencies (non-major) (#30) (7ce1d82)

7.0.0 (2022-09-15)

⚠ BREAKING CHANGES

  • Adding ESM support is a significant change. Although a tremendous effort is made to preserve backward compatibility it can't be guaranteed as there are too many conditions, environments, and runtime versions to cover them all.

Features