Skip to content

Commit a1992fe

Browse files
bkonyicommit-bot@chromium.org
authored andcommitted
[ package:vm_service ] 4.0.0 release, Sentinels are now thrown, Future<dynamic> returns are now Future<Response>
Change-Id: Ifd1bf62e3bc33bf14359802086c87b2fd19f3ba9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138561 Reviewed-by: Jacob Richman <[email protected]> Commit-Queue: Ben Konyi <[email protected]>
1 parent bf5171c commit a1992fe

13 files changed

+252
-144
lines changed

pkg/vm_service/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# Changelog
22

3+
## 4.0.0
4+
- **breaking**: RPCs which can return a `Sentinel` will now throw the `Sentinel`
5+
it is received as a response.
6+
- **breaking**: RPCs which can return multiple values now return
7+
`Future<Response>` rather than `Future<dynamic>`.
8+
- `RPCError` now implements `Exception`.
9+
310
## 3.0.0
4-
**breaking**: RPCs which have an isolateId parameter now return
11+
- **breaking**: RPCs which have an isolateId parameter now return
512
`Future<dynamic>` as a `Sentinel` can be returned if the target isolate no
613
longer exists.
714

0 commit comments

Comments
 (0)