-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
fix: Upgrade web_socket_channel
for supporting web: ^1.0.0
and therefore WASM compilation on web
#992
fix: Upgrade web_socket_channel
for supporting web: ^1.0.0
and therefore WASM compilation on web
#992
Conversation
web_socket_channel
for supporting web: ^1.0.0
and therefore WASM compilation on webweb_socket_channel
for supporting web: ^1.0.0
and therefore WASM compilation on web
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR!
Can we update the web_socket_channel
dependencies to '>=2.3.0 <4.0.0'
so that this doesn't become a breaking change?
Seems like I was a bit too fast with upgrading the linting dependecy which are not compatible with Dart version < 3.1 and fails tests, I will adjust to a non-breaking version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this update! This will be included in the next release in a few days!
What kind of change does this PR introduce?
Upgrade the
web_socket_channel
to^3.0.1
which mostly serves as an upgrade path for the transitiveweb
dependency which otherwise causesweb_socket_channel
to downgrade and prevent WASM support on the web platform.What is the current behavior?
When having
supabase
orsupabase_flutter
as a project dependeny while relying onweb: ^1.0.0
theweb_socket_channel
dependeny would downgrade and WASM compilation isn't possible anymore.What is the new behavior?
This behavior seems to be migrated.
Additional context
The breaking changes don't affect the codebase. Tests passed locally. Additionally, one linting error got fixed.