1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/src
Gastón Fournier 6afb9f8796
refactor: migrate from make-fetch-happen to ky and use ky natively (#10134)
Migrate from make-fetch-happen to ky

## Summary:

- Replaced all usages of make-fetch-happen with
[ky](https://github.com/sindresorhus/ky) for HTTP requests.
- Upgraded nock to v14 so it's capable of mocking native fetch
implementation
- Removed the make-fetch-happen dependency
- Ensured all fetch logic is compatible with ky API.

## Why:

- ky provides a modern, lightweight, and promise-based HTTP client with
a simpler API.
- Reduces dependencies and simplifies codebase.

## Testing:

We'll do testing in sandbox environment of the modified functionality
(which is not much) and we also rely on automated testing.

---------

Co-authored-by: Simon Hornby <simon@getunleash.io>
2025-06-13 15:30:47 +02:00
..
lib refactor: migrate from make-fetch-happen to ky and use ky natively (#10134) 2025-06-13 15:30:47 +02:00
mailtemplates chore: remove flag newGettingStartedEmail (#10136) 2025-06-13 10:24:13 +01:00
migrations fix: md5 is deprecated and fails FEDRAMP. Replace with sha256 (#10125) 2025-06-13 09:41:40 +02:00
test fix: md5 is deprecated and fails FEDRAMP. Replace with sha256 (#10125) 2025-06-13 09:41:40 +02:00
migrator.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
server-dev.ts Chore(1-3807)/remove flag add edit strategy take2 (#10108) 2025-06-11 06:03:34 +00:00
server.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
test-setup.ts task: migrate tests to vitest 2025-05-16 11:19:10 +02:00