stream-chat-flutter
stream-chat-flutter copied to clipboard
chore(deps): bump rxdart from 0.27.7 to 0.28.0 in /packages/stream_chat
Bumps rxdart from 0.27.7 to 0.28.0.
Release notes
Sourced from rxdart's releases.
0.28.0
New
ValueStream:
- Add
lastEventOrNullgetter toValueStream, which returns the last emitted event (either data/value or error event), ornull.- Add
isLastEventValue,isLastEventErroranderrorAndStackTraceOrNullextension getters toValueStream, to check the kind of the last emitted event is data/value or error.- Update documentation.
ReplayStream:
- Add
errorAndStackTracestoReplayStream, which returns a list of emittedErrorAndStackTraces.Rename
NotificationandKindto better reflect their purpose, and to avoid confusion with Flutter's Notification class.
- Rename
NotificationtoStreamNotification
Notification.onDatatoStreamNotification.data.Notification.onDonetoStreamNotification.done.Notification.onErrortoStreamNotification.error.- Rename
KindtoNotificationKind
Kind.onDatatoNotificationKind.data.Kind.onErrortoNotificationKind.error.Kind.onDonetoNotificationKind.done.- Introduce
DataNotification,ErrorNotificationandDoneNotificationas the subclasses ofStreamNotification.- Convert
isOnData,isOnError,isOnDone,requireDatato extension getters onStreamNotification, they are now namedisData,isError,isDoneandrequireDataValue.- Add extensions on
StreamNotification:dataValueOrNull,requireErrorAndStackTrace,errorAndStackTraceOrNullgetters andwhenmethod.Changed
Accept Dart SDK versions above 3.0.
switchMap: when cancelling the previous inner subscription,switchMapwill pause the outer subscription and and wait for the inner subscription to be completely canceled. It will then resume the outer subscription, and listen to the next inner Stream. Any errors from canceling the previous inner subscription will now be forwarded to the resulting Stream.Breaking: Rename
ForkJoinStream.combine2..combine9toForkJoinStream.join2..join9.Breaking:
Rx.using/UsingStream
- Convert all required positional parameters to required named parameters.
- The
disposeris now called after the future returned fromStreamSubscription.cancelcompletes.Documentation
- Update and fix documentation.
- Fix README example (thanks to
@wurikiji).- Update Flutter example (thanks to
@hoangchungk53qx1).- Replace deprecated "dart pub run" with "dart run" (thanks to
@tatsuyafujisaki).0.28.0-dev.2
Feedback on this change appreciated as this is a dev release before 0.28.0 stable!
... (truncated)
Commits
6852efachore(publish): prepare for v0.28.06068abdupdate publish-github-release.ymlbdca888chore: update logoc745508Create LICENSE [skip ci]1d4c90dUpdate README.md [skip ci]5057b4eUpdate README.md [skip ci]3330f67Rename packages/rxdart/Rx_Logo_M.png to packages/rxdart/screenshots/logo.png4ed6b07add Rx_Logo_M.png [skip ci]8fb1b10Update pubspec.yaml [skip ci]76cbc50docs: update changelog reference (#758)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.