hoc081098 / flutter_validation_login_form_BLoC_pattern_RxDart

[Functional reactive programming (FRP)]πŸ’§ πŸ’§ πŸ’§ [Pure RxDart] Validation login form by using the BLoC pattern with RxDart - A new Flutter project featuring a faked authentication interface to demonstrate validation. Implemented with BloC pattern.
https://pub.dartlang.org/packages/distinct_value_connectable_observable
MIT License
49 stars 11 forks source link

Update dependency rxdart to ^0.27.0 #8

Open renovate[bot] opened 3 years ago

renovate[bot] commented 3 years ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
rxdart dependencies minor ^0.26.0-nullsafety.0 -> ^0.27.0

Release Notes

ReactiveX/rxdart ### [`v0.27.7`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#​0277-2022-11-16) [Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.6...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).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.stream` to `ReplayStream`. - Internal refactoring of `Subject.addStream`. ### [`v0.27.6`](https://togithub.com/ReactiveX/rxdart/blob/HEAD/CHANGELOG.md#​0276-2022-11-11) [Compare Source](https://togithub.com/ReactiveX/rxdart/compare/0.27.5...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. ### [`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.



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

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.