Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support latest pkg:web, prepare release #377

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## 3.0.1-wip
## 3.0.1

- Remove unnecessary `dependency_overrides`.
- Remove obsolete documentation for `WebSocketChannel.new`.
- Update package `web: '>=0.5.0 <2.0.0'`.

## 3.0.0

Expand Down
4 changes: 2 additions & 2 deletions lib/adapter_web_socket_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ class AdapterWebSocketChannel extends StreamChannelMixin
/// The close code set by the local user.
///
/// To ensure proper ordering, this is stored until we get a done event on
/// [_controller.local.stream].
/// [StreamChannelController.local]`.stream`.
int? _localCloseCode;

/// The close reason set by the local user.
///
/// To ensure proper ordering, this is stored until we get a done event on
/// [_controller.local.stream].
/// [StreamChannelController.local]`.stream`.
String? _localCloseReason;

/// Completer for [ready].
Expand Down
4 changes: 2 additions & 2 deletions lib/html.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ class HtmlWebSocketChannel extends StreamChannelMixin
/// The close code set by the local user.
///
/// To ensure proper ordering, this is stored until we get a done event on
/// [_controller.local.stream].
/// [StreamChannelController.local]`.stream`.
int? _localCloseCode;

/// The close reason set by the local user.
///
/// To ensure proper ordering, this is stored until we get a done event on
/// [_controller.local.stream].
/// [StreamChannelController.local]`.stream`.
String? _localCloseReason;

/// Completer for [ready].
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: web_socket_channel
version: 3.0.1-wip
version: 3.0.1
description: >-
StreamChannel wrappers for WebSockets. Provides a cross-platform
WebSocketChannel API, a cross-platform implementation of that API that
Expand All @@ -13,7 +13,7 @@ dependencies:
async: ^2.5.0
crypto: ^3.0.0
stream_channel: ^2.1.0
web: ^0.5.0
web: '>=0.5.0 <2.0.0'
web_socket: ^0.1.5

dev_dependencies:
Expand Down