Bump http, fpdart, mocktail, rxdart and fhir_yaml
Bumps http, fpdart, mocktail, rxdart and fhir_yaml. These dependencies needed to be updated together.
Updates http from 0.13.2 to 0.13.5
Commits
- See full diff in compare view
Updates fpdart from 0.2.0 to 0.4.0
Release notes
Sourced from fpdart's releases.
v0.4.0
- Added extension methods to work with nullable types (
T?)
- From
T?tofpdart's types
toOptiontoEithertoTaskOptiontoIOEithertoTaskEithertoTaskEitherAsyncfromNullable(Either,IOEither,TaskOptionTaskEither)fromNullableAsync(TaskEither)- From
fpdart's types toT?
toNullable(Either)/// [Option] <-> `int?` int? value1 = 10.toOption().map((t) => t + 10).toNullable();bool? value2 = value1?.isEven;
///
bool?-> [Either] ->int?int? value3 = value2 .toEither(() => "Error") .flatMap((a) => a ? right<String, int>(10) : left<String, int>("None")) .toNullable();///
int?-> [Option] Option<int> value4 = (value3?.abs().round()).toOption().flatMap(Option.of);
- Added
toIOEithertoEither- Removed parameter from
EitherfromNullable[⚠️ BREAKING CHANGE]final either = Either<String, int>.fromNullable(value, (r) => 'none');/// 👆 Removed the value
(r)(it was always null anyway 💁🏼♂️) 👇final either = Either<String, int>.fromNullable(value, () => 'none');
- Added
chainEithertoTaskEither- Added
safeCast(EitherandOption)- Added
safeCastStrict(EitherandOption)int intValue = 10;/// Unhandled exception: type 'int' is not a subtype of type 'List<int>' in type cast final waitWhat = intValue as List<int>; final first = waitWhat.first;
/// Safe 🎯 final wellYeah = Either<String, List<int>>.safeCast( intValue, </tr></table>
... (truncated)
Changelog
Sourced from fpdart's changelog.
v0.4.0 - 16 December 2022
- Added extension methods to work with nullable types (
T?)
- From
T?tofpdart's types
toOptiontoEithertoTaskOptiontoIOEithertoTaskEithertoTaskEitherAsyncfromNullable(Either,IOEither,TaskOptionTaskEither)fromNullableAsync(TaskEither)- From
fpdart's types toT?
toNullable(Either)/// [Option] <-> `int?` int? value1 = 10.toOption().map((t) => t + 10).toNullable();bool? value2 = value1?.isEven;
///
bool?-> [Either] ->int?int? value3 = value2 .toEither(() => "Error") .flatMap((a) => a ? right<String, int>(10) : left<String, int>("None")) .toNullable();///
int?-> [Option] Option<int> value4 = (value3?.abs().round()).toOption().flatMap(Option.of);
- Added
toIOEithertoEither- Removed parameter from
EitherfromNullable[⚠️ BREAKING CHANGE]final either = Either<String, int>.fromNullable(value, (r) => 'none');/// 👆 Removed the value
(r)(it was always null anyway 💁🏼♂️) 👇final either = Either<String, int>.fromNullable(value, () => 'none');
- Added
chainEithertoTaskEither- Added
safeCast(EitherandOption)- Added
safeCastStrict(EitherandOption)int intValue = 10;/// Unhandled exception: type 'int' is not a subtype of type 'List<int>' in type cast final waitWhat = intValue as List<int>; final first = waitWhat.first;
/// Safe 🎯 final wellYeah = Either<String, List<int>>.safeCast( intValue, </tr></table>
... (truncated)
Commits
201b3d0Open meteo example (#63)44884d7release v0.4.02bcda29examples of tasks and futuresebe22adadded examples to README458f673updated CHANGELOGbeec642README for open meteo api example17dd4barefactoring and removed unneeded code7a83ab6completed tests for meteo location7d69212valid tests for fpdart open meteo api553c2aftests for open meteo api- Additional commits viewable in compare view
Updates mocktail from 0.1.4 to 0.3.0
Release notes
Sourced from mocktail's releases.
mocktail-image-network-v0.3.0
- feat: upgrade to
mocktail ^0.3.0mocktail-v0.3.0
- BREAKING feat: add support for type argument matching (#66) (
@renancaraujo)- feat: improve verifyNoMoreInteractions failure message (#118)
- docs: improve argument matcher documentation in
README(#102)- docs: fix typo in _registerMatcher inline docs (#101)
- docs: minor snippet fixes in
README(#94)- docs: enhance example to illustrate more use cases
mocktail-image-network-v0.3.0-dev.1
- feat: upgrade to
mocktail ^0.3.0-dev.1mocktail-v0.3.0-dev.1
- BREAKING feat: add support for type argument matching (#66)
- docs: minor snippet fixes in
README(#94)- docs: enhance example to illustrate more use cases
mocktail-image-network-v0.2.0
- feat: upgrade to
mocktail ^0.2.0mocktail-v0.2.0
- BREAKING refactor: remove generic from
registerFallbackValue- docs: add FAQs to README
Commits
c4ca18fchore(mocktail): v0.3.0 (#117)447575afeat(mocktail): improve verifyNoMoreInteractions failure message (#118)70e915fdocs(mocktail): improve argument matcher documentation in README (#102)c9471cbdocs: fix typo in _registerMatcher inline docs (#101)6dcdef0chore(mocktail_image_network): v0.3.0-dev.1 (#99)ed5aa6achore(mocktail): v0.3.0-dev.1 (#98)6db5916refactor(mocktail): type arg support improvements (#97)eee9d4brefactor(mocktail): resolve analysis warnings (#96)461be1ffeat!: support type arguments (#67)4614a29docs: fix expected value in README (#94)- Additional commits viewable in compare view
Updates 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
onAddandonErrorif the subject is not closed. This ensuresBehaviorSubjectandReplaySubjectdo not update their values after they have been closed.
Subject.streamnow returns a read-onlyStream. Previously,Subject.streamwas identical to theSubject, so we could add events to it, for example:(subject.stream as Sink<T>).add(event). This behavior is now disallowed, and will throw aTypeErrorif attempted. UseSubject.sink/Subjectitself for adding events.Change return type of
ReplaySubject<T>.streamtoReplayStream<T>.Internal refactoring of
Subject.addStream.
What's Changed
- fix(subject): only call
onAddandonErrorif the subject is not closed by@hoc081098in ReactiveX/rxdart#698- refactor(subject):
Subject.streamnow returns a read-onlyStreamby@hoc081098in ReactiveX/rxdart#699- refactor(subject): addStream by
@hoc081098in ReactiveX/rxdart#700- chore(publish): prepare for v0.27.7 by
@hoc081098in ReactiveX/rxdart#701Full Changelog: https://github.com/ReactiveX/rxdart/compare/0.27.6...0.27.7
0.27.6
https://pub.dev/packages/rxdart/versions/0.27.6
Rx.using/UsingStream:resourceFactorycan now return aFuture. This allows for asynchronous resource creation.
Rx.range/RangeStream: ensureRangeStreamis only listened to once.
What's Changed
- fix(range): make sure
RangeStreamcan only be listened to once by@hoc081098in ReactiveX/rxdart#690- fix(range): ensure RangeStream is only listened to once by
@hoc081098in ReactiveX/rxdart#694- refactor(Rx.using):
resourceFactorycan return a Future by@hoc081098in ReactiveX/rxdart#696- chore(publish): prepare for v0.27.6 by
@hoc081098in ReactiveX/rxdart#697Full Changelog: https://github.com/ReactiveX/rxdart/compare/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
onAddandonErrorif the subject is not closed. This ensuresBehaviorSubjectandReplaySubjectdo not update their values after they have been closed.
Subject.streamnow returns a read-onlyStream. Previously,Subject.streamwas identical to theSubject, so we could add events to it, for example:(subject.stream as Sink<T>).add(event). This behavior is now disallowed, and will throw aTypeErrorif attempted. UseSubject.sink/Subjectitself for adding events.Change return type of
ReplaySubject<T>.streamtoReplayStream<T>.Internal refactoring of
Subject.addStream.0.27.6 (2022-11-11)
Rx.using/UsingStream:resourceFactorycan now return aFuture. This allows for asynchronous resource creation.
Rx.range/RangeStream: ensureRangeStreamis 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 isStream<T>,Ris a subtype ofT(covariance issue withStreamTransformer).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 viastreamTransformer.bind(stream)to avoid this issue.Fix
concatEager:activeSubscriptionshould be changed to next subscription.Code refactoring
- Change return type of
pairwisetoStream<List<T>>.0.27.4 (2022-05-29)
Bug fixes
... (truncated)
Commits
3d1b6c0chore(publish): prepare for v0.27.7 (#701)b0d6ad1refactor(subject): addStream (#700)e1f6cd9refactor(subject):Subject.streamnow returns a read-onlyStream(#699)1a8fcefci: add dart 2.17.045f8c5efix(subject): only callonAddandonErrorif the subject is not closed (#...8916c7cchore(publish): prepare for v0.27.6 (#697)9464cddrefactor(Rx.using):resourceFactorycan return aFuture(#696)c0566b4fix(range): ensure RangeStream is only listened to once (#694)58c82c0fix(range): make sureRangeStreamcan only be listened to once (#690)e13dad0prepare for v0.27.5 (#688)- Additional commits viewable in compare view
Updates fhir_yaml from 0.4.0 to 0.9.0
Commits
- See full diff in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.