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

fix(deps): update dependency rxdart to ^0.28.0 #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 15, 2024

This PR contains the following updates:

Package Type Update Change
rxdart dependencies minor ^0.27.7 -> ^0.28.0

Release Notes

ReactiveX/rxdart (rxdart)

v0.28.0

Compare Source

New
  • ValueStream:

    • Add lastEventOrNull getter to ValueStream,
      which returns the last emitted event (either data/value or error event), or null.
    • Add isLastEventValue, isLastEventError and errorAndStackTraceOrNull
      extension getters to ValueStream, to check the kind of the last emitted event is data/value or error.
    • Update documentation.
  • ReplayStream:

    • Add errorAndStackTraces to ReplayStream, which returns a list of emitted ErrorAndStackTraces.
  • Rename Notification and Kind to better reflect their purpose,
    and to avoid confusion with Flutter's Notification class.

    • Rename Notification to StreamNotification
      • Notification.onData to StreamNotification.data.
      • Notification.onDone to StreamNotification.done.
      • Notification.onError to StreamNotification.error.
    • Rename Kind to NotificationKind
      • Kind.onData to NotificationKind.data.
      • Kind.onError to NotificationKind.error.
      • Kind.onDone to NotificationKind.done.
    • Introduce DataNotification, ErrorNotification and DoneNotification as the subclasses of StreamNotification.
    • Convert isOnData, isOnError, isOnDone, requireData to extension getters on StreamNotification,
      they are now named isData, isError, isDone and requireDataValue.
    • Add extensions on StreamNotification: dataValueOrNull, requireErrorAndStackTrace, errorAndStackTraceOrNull getters and when method.
Changed
  • Accept Dart SDK versions above 3.0.

  • switchMap: when cancelling the previous inner subscription,
    switchMap will 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..combine9 to ForkJoinStream.join2..join9.

  • Breaking: Rx.using/UsingStream

    • Convert all required positional parameters to required named parameters.
    • The disposer is now called after the future returned from StreamSubscription.cancel completes.
Documentation

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from philprime as a code owner June 15, 2024 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants