diff --git a/.changeset/ready-items-wear.md b/.changeset/ready-items-wear.md deleted file mode 100644 index 3fe7cff..0000000 --- a/.changeset/ready-items-wear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fetch-nodeshim': patch ---- - -Prevent outright error when `--no-experimental-fetch` is set, which causes `Request`, `Response`, `FormData`, and `Headers` to not be available globally. diff --git a/.changeset/stupid-garlics-tap.md b/.changeset/stupid-garlics-tap.md deleted file mode 100644 index 983ba31..0000000 --- a/.changeset/stupid-garlics-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fetch-nodeshim': patch ---- - -Update rollup config for reduced output and exclude sources from sourcemaps diff --git a/.changeset/tricky-pants-rest.md b/.changeset/tricky-pants-rest.md deleted file mode 100644 index 1805b5d..0000000 --- a/.changeset/tricky-pants-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fetch-nodeshim': minor ---- - -Add automatic configuration for `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` similar to the upcoming Node 24+ built-in support. Agents will automatically be created and used when these environment variables are set. diff --git a/CHANGELOG.md b/CHANGELOG.md index e0481cf..f589307 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # minifetch +## 0.4.0 + +### Minor Changes + +- Add automatic configuration for `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` similar to the upcoming Node 24+ built-in support. Agents will automatically be created and used when these environment variables are set + Submitted by [@kitten](https://github.com/kitten) (See [#8](https://github.com/kitten/fetch-nodeshim/pull/8)) + +### Patch Changes + +- Prevent outright error when `--no-experimental-fetch` is set, which causes `Request`, `Response`, `FormData`, and `Headers` to not be available globally + Submitted by [@kitten](https://github.com/kitten) (See [#11](https://github.com/kitten/fetch-nodeshim/pull/11)) +- Update rollup config for reduced output and exclude sources from sourcemaps + Submitted by [@kitten](https://github.com/kitten) (See [#9](https://github.com/kitten/fetch-nodeshim/pull/9)) + ## 0.3.0 ### Minor Changes diff --git a/package.json b/package.json index 8d53a93..bda1199 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fetch-nodeshim", - "version": "0.3.0", + "version": "0.4.0", "description": "A Node.js fetch shim using built-in Request, Response, and Headers (but without native fetch)", "author": "Phil Pluckthun ", "source": "./src/index.ts",