Skip to content

Commit 3057f3a

Browse files
committed
docs: update migration guide
1 parent 6786e46 commit 3057f3a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

MIGRATION.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Migration guide
22

3+
## v3 to v4
4+
5+
### Runtime support
6+
7+
Dropped support for Node.js version 18, as it is no longer maintained. While
8+
there are no explicit changes that makes it incompatible, we make no guarantees of it being supported going forward.
9+
10+
### Code changes
11+
12+
#### Dropped `FetchLikeInit` type
13+
14+
If you're using TypeScript, `FetchLikeInit` is now called `EventSourceFetchInit` and
15+
most of it's properties are now marked as required - since they will always be passed
16+
from the EventSource library to your custom `fetch` method. This makes it easier to use.
17+
318
## v2 to v3
419

520
### Code changes

0 commit comments

Comments
 (0)