canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.51k stars 632 forks source link

Update dependency rxdart to ^0.28.0 #3547

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 2 weeks ago

Mend Renovate

This PR contains the following updates:

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

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

ReactiveX/rxdart (rxdart) ### [`v0.28.0`](https://togithub.com/ReactiveX/rxdart/releases/tag/0.28.0) [Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.7...0.28.0) ##### 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 `ErrorAndStackTrace`s. - Rename `Notification` and `Kind` to better reflect their purpose, and to avoid confusion with [Flutter's Notification class](https://api.flutter.dev/flutter/widgets/Notification-class.html). - 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 - Update and fix documentation. - Fix README example (thanks to [@​wurikiji](https://togithub.com/wurikiji)). - Update Flutter example (thanks to [@​hoangchungk53qx1](https://togithub.com/hoangchungk53qx1)). - Replace deprecated "dart pub run" with "dart run" (thanks to [@​tatsuyafujisaki](https://togithub.com/tatsuyafujisaki)).

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.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.82%. Comparing base (62c4fc6) to head (98c75be).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3547 +/- ## ======================================= Coverage 88.82% 88.82% ======================================= Files 253 253 Lines 14121 14121 ======================================= Hits 12543 12543 Misses 1578 1578 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

andrei-toterman commented 2 weeks ago

seems like the package does not follow semantic versioning well. there was only an increase in the minor version, but the changes are not backward-compatible. therefore this pr is not good because we'd also have to modify other parts of the code to accommodate for the changes

renovate[bot] commented 2 weeks ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^0.28.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.