Skip to content

Commit af1e0aa

Browse files
authored
Allow stream_channel version 2.x (flutter#18)
Although there are no imports to `stream_channel` from this package we do use some of the APIs. None of those apis are impacted by the planned breaking changes in `stream_channel`. - Extend range for `stream_channel`. - Correct style on other constraints. - Expand description.
1 parent ff16a50 commit af1e0aa

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.2+5
2+
3+
* Allow `stream_channel` version 2.x
4+
15
## 0.2.2+4
26

37
* Fix the check for `onConnection` to check the number of arguments and not

pubspec.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
name: shelf_web_socket
2-
version: 0.2.2+4
2+
version: 0.2.2+5
33

4-
description: A WebSocket handler for Shelf.
4+
description: >-
5+
A shelf handler that wires up a listener for every connection.
56
author: Dart Team <[email protected]>
6-
homepage: http://github.com/dart-lang/shelf_web_socket
7+
homepage: https://github.com/dart-lang/shelf_web_socket
78

89
environment:
9-
sdk: '>=2.0.0-dev.17.0 <3.0.0'
10+
sdk: ">=2.0.0 <3.0.0"
1011

1112
dependencies:
12-
shelf: '>=0.7.0 <0.8.0'
13-
stream_channel: ^1.4.0
13+
shelf: ^0.7.0
1414
web_socket_channel: ^1.0.0
15+
stream_channel: ">1.4.0 <3.0.0"
1516

1617
dev_dependencies:
17-
http: '>=0.10.0 <0.12.0'
18-
test: '>=0.12.42 <2.0.0'
18+
http: ">=0.10.0 <0.12.0"
19+
test: ^1.0.0

0 commit comments

Comments
 (0)