4.9 KiB
4.9 KiB
minifetch
0.4.8
Patch Changes
- ⚠️ Fix
fetch(new Request(...), init)case, whereinitshould take precedence over the request Submitted by @kitten (See #37)
0.4.7
Patch Changes
- Avoid
setHeadersto increase consistency, fixSet-Cookiecase for older Node versions, and work around bug in Bun <=1.3.9 Submitted by @kitten (See #35)
0.4.6
Patch Changes
0.4.5
Patch Changes
- ⚠️ Fix
Content-Typebeing overridden for string inputs when it's already set Submitted by @kitten (See #30)
0.4.4
Patch Changes
- Limit state in which
incoming.socketis unrefed and instead.ref()it when the body is being read, and.unref()it again when reading stops Submitted by @kitten (See #28)
0.4.3
Patch Changes
- ⚠️ Fix typo in
NO_PROXYconstruction Submitted by @kitten (See #18) - Set
Content-Length: 0whenresponse.bodyisnullforPATCHas well Submitted by @kitten (See #23) - Protect against invalid
LocationURI Submitted by @kitten (See #26) - Issue an explicit
ETIMEDOUTwhen the request times out Submitted by @kitten (See #24) - ⚠️ Fix
Set-Cookielist handling by capturing them withHeaders#appendSubmitted by @kitten (See #20) - Reset
requestOptions.agenton retry/redirect Submitted by @kitten (See #27) - ⚠️ Fix
_finalonInflateStreamcallingcallbackbefore full flush Submitted by @kitten (See #25) - Propagate errors for duplex request/response streams, and ensure early errors propagate to the Response stream Submitted by @kitten (See #16)
- Protect against missing
Symbol.toStringTagSubmitted by @kitten (See #19)
0.4.2
Patch Changes
- Unref the incoming socket when the timeout is disabled, to prevent body streams that never start from keeping processes alive Submitted by @kitten (See #14)
0.4.1
Patch Changes
0.4.0
Minor Changes
- Add automatic configuration for
HTTP_PROXY,HTTPS_PROXY, andNO_PROXYsimilar to the upcoming Node 24+ built-in support. Agents will automatically be created and used when these environment variables are set Submitted by @kitten (See #8)
Patch Changes
- Prevent outright error when
--no-experimental-fetchis set, which causesRequest,Response,FormData, andHeadersto not be available globally Submitted by @kitten (See #11) - Update rollup config for reduced output and exclude sources from sourcemaps Submitted by @kitten (See #9)
0.3.0
Minor Changes
0.2.1
Patch Changes
0.2.0
Minor Changes
- Add web standard type/globals re-exports and polyfill
Filefromnode:bufferSubmitted by @kitten (See #1)
Patch Changes
0.1.0
Initial Release.