ReactiveX/rxdart
### [`v0.27.5`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0275-2022-07-16)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.4...0.27.5)
##### Bug fixes
- Fix issue [#683](https://togithub.com/ReactiveX/rxdart/issues/683): Throws runtime type error when using extension
methods on a `Stream` but its type annotation is `Stream`, `R` is a subtype of `T`
(covariance issue with `StreamTransformer`).
```Dart
Stream s1 = Stream.fromIterable([1, 2, 3]);
// throws "type 'SwitchMapStreamTransformer' is not a subtype of type 'StreamTransformer' of 'streamTransformer'"
s1.switchMap((v) => Stream.value(v));
Stream s2 = Stream.fromIterable([1, 2, 3]);
// throws "type 'SwitchMapStreamTransformer' is not a subtype of type 'StreamTransformer' 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>`.
### [`v0.27.4`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0274-2022-05-29)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.3...0.27.4)
##### Bug fixes
- `withLatestFrom` should iterate over `Iterable` only once when the stream is listened to.
- Fix analyzer warnings when using `Dart 2.16.0`.
##### Features
- Add `mapNotNull`/`MapNotNullStreamTransformer`.
- Add `whereNotNull`/`WhereNotNullStreamTransformer`.
##### Documentation
- Fix grammar errors in code examples (thanks to [@fzyzcjy](https://togithub.com/fzyzcjy)).
- Update RxMarbles URL for `RaceStream` (thanks to [@Péter Ferenc Gyarmati](https://togithub.com/peter-gy)).
### [`v0.27.3`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0273-2021-11-21)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.2...0.27.3)
##### Bug fixes
- `flatMap` now creates inner `Stream`s lazily.
- `combineLatest`, `concat`, `concatEager`, `forkJoin`, `merge`, `race`, `zip` iterate over `Iterable`s only once
when the stream is listened to.
- Disallow mixing `autoConnect`, `connect` and `refCount` together, only one of them should be used.
##### Features
- Introduce `AbstractConnectableStream`, base class for the `ConnectableStream` implementations.
- Improve `CompositeSubscription` (thanks to [@BreX900](https://togithub.com/BreX900))
- CompositeSubscription's `dispose`, `clear`, and `remove` methods now return a completion future.
- Fixed an issue where a stream not present in CompositeSubscription was canceled.
- Added the ability not to cancel the stream when it is removed from CompositeSubscription.
- CompositeSubscription implements `StreamSubscription`.
- `CompositeSubscription.add` will throw a `StateError` instead of a `String` if this composite was disposed.
##### Documentation
- Fix `Connectable` examples.
- Update Web example to null safety.
- Fix `Flutter` example: `SearchResultItem.fromJson` type error (thanks to [@WenYeh](https://togithub.com/wayne900204))
##### Code refactoring
- Simplify `takeLast` implementation.
- Migrate from `pedantic` to `lints` and `flutter_lints`.
- Refactor `BehaviorSubject`, `ReplaySubject` implementations by using "`Sentinel object`"s instead of `ValueWrapper`s.
### [`v0.27.2`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0272-2021-09-03)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.1...0.27.2)
##### Bug fixes
- `onErrorReturnWith` now does not drop the remaining data events after the first error.
- Disallow changing handlers of `ConnectableStreamSubscription`.
##### Features
- Add `delayWhen` operator.
- Add optional parameter `maxConcurrent` to `flatMap`.
- `groupBy`
- Rename `GroupByStream` to `GroupedStream`.
- Add optional parameter `durationSelector`, which used to determine how long each group should exist.
- `ignoreElements`
- Remove `@deprecated` annotation (`ignoreElements` should not be marked as deprecated).
- Change return type to `Stream`.
##### Documentation
- Update to `PublishSubject`'s docs (thanks to [@AlexanderJohr](https://togithub.com/AlexanderJohr)).
##### Code refactoring
- Refactoring Stream Transformers, using `Stream.multi` internally.
### [`v0.27.1`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0271)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.0...0.27.1)
- Bugfix: `ForkJoinStream` throws `Null check operator used on a null value` when using nullable-type.
- Bugfix: `delay` operator
- Pause and resume properly.
- Cancel all timers after it has been cancelled.
### [`v0.27.0`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0270)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.26.0...0.27.0)
- **BREAKING: ValueStream**
- Remove `ValueStreamExtensions`.
- `ValueStream.valueWrapper` becomes
- `value`.
- `valueOrNull`.
- `hasValue`.
- `ValueStream.errorAndStackTrace` becomes
- `error`.
- `errorOrNull`.
- `hasError`.
- `stackTrace`.
- Add `skipLast`/`SkipLastStreamTransformer` (thanks [@HannibalKcc](https://togithub.com/HannibalKcc)).
- Update `scan`: change `seed` to required param.
- Add `StackTrace` param to `recoveryFn` when using `OnErrorResumeStreamTransformer`/`onErrorResume`/`onErrorReturnWith`.
- Internal refactoring `ConnectableStream`.
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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.26.0
->^0.27.0
Release Notes
ReactiveX/rxdart
### [`v0.27.5`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0275-2022-07-16) [Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.4...0.27.5) ##### Bug fixes - Fix issue [#683](https://togithub.com/ReactiveX/rxdart/issues/683): Throws runtime type error when using extension methods on a `Stream>`. ### [`v0.27.4`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0274-2022-05-29) [Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.3...0.27.4) ##### Bug fixes - `withLatestFrom` should iterate over `Iterable` only once when the stream is listened to.
- Fix analyzer warnings when using `Dart 2.16.0`.
##### Features
- Add `mapNotNull`/`MapNotNullStreamTransformer`.
- Add `whereNotNull`/`WhereNotNullStreamTransformer`.
##### Documentation
- Fix grammar errors in code examples (thanks to [@fzyzcjy](https://togithub.com/fzyzcjy)).
- Update RxMarbles URL for `RaceStream` (thanks to [@Péter Ferenc Gyarmati](https://togithub.com/peter-gy)).
### [`v0.27.3`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0273-2021-11-21)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.2...0.27.3)
##### Bug fixes
- `flatMap` now creates inner `Stream`s lazily.
- `combineLatest`, `concat`, `concatEager`, `forkJoin`, `merge`, `race`, `zip` iterate over `Iterable`s only once
when the stream is listened to.
- Disallow mixing `autoConnect`, `connect` and `refCount` together, only one of them should be used.
##### Features
- Introduce `AbstractConnectableStream`, base class for the `ConnectableStream` implementations.
- Improve `CompositeSubscription` (thanks to [@BreX900](https://togithub.com/BreX900))
- CompositeSubscription's `dispose`, `clear`, and `remove` methods now return a completion future.
- Fixed an issue where a stream not present in CompositeSubscription was canceled.
- Added the ability not to cancel the stream when it is removed from CompositeSubscription.
- CompositeSubscription implements `StreamSubscription`.
- `CompositeSubscription.add` will throw a `StateError` instead of a `String` if this composite was disposed.
##### Documentation
- Fix `Connectable` examples.
- Update Web example to null safety.
- Fix `Flutter` example: `SearchResultItem.fromJson` type error (thanks to [@WenYeh](https://togithub.com/wayne900204))
##### Code refactoring
- Simplify `takeLast` implementation.
- Migrate from `pedantic` to `lints` and `flutter_lints`.
- Refactor `BehaviorSubject`, `ReplaySubject` implementations by using "`Sentinel object`"s instead of `ValueWrapper`s.
### [`v0.27.2`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0272-2021-09-03)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.1...0.27.2)
##### Bug fixes
- `onErrorReturnWith` now does not drop the remaining data events after the first error.
- Disallow changing handlers of `ConnectableStreamSubscription`.
##### Features
- Add `delayWhen` operator.
- Add optional parameter `maxConcurrent` to `flatMap`.
- `groupBy`
- Rename `GroupByStream` to `GroupedStream`.
- Add optional parameter `durationSelector`, which used to determine how long each group should exist.
- `ignoreElements`
- Remove `@deprecated` annotation (`ignoreElements` should not be marked as deprecated).
- Change return type to `Stream`.
##### Documentation
- Update to `PublishSubject`'s docs (thanks to [@AlexanderJohr](https://togithub.com/AlexanderJohr)).
##### Code refactoring
- Refactoring Stream Transformers, using `Stream.multi` internally.
### [`v0.27.1`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0271)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.0...0.27.1)
- Bugfix: `ForkJoinStream` throws `Null check operator used on a null value` when using nullable-type.
- Bugfix: `delay` operator
- Pause and resume properly.
- Cancel all timers after it has been cancelled.
### [`v0.27.0`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#0270)
[Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.26.0...0.27.0)
- **BREAKING: ValueStream**
- Remove `ValueStreamExtensions`.
- `ValueStream.valueWrapper` becomes
- `value`.
- `valueOrNull`.
- `hasValue`.
- `ValueStream.errorAndStackTrace` becomes
- `error`.
- `errorOrNull`.
- `hasError`.
- `stackTrace`.
- Add `skipLast`/`SkipLastStreamTransformer` (thanks [@HannibalKcc](https://togithub.com/HannibalKcc)).
- Update `scan`: change `seed` to required param.
- Add `StackTrace` param to `recoveryFn` when using `OnErrorResumeStreamTransformer`/`onErrorResume`/`onErrorReturnWith`.
- Internal refactoring `ConnectableStream`.
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.