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..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,6 +5,11 @@ import 'package:stream_chat/stream_chat.dart'; import 'package:web_socket_channel/web_socket_channel.dart'; /// +// `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);