Skip to content

Commit 9064ba2

Browse files
authored
Merge branch 'main' into memory-leak-keepAlive
2 parents 72f3e1d + e156a6e commit 9064ba2

27 files changed

+534
-73
lines changed

.changeset/align-method-to-spec.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@web-std/fetch": patch
3+
---
4+
5+
Align with [spec](https://fetch.spec.whatwg.org/#methods) for `new Request()` `method` normalization
6+
7+
- Only `DELETE`, `GET`, `HEAD`, `OPTIONS`, `POST`, `PUT` get automatically uppercased
8+
- Note that `method: "patch"` will no longer be automatically uppercased
9+
- Throw a `TypeError` for `CONNECT`, `TRACE`, and `TRACK`

.changeset/electro-disco.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@web-std/fetch": patch
3+
---
4+
5+
Fix generated types to work with node ESM / NodeNext

.changeset/gentle-fans-invent.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@web-std/fetch": patch
3+
---
4+
5+
Make `Request` signal handling follow spec: https://fetch.spec.whatwg.org/#ref-for-map-exists%E2%91%A0%E2%91%A3

.changeset/good-badgers-sleep.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@web-std/fetch": patch
3+
---
4+
5+
Fix `headers.entries`/`values`/`forEach` iteration for `Set-Cookie` headers

.changeset/lemon-nails-rhyme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@web-std/form-data": patch
3+
---
4+
5+
Fix submitting form data when file input is empty. Addresses https://github.com/remix-run/remix/pull/3576
6+

.changeset/polite-poets-enjoy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@web-std/fetch": minor
3+
---
4+
5+
expose `RequestExtraOptions` to `fetch` & add `HTTPs.agent` to types

.changeset/real-news-divide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@web-std/form-data": minor
3+
---
4+
5+
allow passing a `form` to `FormData`. implementation taken from https://github.com/tchak/remix-router-turbo/blob/main/test/setup-test-env.ts, thank you @tchak

.changeset/silver-sloths-lay.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@web-std/blob": patch
3+
"@web-std/fetch": patch
4+
"@web-std/file": patch
5+
"@web-std/form-data": patch
6+
"@web-std/stream": patch
7+
---
8+
9+
Move types conditional export to the top of the list to align with [the node guidance](https://nodejs.org/api/packages.html#community-conditions-definitions)

.changeset/soft-gorillas-travel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@web-std/fetch": feat
3+
---
4+
5+
Add support for custom `credentials` value. Nothing is done with them at the moment but they pass through for the consumer of the request to access if needed.

.changeset/tasty-peas-mate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@web-std/fetch": patch
3+
---
4+
5+
allow clone of request and responses will `null` body

0 commit comments

Comments
 (0)