Skip to content

Commit ef711fb

Browse files
committed
1.3.0
1 parent b88acbb commit ef711fb

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

CHANGELOG.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,22 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 1.3.0
8+
* Delay reconnecting with randomized exponential backoff. ([@mpx](https://github.com/mpx))
9+
* Reconnect after event stream request ends. ([@mpx](https://github.com/mpx))
10+
* Reconnect after protocol errors (invalid UTF-8, non-200 OK status codes). ([@mpx](https://github.com/mpx))
11+
* Stop event stream after 204 No Content. ([@mpx](https://github.com/mpx))
12+
* Ensure resources are released for old connections. ([@mpx](https://github.com/mpx))
13+
714
## 1.2.2
8-
* Revert `data` event commit, which was a misreading of the spec. ([@mpx](https://github.com/mpx) in [#4](https://github.com/goto-bus-stop/dart-event-source/pull/4))
15+
* Revert `data` event commit, which was a misreading of the spec. ([@mpx](https://github.com/mpx))
916

1017
## 1.2.1
11-
* Ensure `data` event data ends in \n per the spec. ([@mpx](https://github.com/mpx) in [#2](https://github.com/goto-bus-stop/dart-event-source/pull/3))
12-
* Fix event name bug in multiline data messages. ([@mpx](https://github.com/mpx) in [#2](https://github.com/goto-bus-stop/dart-event-source/pull/3))
18+
* Ensure `data` event data ends in \n per the spec. ([@mpx](https://github.com/mpx))
19+
* Fix event name bug in multiline data messages. ([@mpx](https://github.com/mpx))
1320

1421
## 1.2.0
15-
* Allow passing in a custom HttpClient factory. ([@mpx](https://github.com/mpx) in [#2](https://github.com/goto-bus-stop/dart-event-source/pull/2))
22+
* Allow passing in a custom HttpClient factory. ([@mpx](https://github.com/mpx))
1623

1724
## 1.1.0
1825
* Implement auto-reconnect.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Add to your `pubspec.yaml`:
1919

2020
```yaml
2121
dependencies:
22-
w3c_event_source: ^1.2.2
22+
w3c_event_source: ^1.3.0
2323
```
2424
2525
## Usage

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: w3c_event_source
2-
version: 1.2.2
2+
version: 1.3.0
33
description: W3C EventSource client implementation for Dart / Flutter,
44
to communicate with server-sent event endpoints.
55
author: Renée Kooi <renee@kooi.me>

0 commit comments

Comments
 (0)