Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge package:async #130

Merged
merged 272 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
063fb26
Release 1.2.0.
nex3 Jun 26, 2015
95092e3
cleanup unused variables in tests
kevmoo Jul 1, 2015
fb93ae6
fix spelling in doc comments
kevmoo Jul 1, 2015
b41b9cd
Add new features to package:async.
lrhn Jul 1, 2015
e30579a
Fix syntax error which was accepted by the VM.
lrhn Jul 1, 2015
cb844f3
Fix type errors caught by analyzer.
lrhn Jul 1, 2015
4638446
Remove warnings in tests, and even fix analyzer hints.
lrhn Jul 1, 2015
f6fa53c
ignore .packages
kevmoo Jul 1, 2015
b809c54
Add handle method to ErrorResult.
lrhn Jul 3, 2015
cc0ba58
Add FutureGroup.onIdle and FutureGroup.isIdle.
nex3 Jul 6, 2015
07ff730
Add a bunch of delegates for dart:async types.
nex3 Jul 7, 2015
ee89638
Use a List rather than a Queue in StreamSplitter.
nex3 Jul 8, 2015
618c4b5
Add an AsyncThunk class.
nex3 Jul 9, 2015
908a900
Add an [immediate] argument to StreamQueue.cancel.
nex3 Jul 9, 2015
409b2df
Added a `ResultFuture` class.
nex3 Jul 13, 2015
19c14a8
Use a named param for StreamQueue.cancelImmediately.
nex3 Jul 13, 2015
8141bbb
Fix a bug in StreamQueue.cancel().
nex3 Jul 15, 2015
d3bd45c
Add StreamQueue.fork and ForkableStream.
nex3 Jul 15, 2015
24130e1
Revert "Add StreamQueue.fork and ForkableStream."
nex3 Jul 17, 2015
8ec7cc5
Use the new test runner on the bots.
nex3 Jul 17, 2015
132479f
Reword the documentation for StreamQueue.cancel.
nex3 Jul 21, 2015
14f3fdf
Don't use "=>" for void methods in delegates.
nex3 Jul 23, 2015
83a06ed
Release 1.3.0.
nex3 Aug 10, 2015
18dd0df
Make it possible to not complete a request when the event source is d…
lrhn Aug 25, 2015
ff13b51
Add AsyncMemoizer.future.
nex3 Sep 8, 2015
4b97ee0
Add a CancelableFuture class.
nex3 Sep 8, 2015
6f6ffa1
Fix timing of async test.
lrhn Oct 13, 2015
cdbe0bf
Add a RestartableTimer class.
nex3 Oct 28, 2015
fa0d75d
Mention CancelableCompleter in the CHANGELOG.
nex3 Nov 5, 2015
b9add96
Add a LazyStream class.
nex3 Dec 14, 2015
ad82296
Add CancelableOperation.valueOrCancellation.
nex3 Jan 7, 2016
b9c9699
Add a StreamSinkTransformer class.
nex3 Jan 11, 2016
1c95ec1
Add SingleSubscriptionTransformer.
nex3 Jan 19, 2016
91ab619
Add a StreamSinkCompleter class.
nex3 Jan 21, 2016
a243c56
Add StreamSplitter to the CHANGELOG.
nex3 Jan 21, 2016
0f04628
Add ClosedStreamSink, and *Completer.setError, and StreamSinkComplete…
nex3 Jan 25, 2016
d7a9dc8
Remove unused imports
srawlins Mar 7, 2016
72f6462
Merge pull request dart-lang/async#5 from srawlins/remove-unused-imports
nex3 Mar 7, 2016
60e3c88
Modernize the package's style.
nex3 Mar 8, 2016
8bddb85
Fix most strong mode warnings.
nex3 Mar 30, 2016
8c40cd6
Add typed wrapper functions to delegate classes.
nex3 Apr 12, 2016
7042af4
Add APIs for asserting the types of transformers.
nex3 May 9, 2016
53a4122
Fix Dart 1.17 strong-mode warnings.
nex3 Jul 19, 2016
7246811
fix strong mode errors for 1.19.0-dev.4.0
keertip Aug 18, 2016
4bf538d
fix strong mode errors for 1.19.0-dev.4.0
keertip Aug 18, 2016
2d49e1a
Don't expect a `null` return from subscription.cancel.
lrhn Sep 27, 2016
a044074
Change signature of methods overriding Future.then (dart-lang/async#7)
natebosch Oct 21, 2016
ed32aaf
Additional strong-mode fixes (down to 0 after this PR) (dart-lang/asy…
matanlurey Jan 5, 2017
a0a5755
Add AsyncCache (dart-lang/async#12)
matanlurey Jan 6, 2017
effaced
Add StreamQueue.startTransactions(). (dart-lang/async#9)
nex3 Jan 9, 2017
243419b
Add StreamQueue.withTransaction().
nex3 Jan 11, 2017
980392e
Add StreamQueue.cancelable().
nex3 Jan 11, 2017
bc941db
Add CHANGELOG entries.
nex3 Jan 11, 2017
bbc6d98
Merge pull request dart-lang/async#18 from dart-lang/transaction-helpers
nex3 Jan 12, 2017
5877fa4
Add a subscriptionTransformer() function. (dart-lang/async#10)
nex3 Jan 19, 2017
5474767
Update the README. (dart-lang/async#17)
nex3 Jan 24, 2017
032ef6f
Two small strong-mode/warning fixes (dart-lang/async#20)
matanlurey Jan 24, 2017
29158fd
Fix a spelling mistake (dart-lang/async#21)
matanlurey Jan 24, 2017
53c7aa5
Add StreamQueue.eventsDispatched. (dart-lang/async#19)
nex3 Jan 24, 2017
f4d43ef
Add `byteCollector` stream transformer and `collectBytes` function.
lrhn Jan 27, 2017
a3f9649
Add `peek` and `lookAhead` to `StreamQueue`.
lrhn Jan 31, 2017
eeb15aa
Bug a bug in StreamQueueTransaction.reject(). (dart-lang/async#22)
nex3 Feb 2, 2017
276e217
Add collectBytesCancelable function.
lrhn Feb 3, 2017
f0d5ffa
Fix StreamQueue.withTransaction(). (dart-lang/async#24)
nex3 Feb 6, 2017
58c5e57
Release 1.13.0. (dart-lang/async#23)
nex3 Feb 6, 2017
3f264da
Change generic comment syntax to real generic syntax.
lrhn Feb 15, 2017
ce17710
Use FutureOr. (dart-lang/async#27)
nex3 Feb 15, 2017
8bffaa4
Fix type warning in Result.release.
lrhn Feb 20, 2017
4eb97cb
Remove unused import in byte_collection_test.dart
srawlins Mar 6, 2017
fbf7641
Merge pull request dart-lang/async#28 from srawlins/unused-import
srawlins Mar 6, 2017
5789617
dartfmt (with 1.23.x)
kevmoo Apr 29, 2017
5337bc4
Enable Travis-CI
kevmoo Apr 29, 2017
2ccffd7
Make `TypeSafeStream` extend `Stream`.
floitschG May 16, 2017
a53324b
Tweak the changelog. (dart-lang/async#32)
nex3 May 17, 2017
b20d38b
Add methods to Result. Bump version to 2.0 and remove deprecated feat…
lrhn Aug 25, 2017
087cfe0
Skip typed_wrapper/stream_test (dart-lang/async#38)
nex3 Sep 22, 2017
d2af4f1
Fix a fuzzy arrow warning (dart-lang/async#41)
nex3 Oct 3, 2017
59dd7e3
Rename .analysis_options to analysis_options.yaml
kevmoo Oct 19, 2017
dccc777
Merge pull request dart-lang/async#42 from dart-lang/kevmoo-patch-1
lrhn Oct 19, 2017
41ac83c
Update for Dart 2.0 changes to Timer
keertip Jan 2, 2018
cda83ce
Update travis to run only on dev, pub get fails on stable
keertip Jan 2, 2018
9d9c8b0
Update SDK constraint
keertip Jan 2, 2018
3b55493
Update SDK contraint lower bound to 2.0.0-dev.15.0
keertip Jan 2, 2018
48c0678
Merge pull request dart-lang/async#43 from dart-lang/libs
keertip Jan 2, 2018
4596b8f
Fix a StreamQueue bug (dart-lang/async#44)
nex3 Jan 5, 2018
c5a0e4f
Updates for Dart 2.0 core library changes (wave 2.2) (dart-lang/async…
leafpetersen Feb 10, 2018
bf7d901
Stop testing Dartium (dart-lang/async#47)
kevmoo Feb 10, 2018
8840f5e
Add deps for build_runner (dart-lang/async#50)
natebosch Feb 24, 2018
b436880
Fix runtime cast errors in StreamQueue.
munificent Feb 26, 2018
6c6db71
Code font in CHANGELOG.md.
munificent Feb 27, 2018
d9f5713
Merge pull request dart-lang/async#51 from dart-lang/stream-queue-cas…
munificent Feb 27, 2018
795f5d6
Forward DelegatingStream.typed to Stream.cast (dart-lang/async#54)
leafpetersen Mar 3, 2018
22e4c3a
Declare support for the latest fake_async (dart-lang/async#59)
nex3 May 2, 2018
1643a97
Fix Dart 2 runtime errors (dart-lang/async#58)
nex3 May 2, 2018
412ee71
Remove upper case constants (dart-lang/async#56)
lrhn May 3, 2018
0aec6aa
Enable prefer_typing_uninitialized_variables (dart-lang/async#63)
natebosch Jun 22, 2018
6f5152b
misc: update build_runner dep and update one test file for dartfmt (d…
kevmoo Jun 27, 2018
b6dd182
Fix places awaiting void, for dart 2.
MichaelRFairhurst Jun 29, 2018
9cb783f
Update .gitignore to new `dart_tool` pub cache (dart-lang/async#60)
bcko Jul 9, 2018
3273b15
Delete typed future, use Dart 2 instead. (dart-lang/async#55)
matanlurey Jul 9, 2018
7bfb377
Do even less to "fix" `invalidate`. Return `Null`, which is awaitable.
MichaelRFairhurst Jul 9, 2018
55101ec
Fix awaits only, making cache.invalidate return a future can be separate
MichaelRFairhurst Jul 13, 2018
0427761
Fix awaits only, making cache.invalidate return a future can be separate
MichaelRFairhurst Jul 13, 2018
3e9b2b9
Format stream_queue_test.dart
MichaelRFairhurst Jul 13, 2018
93714a0
Merge pull request dart-lang/async#65 from MichaelRFairhurst/fix-awai…
MichaelRFairhurst Jul 18, 2018
3e24cea
Allow SDK versions <3.0.0 (dart-lang/async#67)
chalin Jul 19, 2018
5618009
support the latest pkg:build_runner (dart-lang/async#69)
kevmoo Oct 8, 2018
0f55ca2
dev dep: latest build_web_compilers (dart-lang/async#71)
kevmoo Dec 11, 2018
9a51638
Merge _StreamQueue into StreamQueue (dart-lang/async#73)
natebosch Jan 25, 2019
053559b
Fix CancelableOperation.valueOrCancellation's type signature (dart-la…
ds84182 Jan 25, 2019
b39524c
Run dartfmt --fix to drop unnecessary new/const (dart-lang/async#74)
natebosch Jan 26, 2019
9972c21
Test oldest SDK version on Travis (dart-lang/async#76)
kevmoo Mar 13, 2019
523df1f
Add isCanceled/Completed to CancelableOperation (dart-lang/async#79)
natebosch Mar 22, 2019
7bcc6d9
Implement CancelableOperation.then (dart-lang/async#83)
TastyPi Apr 5, 2019
16fc3dd
drop unused file
kevmoo May 1, 2019
514d276
Drop dependencies on build_runner, etc – not used!
kevmoo May 1, 2019
aabcb54
Enable and fix pedantic lints - except for unawaited_futures
kevmoo May 1, 2019
9eec8ee
Fix missing_return violation newly enforced in Dart ~2.3.2-dev.0.1
srawlins May 23, 2019
e4b3ce5
Fix missing_return violation newly enforced in Dart ~2.3.2-dev.0.1
srawlins May 23, 2019
c09f231
fmt
srawlins May 23, 2019
27b10b7
Merge branch 'master' into missing-return
srawlins May 23, 2019
dcb2b1f
Merge pull request dart-lang/async#86 from srawlins/missing-return
srawlins May 23, 2019
9d2a262
Fix references to dartdocs.org and pub.dartlang.org (dart-lang/async#87)
kevmoo May 23, 2019
54bfcff
Implement RestartableTimer.tick (dart-lang/async#89)
natebosch Jul 17, 2019
583d510
fix outdated doc links
kevmoo Aug 20, 2019
9d0d1fc
Add StreamGroup.mergeBroadcast (dart-lang/async#90)
natebosch Oct 3, 2019
00e4a96
Check ordering in StreamGroup.merege tests (dart-lang/async#91)
natebosch Oct 4, 2019
6299483
Fix newly enforced package:pedantic lints (dart-lang/async#92)
natebosch Dec 6, 2019
e4cb9a7
Drop unused author field from pubspec (dart-lang/async#93)
natebosch Dec 9, 2019
ef728c4
Drop optional new from docs (dart-lang/async#94)
natebosch Jan 14, 2020
2896d7f
Use a Completer of void (dart-lang/async#96)
natebosch Jan 14, 2020
eb18edc
Fix implicit casts (dart-lang/async#97)
natebosch Jan 14, 2020
b922233
Remove a stale TODO (dart-lang/async#100)
natebosch Jan 14, 2020
7b6f9bc
Deprecate Delegating*.typed utilities (dart-lang/async#99)
natebosch Jan 14, 2020
18a512c
Remove lints enabled by pkg:pedantic (dart-lang/async#103)
kevmoo Mar 9, 2020
d7bb3e2
Cast use of StreamSubscription.cancel result through dynamic (dart-la…
leafpetersen Mar 13, 2020
cc9e842
Travis: do browser testing on Chrome (dart-lang/async#106)
kevmoo Mar 16, 2020
c1dda3d
Expand docs for isCompleted (dart-lang/async#104)
natebosch Mar 16, 2020
c76a8c2
Prepare to publish (dart-lang/async#107)
natebosch Mar 16, 2020
f9378aa
Make StreamQueue start listening immediately to broadcast streams. (d…
lrhn Jun 30, 2020
e3a6bd6
Merge null_safety branch into master (dart-lang/async#125)
jakemac53 Jul 8, 2020
3b8fd87
update collection/meta deps to the published versions (dart-lang/asyn…
jakemac53 Jul 14, 2020
ca7d34a
Fix error in CancelableOperation.then (dart-lang/async#127)
whesse Jul 15, 2020
14ac853
add tests for .then with a nullable T (dart-lang/async#128)
jakemac53 Jul 15, 2020
06f458e
update for the 2.10 dev sdk (dart-lang/async#129)
jakemac53 Jul 22, 2020
afc0d72
restore dev_dependencies and overrides of those (dart-lang/async#130)
jakemac53 Jul 22, 2020
d390263
CI: Test on dev branch (dart-lang/async#131)
kevmoo Jul 23, 2020
75334af
Remove unused dart:async import. (dart-lang/async#134)
MichaelRFairhurst Aug 24, 2020
34705a5
Resolve null safety migration TODOS (dart-lang/async#135)
natebosch Aug 26, 2020
781f71d
Update git deps for merged packages (dart-lang/async#137)
natebosch Aug 31, 2020
9cc2c71
Remove references to the deprecated CastError. (dart-lang/async#118)
lrhn Sep 21, 2020
178692b
Prepare for the 2.11 dev SDKs (dart-lang/async#138)
natebosch Sep 22, 2020
8dfbb1d
Avoid a `late final` field without initializer (dart-lang/async#139)
natebosch Sep 25, 2020
79f9dc4
Invalidate async cache on exception (dart-lang/async#132)
himamis Oct 22, 2020
7ccdd58
Allow 2.12.0 dev SDK versions (dart-lang/async#141)
natebosch Oct 23, 2020
54908bf
Migrate to runZonedGuarded (dart-lang/async#142)
natebosch Nov 2, 2020
89376f3
Bump SDK constraints for pub (dart-lang/async#143)
natebosch Nov 3, 2020
43e4a96
Various clean-ups and null-safety improvements. (dart-lang/async#140)
lrhn Nov 6, 2020
54c64c3
Delete .test_config (dart-lang/async#144)
kevmoo Nov 13, 2020
52bff1a
Migrate to GitHub Actions (dart-lang/async#149)
athomas Dec 21, 2020
de690c3
Add package of the week video (dart-lang/async#150)
tvolkert Jan 20, 2021
c6418c3
Revert "Various clean-ups and null-safety improvements. (dart-lang/as…
natebosch Jan 29, 2021
9dde9dc
Prepare to publish stable null safety (dart-lang/async#153)
natebosch Feb 2, 2021
a51466c
Fix new pedantic lints, test on oldest supported SDK (dart-lang/async…
kevmoo Mar 8, 2021
723df4e
Use the name that matches no library directive (dart-lang/async#158)
natebosch Mar 17, 2021
8605ecc
Fix typo (dart-lang/async#159)
mnordine Mar 26, 2021
58df1ec
Update LICENSE (dart-lang/async#162)
franklinyow Apr 1, 2021
79694fc
Add ChunkedStreamReader (dart-lang/async#161)
jonasfj Apr 16, 2021
842b7e8
Add isClosed getters to StreamGroup and FutureGroup (dart-lang/async#…
nex3 Apr 20, 2021
dc46ed0
Style tweaks in stream_queue.dart (dart-lang/async#167)
natebosch Apr 21, 2021
9f3f170
Add StreamGroup.onIdle and StreamGroup.isIdle (dart-lang/async#164)
nex3 Apr 27, 2021
7d44918
Add a StreamCloser transformer (dart-lang/async#166)
nex3 Apr 27, 2021
b5eeda4
Add a StreamSink.rejectErrors() extension method (dart-lang/async#169)
nex3 Apr 27, 2021
b7b51ee
Remove extra newlines in CHANGELOG (dart-lang/async#170)
natebosch Apr 27, 2021
ad34fb4
Fix docs in FutureGroup (dart-lang/async#171)
natebosch Apr 27, 2021
67ae670
Fix a StreamGroup bug when a component stream's listen() throws (dart…
nex3 Apr 29, 2021
1d45068
Code review changes for dart-lang/async#173 (dart-lang/async#174)
nex3 May 4, 2021
f0ee0b4
Don't invoke onValue for a canceled operation (dart-lang/async#177)
natebosch May 7, 2021
d84217f
Make isComplete reflect result availability (dart-lang/async#178)
natebosch May 11, 2021
34893b3
Add a Stream.slices extension method (dart-lang/async#175)
nex3 May 18, 2021
b1f1e0d
Add doc comment on Stream.slices (dart-lang/async#180)
natebosch May 20, 2021
972f8bf
Faster ChunkedStreamReader. (dart-lang/async#182)
jonasfj Jun 17, 2021
3b6ab88
Use BytesBuilder for collectBytes (dart-lang/async#185)
natebosch Jun 29, 2021
b1b2cfa
Avoid eager copying with BytesBuilder (dart-lang/async#186)
natebosch Jul 1, 2021
2db99c1
Dart format with latest SDK (dart-lang/async#189)
kevmoo Jul 12, 2021
5220785
Add *SinkBase classes for implementing custom sinks (dart-lang/async#…
nex3 Jul 20, 2021
0aa87e7
Avoid missing streams when relistening to broadcast StreamGroup (dart…
anhtuan23 Jul 20, 2021
83e71b4
Prepare to publish (again) (dart-lang/async#190)
natebosch Jul 22, 2021
3ff6896
Deprecate the sink_base classes. (dart-lang/async#193)
lrhn Aug 6, 2021
e02f3d8
Stop depending on pkg:charcode and pkg:pedantic. (dart-lang/async#191)
lrhn Aug 10, 2021
f785214
Add StreamExtensions.firstOrNull (dart-lang/async#195)
nex3 Aug 31, 2021
cbce1bc
Add additional CancelableOperation utilities (dart-lang/async#194)
nex3 Sep 2, 2021
fe8ec38
Fix an ArgumentError constructor call (dart-lang/async#197)
natebosch Sep 10, 2021
e1ffd3d
Let `firstOrNull` extension method wait for `cancel` to complete. (da…
lrhn Sep 14, 2021
a58f0e7
update some StreamController apis to Future<void> from Future<dynamic…
jakemac53 Oct 4, 2021
48da943
Update test to not assume completion happens synchronously. (dart-lan…
lrhn Mar 9, 2022
ea542a7
Clean up `CancelableOperation`. (dart-lang/async#204)
lrhn Mar 9, 2022
6f3c61d
Avoid leaking unreachable listeners on `CancelableOperation`. (dart-l…
lrhn Mar 10, 2022
0d01690
Revert change of visible behavior in `CancelableOperation`. (dart-lan…
lrhn Mar 18, 2022
45ae0cf
Make ephemeral async cache clear sooner. (dart-lang/async#207)
lrhn Mar 21, 2022
c45ad72
Deprecate `AsyncCache.fetchStream`. (dart-lang/async#209)
lrhn Mar 23, 2022
510d42b
Change the default propagateCancel argument (dart-lang/async#213)
natebosch Mar 28, 2022
a558bb3
Prepare to publish (dart-lang/async#214)
natebosch Mar 31, 2022
c3fe316
Add CancelableOperation.thenOperation (dart-lang/async#211)
natebosch Apr 18, 2022
c923caa
Add CancelableCompleter.completeOperation (dart-lang/async#215)
natebosch Apr 19, 2022
874d5ae
Require Dart 2.18, latest lints, latest CI bits (dart-lang/async#223)
kevmoo Oct 20, 2022
7f065ca
Nit: fix analysis_options (dart-lang/async#224)
kevmoo Oct 20, 2022
59f655c
Add CancelableOperation.fromValue (dart-lang/async#225)
natebosch Nov 9, 2022
c51a373
Bump actions/checkout from 3.1.0 to 3.2.0 (dart-lang/async#227)
dependabot[bot] Jan 3, 2023
9ad4cf7
update changelog and pubspec version (dart-lang/async#228)
devoncarew Jan 23, 2023
b443bb1
blast_repo fixes (dart-lang/async#231)
devoncarew Jan 27, 2023
9015f5c
Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/async#233)
dependabot[bot] Feb 1, 2023
2f756b5
Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/async#234)
dependabot[bot] Feb 1, 2023
78faa62
Add `StreamExtensions.listenAndBuffer()` (dart-lang/async#235)
nex3 Mar 2, 2023
a20f11c
Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/async#237)
dependabot[bot] Apr 3, 2023
d33b646
Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/async#236)
dependabot[bot] Apr 3, 2023
db3aeb8
Regression test for error rejecting transaction (dart-lang/async#230)
natebosch Apr 19, 2023
55f5222
Synchronously forward chained cancellations (dart-lang/async#239)
natebosch May 2, 2023
4f00bd3
Bump actions/checkout from 3.5.0 to 3.5.2 (dart-lang/async#240)
dependabot[bot] May 8, 2023
79870a0
blast_repo fixes (dart-lang/async#242)
devoncarew May 12, 2023
3ed98e5
docs: fix typo in CancelableOperation.fromFuture(...) docs (dart-lang…
Goddchen May 17, 2023
7bd2eb1
Require Dart 2.19, use latest team lints (dart-lang/async#244)
kevmoo Jun 2, 2023
db823ea
Update testing SDK in CI (dart-lang/async#245)
kevmoo Jun 2, 2023
a78ab0f
Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/async#247)
dependabot[bot] Jul 1, 2023
3e824a5
Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/async#250)
dependabot[bot] Sep 1, 2023
9021c85
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/async#252)
dependabot[bot] Oct 1, 2023
3570335
Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/async#253)
dependabot[bot] Oct 1, 2023
d7e9a67
Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/async#254)
dependabot[bot] Nov 1, 2023
736d543
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/async#255)
dependabot[bot] Nov 1, 2023
2700dfb
Fix typo (dart-lang/async#262)
FuturisticGoo Jan 7, 2024
87293d2
Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/async#266)
dependabot[bot] Feb 1, 2024
42eddc9
Update to latest lints, require Dart 3.2 (dart-lang/async#267)
kevmoo Feb 15, 2024
6ca5fba
Test on wasm (dev) and JS (dart-lang/async#269)
kevmoo Mar 7, 2024
9b89930
Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/async#270)
dependabot[bot] Apr 1, 2024
45760be
Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/async#271)
dependabot[bot] May 1, 2024
1e2f9c5
Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/async#272)
dependabot[bot] May 1, 2024
f5c5455
blast_repo fixes (dart-lang/async#273)
devoncarew May 3, 2024
934d81c
Add `topics` to `pubspec.yaml` (dart-lang/async#274)
szakarias May 15, 2024
ca3a1db
bump lints dep and fix (dart-lang/async#275)
kevmoo May 28, 2024
f634692
Bump actions/checkout from 4.1.4 to 4.1.6 in the github-actions group…
dependabot[bot] Jun 2, 2024
9af10ab
Bump min SDK, tighten dependencies, test wasm on 3.4 (dart-lang/async…
kevmoo Jun 10, 2024
9383a3c
Drop use of pkg:collection whereNotNull() (dart-lang/async#278)
kevmoo Jun 17, 2024
a446707
Bump the github-actions group with 2 updates (dart-lang/async#280)
dependabot[bot] Jul 1, 2024
c156a34
Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group…
dependabot[bot] Oct 4, 2024
ca6aa3a
Merge package:async into the core monorepo
mosuem Oct 14, 2024
c2125f4
Moving fixes
mosuem Oct 14, 2024
f5fbcdd
Rename labeler
mosuem Oct 15, 2024
ada5eb0
Merge branch 'main' into merge-async-package
mosuem Oct 15, 2024
b3264f8
Changes as per review
mosuem Oct 16, 2024
f3f8e1b
Merge branch 'main' into merge-async-package
mosuem Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
- changed-files:
- any-glob-to-any-file: 'pkgs/args/**'

"package:async":
- changed-files:
- any-glob-to-any-file: 'pkgs/async/**'

"package:convert":
- changed-files:
- any-glob-to-any-file: 'pkgs/convert/**'
Expand Down
75 changes: 75 additions & 0 deletions .github/workflows/async.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: package:async

on:
# Run on PRs and pushes to the default branch.
push:
branches: [ main ]
paths:
- '.github/workflows/async.yaml'
- 'pkgs/async/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/async.yaml'
- 'pkgs/async/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github

defaults:
run:
working-directory: pkgs/async/

jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'

# Run tests on a matrix consisting of two dimensions:
# 1. OS: ubuntu-latest, (macos-latest, windows-latest)
# 2. release channel: dev
test:
needs: analyze
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Add macos-latest and/or windows-latest if relevant for this package.
os: [ubuntu-latest]
sdk: [3.4, dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Run VM tests
run: dart test --platform vm
if: always() && steps.install.outcome == 'success'
- run: dart test --platform chrome --compiler dart2js
if: always() && steps.install.outcome == 'success'
- run: dart test --platform chrome --compiler dart2wasm
if: always() && steps.install.outcome == 'success'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This repository is home to various Dart packages under the [dart.dev](https://pu
| Package | Description | Version |
|---|---|---|
| [args](pkgs/args/) | Library for defining parsers for parsing raw command-line arguments into a set of options and values. | [![pub package](https://img.shields.io/pub/v/args.svg)](https://pub.dev/packages/args) |
| [async](pkgs/async/) | Utility functions and classes related to the 'dart:async' library.| [![pub package](https://img.shields.io/pub/v/async.svg)](https://pub.dev/packages/async) |
| [convert](pkgs/convert/) | Utilities for converting between data representations. | [![pub package](https://img.shields.io/pub/v/convert.svg)](https://pub.dev/packages/convert) |
| [crypto](pkgs/crypto/) | Implementations of SHA, MD5, and HMAC cryptographic functions. | [![pub package](https://img.shields.io/pub/v/crypto.svg)](https://pub.dev/packages/crypto) |
| [fixnum](pkgs/fixnum/) | Library for 32- and 64-bit signed fixed-width integers. | [![pub package](https://img.shields.io/pub/v/fixnum.svg)](https://pub.dev/packages/fixnum) |
Expand Down
11 changes: 11 additions & 0 deletions pkgs/async/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# See https://dart.dev/guides/libraries/private-files

.buildlog
.DS_Store
.idea

.dart_tool/
.settings/
build/
pubspec.lock
.packages
6 changes: 6 additions & 0 deletions pkgs/async/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Below is a list of people and organizations that have contributed
# to the project. Names should be added to the list like so:
#
# Name/Organization <email address>

Google Inc.
Loading
Loading