Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 22, 2022

Bumps rxdart from 0.26.0 to 0.27.7.

Release notes

Sourced from rxdart's releases.

0.27.7

https://pub.dev/packages/rxdart/versions/0.27.7

Fixed

  • Subject
    • Only call onAdd and onError if the subject is not closed. This ensures BehaviorSubject and ReplaySubject do not update their values after they have been closed.

    • Subject.stream now returns a read-only Stream. Previously, Subject.stream was identical to the Subject, so we could add events to it, for example: (subject.stream as Sink<T>).add(event). This behavior is now disallowed, and will throw a TypeError if attempted. Use Subject.sink/Subject itself for adding events.

    • Change return type of ReplaySubject<T>.stream to ReplayStream<T>.

    • Internal refactoring of Subject.addStream.


What's Changed

Full Changelog: ReactiveX/rxdart@0.27.6...0.27.7

0.27.6

https://pub.dev/packages/rxdart/versions/0.27.6

  • Rx.using/UsingStream: resourceFactory can now return a Future. This allows for asynchronous resource creation.

  • Rx.range/RangeStream: ensure RangeStream is only listened to once.


What's Changed

Full Changelog: ReactiveX/rxdart@0.27.5...0.27.6

0.27.5

https://pub.dev/packages/rxdart/versions/0.27.5

Bug fixes

... (truncated)

Changelog

Sourced from rxdart's changelog.

0.27.7 (2022-11-16)

Fixed

  • Subject
    • Only call onAdd and onError if the subject is not closed. This ensures BehaviorSubject and ReplaySubject do not update their values after they have been closed.

    • Subject.stream now returns a read-only Stream. Previously, Subject.stream was identical to the Subject, so we could add events to it, for example: (subject.stream as Sink<T>).add(event). This behavior is now disallowed, and will throw a TypeError if attempted. Use Subject.sink/Subject itself for adding events.

    • Change return type of ReplaySubject<T>.stream to ReplayStream<T>.

    • Internal refactoring of Subject.addStream.

0.27.6 (2022-11-11)

  • Rx.using/UsingStream: resourceFactory can now return a Future. This allows for asynchronous resource creation.

  • Rx.range/RangeStream: ensure RangeStream is only listened to once.

0.27.5 (2022-07-16)

Bug fixes

  • Fix issue #683: Throws runtime type error when using extension methods on a Stream<R> but its type annotation is Stream<T>, R is a subtype of T (covariance issue with StreamTransformer).

    Stream<num> s1 = Stream<int>.fromIterable([1, 2, 3]);
    // throws "type 'SwitchMapStreamTransformer<num, num>' is not a subtype of type 'StreamTransformer<int, num>' of 'streamTransformer'"
    s1.switchMap((v) => Stream.value(v));
    Stream<int?> s2 = Stream<int>.fromIterable([1, 2, 3]);
    // throws "type 'SwitchMapStreamTransformer<int?, int?>' is not a subtype of type 'StreamTransformer<int, int?>' of 'streamTransformer'"
    s2.switchMap((v) => Stream.value(v));

    Extension methods were previously implemented via stream.transform(streamTransformer), now via streamTransformer.bind(stream) to avoid this issue.

  • Fix concatEager: activeSubscription should be changed to next subscription.

Code refactoring

  • Change return type of pairwise to Stream<List<T>>.

0.27.4 (2022-05-29)

Bug fixes

... (truncated)

Commits
  • 3d1b6c0 chore(publish): prepare for v0.27.7 (#701)
  • b0d6ad1 refactor(subject): addStream (#700)
  • e1f6cd9 refactor(subject): Subject.stream now returns a read-only Stream (#699)
  • 1a8fcef ci: add dart 2.17.0
  • 45f8c5e fix(subject): only call onAdd and onError if the subject is not closed (#...
  • 8916c7c chore(publish): prepare for v0.27.6 (#697)
  • 9464cdd refactor(Rx.using): resourceFactory can return a Future (#696)
  • c0566b4 fix(range): ensure RangeStream is only listened to once (#694)
  • 58c82c0 fix(range): make sure RangeStream can only be listened to once (#690)
  • e13dad0 prepare for v0.27.5 (#688)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rxdart](https://github.com/ReactiveX/rxdart) from 0.26.0 to 0.27.7.
- [Release notes](https://github.com/ReactiveX/rxdart/releases)
- [Changelog](https://github.com/ReactiveX/rxdart/blob/master/CHANGELOG.md)
- [Commits](ReactiveX/rxdart@0.26.0...0.27.7)

---
updated-dependencies:
- dependency-name: rxdart
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant