From 19972920019cfada5826a3244e784ac6762908a2 Mon Sep 17 00:00:00 2001 From: VelikovPetar Date: Thu, 9 Jul 2026 10:12:05 +0200 Subject: [PATCH 1/3] fix(llc): suppress EquatableMixin deprecation warning in StreamChatError Co-Authored-By: Claude Sonnet 4.6 --- packages/stream_chat/CHANGELOG.md | 6 ++++++ .../stream_chat/lib/src/core/error/stream_chat_error.dart | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/packages/stream_chat/CHANGELOG.md b/packages/stream_chat/CHANGELOG.md index 8da0968d71..276469d497 100644 --- a/packages/stream_chat/CHANGELOG.md +++ b/packages/stream_chat/CHANGELOG.md @@ -1,3 +1,9 @@ +## Unreleased + +🐞 Fixed + +- Fixed a deprecation warning from `equatable` causing CI analysis to fail. + ## 9.26.0 ✅ Added diff --git a/packages/stream_chat/lib/src/core/error/stream_chat_error.dart b/packages/stream_chat/lib/src/core/error/stream_chat_error.dart index 5e88fb3bc9..e39c657b74 100644 --- a/packages/stream_chat/lib/src/core/error/stream_chat_error.dart +++ b/packages/stream_chat/lib/src/core/error/stream_chat_error.dart @@ -5,6 +5,11 @@ import 'package:stream_chat/stream_chat.dart'; import 'package:web_socket_channel/web_socket_channel.dart'; /// +// ignore: deprecated_member_use +// `EquatableMixin` is deprecated in equatable ≥2.0.8 in favour of +// `with Equatable`, but switching would change the mixin type in the class +// hierarchy (e.g. `error is EquatableMixin` → false), which is a breaking +// change under semver. Migrate this when the next major version is cut. class StreamChatError with EquatableMixin implements Exception { /// const StreamChatError(this.message); From 7d3723b04b33860f46416bd113247ea4f597bfb0 Mon Sep 17 00:00:00 2001 From: VelikovPetar Date: Thu, 9 Jul 2026 10:14:37 +0200 Subject: [PATCH 2/3] fix(llc): correct equatable version in StreamChatError suppression comment Co-Authored-By: Claude Sonnet 4.6 --- packages/stream_chat/lib/src/core/error/stream_chat_error.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stream_chat/lib/src/core/error/stream_chat_error.dart b/packages/stream_chat/lib/src/core/error/stream_chat_error.dart index e39c657b74..32e70f1d1c 100644 --- a/packages/stream_chat/lib/src/core/error/stream_chat_error.dart +++ b/packages/stream_chat/lib/src/core/error/stream_chat_error.dart @@ -6,7 +6,7 @@ import 'package:web_socket_channel/web_socket_channel.dart'; /// // ignore: deprecated_member_use -// `EquatableMixin` is deprecated in equatable ≥2.0.8 in favour of +// `EquatableMixin` is deprecated in equatable ≥2.1.0 in favour of // `with Equatable`, but switching would change the mixin type in the class // hierarchy (e.g. `error is EquatableMixin` → false), which is a breaking // change under semver. Migrate this when the next major version is cut. From 662b4aa94adee09a84c6e6123b652734da2e8a59 Mon Sep 17 00:00:00 2001 From: VelikovPetar Date: Thu, 9 Jul 2026 10:24:19 +0200 Subject: [PATCH 3/3] fix(llc): move ignore comment to line immediately before EquatableMixin use Co-Authored-By: Claude Sonnet 4.6 --- packages/stream_chat/lib/src/core/error/stream_chat_error.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stream_chat/lib/src/core/error/stream_chat_error.dart b/packages/stream_chat/lib/src/core/error/stream_chat_error.dart index 32e70f1d1c..a20c25efba 100644 --- a/packages/stream_chat/lib/src/core/error/stream_chat_error.dart +++ b/packages/stream_chat/lib/src/core/error/stream_chat_error.dart @@ -5,11 +5,11 @@ import 'package:stream_chat/stream_chat.dart'; import 'package:web_socket_channel/web_socket_channel.dart'; /// -// ignore: deprecated_member_use // `EquatableMixin` is deprecated in equatable ≥2.1.0 in favour of // `with Equatable`, but switching would change the mixin type in the class // hierarchy (e.g. `error is EquatableMixin` → false), which is a breaking // change under semver. Migrate this when the next major version is cut. +// ignore: deprecated_member_use class StreamChatError with EquatableMixin implements Exception { /// const StreamChatError(this.message);