Skip to content

Commit d956a98

Browse files
committed
docs: update changelog for 1.2.0
1 parent 4135980 commit d956a98

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 1.2.0
2+
3+
> Requires Dart 3.4
4+
5+
- Bumped `http` to 1.5.0.
6+
- Support request cancellation via `Abortable` from `http`.
7+
> You are not required to add `abortTrigger` to wrapping `FetchRequest` since
8+
> it will inherit it by default.
9+
> You can also just use `http`'s `AbortableRequest` directly if you don't
10+
> need to customize `fetch` behavior on a request basis.
11+
- `RequestCanceledException` how implements `RequestAbortedException`.
12+
- `FetchRequest` how also implements `Abortable`.
13+
114
## 1.1.4
215

316
- Fix lint errors.
@@ -7,9 +20,10 @@
720

821
- Fix possible unhandled promise rejection if underlying data stream is errored.
922
- Update license years.
10-
- Throw `RequestCanceledException` with reason when using
23+
- Throw `RequestCanceledException` with reason when using `FetchResponse.cancel`
24+
or client is closed with request in-progress.
25+
1126
> Semantic is currently undefined and this is the implementation specific
12-
`FetchResponse.cancel` or client is closed with request in-progress.
1327
> behavior.
1428
>
1529
> See [http#1192](https://github.com/dart-lang/http/issues/1192) for more

0 commit comments

Comments
 (0)