Skip to content

Commit f7483f4

Browse files
chore(release): 3.0.0 [skip ci]
1 parent bd101af commit f7483f4

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
<!-- markdownlint-disable --><!-- textlint-disable -->
2+
3+
# 📓 Changelog
4+
5+
All notable changes to this project will be documented in this file. See
6+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7+
8+
## [3.0.0](https://github.com/EventSource/eventsource/compare/v2.0.2...v3.0.0) (2024-12-07)
9+
10+
### ⚠ BREAKING CHANGES
11+
12+
* Drop support for Node.js versions below v18
13+
* The module now uses a named export instead of a default export.
14+
* UMD bundle dropped. Use a bundler.
15+
* `headers` in init dict dropped, pass a custom `fetch` function instead.
16+
* HTTP/HTTPS proxy support dropped. Pass a custom `fetch` function instead.
17+
* `https.*` options dropped. Pass a custom `fetch` function that provides an agent/dispatcher instead.
18+
* New default reconnect delay: 3 seconds instead of 1 second.
19+
* Reconnecting after a redirect will now always use the original URL, even if the status code was HTTP 307.
20+
21+
### Features
22+
23+
* modernize - use `fetch`, WebStreams, TypeScript, ESM ([#330](https://github.com/EventSource/eventsource/issues/330)) ([40655f7](https://github.com/EventSource/eventsource/commit/40655f7c418b8fff274e471c47f5fd2acd056318))
24+
25+
### Bug Fixes
26+
27+
* `dispatchEvent` now emits entire event object ([eb430c0](https://github.com/EventSource/eventsource/commit/eb430c0d70941956fb1042b946806c3adef94061))
28+
* empty options no longer disable certificate checks ([372d387](https://github.com/EventSource/eventsource/commit/372d387b0ca0046e798f272bbe8f42a002103c3a))
29+
130
## [2.0.2](https://github.com/EventSource/eventsource/compare/v2.0.1...v2.0.2) (2022-05-12)
231

332

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eventsource",
3-
"version": "2.0.2",
3+
"version": "3.0.0",
44
"description": "WhatWG/W3C compliant EventSource client for Node.js and browsers",
55
"sideEffects": false,
66
"type": "module",

0 commit comments

Comments
 (0)