Skip to content

Commit d34ac07

Browse files
committed
Prepare release 1.1.0-nullsafety.1
1 parent fc2979a commit d34ac07

File tree

6 files changed

+62
-60
lines changed

6 files changed

+62
-60
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.1.0-nullsafety.2 - Feb 18, 2021
2+
3+
* Latest dependencies.
4+
15
## 1.1.0-nullsafety.1 - Jan 23, 2021
26

37
* **Breaking**: changed signature of `LoaderMessageHandler` to `void Function(BuildContext, LoaderMessage, LoaderBloc)`.

example/pubspec.lock

+22-22
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ packages:
2828
name: async
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "2.5.0-nullsafety.3"
31+
version: "2.5.0"
3232
boolean_selector:
3333
dependency: transitive
3434
description:
3535
name: boolean_selector
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "2.1.0-nullsafety.3"
38+
version: "2.1.0"
3939
build:
4040
dependency: transitive
4141
description:
@@ -105,14 +105,14 @@ packages:
105105
name: characters
106106
url: "https://pub.dartlang.org"
107107
source: hosted
108-
version: "1.1.0-nullsafety.5"
108+
version: "1.1.0"
109109
charcode:
110110
dependency: transitive
111111
description:
112112
name: charcode
113113
url: "https://pub.dartlang.org"
114114
source: hosted
115-
version: "1.2.0-nullsafety.3"
115+
version: "1.2.0"
116116
checked_yaml:
117117
dependency: transitive
118118
description:
@@ -126,7 +126,7 @@ packages:
126126
name: clock
127127
url: "https://pub.dartlang.org"
128128
source: hosted
129-
version: "1.1.0-nullsafety.3"
129+
version: "1.1.0"
130130
code_builder:
131131
dependency: transitive
132132
description:
@@ -140,7 +140,7 @@ packages:
140140
name: collection
141141
url: "https://pub.dartlang.org"
142142
source: hosted
143-
version: "1.15.0-nullsafety.5"
143+
version: "1.15.0"
144144
convert:
145145
dependency: transitive
146146
description:
@@ -182,21 +182,21 @@ packages:
182182
name: disposebag
183183
url: "https://pub.dartlang.org"
184184
source: hosted
185-
version: "1.5.0-nullsafety.0"
185+
version: "1.5.0-nullsafety.1"
186186
distinct_value_connectable_stream:
187187
dependency: transitive
188188
description:
189189
name: distinct_value_connectable_stream
190190
url: "https://pub.dartlang.org"
191191
source: hosted
192-
version: "1.2.0-nullsafety.2"
192+
version: "1.2.0-nullsafety.5"
193193
fake_async:
194194
dependency: transitive
195195
description:
196196
name: fake_async
197197
url: "https://pub.dartlang.org"
198198
source: hosted
199-
version: "1.2.0-nullsafety.3"
199+
version: "1.2.0"
200200
fixnum:
201201
dependency: transitive
202202
description:
@@ -297,14 +297,14 @@ packages:
297297
name: matcher
298298
url: "https://pub.dartlang.org"
299299
source: hosted
300-
version: "0.12.10-nullsafety.3"
300+
version: "0.12.10"
301301
meta:
302302
dependency: transitive
303303
description:
304304
name: meta
305305
url: "https://pub.dartlang.org"
306306
source: hosted
307-
version: "1.3.0-nullsafety.6"
307+
version: "1.3.0"
308308
mime:
309309
dependency: transitive
310310
description:
@@ -339,7 +339,7 @@ packages:
339339
name: path
340340
url: "https://pub.dartlang.org"
341341
source: hosted
342-
version: "1.8.0-nullsafety.3"
342+
version: "1.8.0"
343343
pedantic:
344344
dependency: "direct dev"
345345
description:
@@ -388,7 +388,7 @@ packages:
388388
name: rxdart_ext
389389
url: "https://pub.dartlang.org"
390390
source: hosted
391-
version: "0.0.1-nullsafety.3"
391+
version: "0.0.1-nullsafety.7"
392392
shelf:
393393
dependency: transitive
394394
description:
@@ -421,28 +421,28 @@ packages:
421421
name: source_span
422422
url: "https://pub.dartlang.org"
423423
source: hosted
424-
version: "1.8.0-nullsafety.4"
424+
version: "1.8.0"
425425
stack_trace:
426426
dependency: transitive
427427
description:
428428
name: stack_trace
429429
url: "https://pub.dartlang.org"
430430
source: hosted
431-
version: "1.10.0-nullsafety.6"
431+
version: "1.10.0"
432432
stream_channel:
433433
dependency: transitive
434434
description:
435435
name: stream_channel
436436
url: "https://pub.dartlang.org"
437437
source: hosted
438-
version: "2.1.0-nullsafety.3"
438+
version: "2.1.0"
439439
stream_loader:
440440
dependency: "direct main"
441441
description:
442442
path: ".."
443443
relative: true
444444
source: path
445-
version: "1.1.0-nullsafety.1"
445+
version: "1.1.0-nullsafety.2"
446446
stream_transform:
447447
dependency: transitive
448448
description:
@@ -456,21 +456,21 @@ packages:
456456
name: string_scanner
457457
url: "https://pub.dartlang.org"
458458
source: hosted
459-
version: "1.1.0-nullsafety.3"
459+
version: "1.1.0"
460460
term_glyph:
461461
dependency: transitive
462462
description:
463463
name: term_glyph
464464
url: "https://pub.dartlang.org"
465465
source: hosted
466-
version: "1.2.0-nullsafety.3"
466+
version: "1.2.0"
467467
test_api:
468468
dependency: transitive
469469
description:
470470
name: test_api
471471
url: "https://pub.dartlang.org"
472472
source: hosted
473-
version: "0.2.19-nullsafety.6"
473+
version: "0.2.19"
474474
timing:
475475
dependency: transitive
476476
description:
@@ -484,14 +484,14 @@ packages:
484484
name: typed_data
485485
url: "https://pub.dartlang.org"
486486
source: hosted
487-
version: "1.3.0-nullsafety.5"
487+
version: "1.3.0"
488488
vector_math:
489489
dependency: transitive
490490
description:
491491
name: vector_math
492492
url: "https://pub.dartlang.org"
493493
source: hosted
494-
version: "2.1.0-nullsafety.5"
494+
version: "2.1.0"
495495
watcher:
496496
dependency: transitive
497497
description:

lib/src/loader_bloc.dart

+7-9
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,12 @@ class LoaderBloc<Content extends Object> {
116116
),
117117
];
118118

119-
return LoaderBloc._(
120-
dispose: () => DisposeBag([...subscriptions, ...controllers])
121-
.dispose()
122-
.let(
123-
(future) =>
124-
logger?.let((l) =>
125-
future.then((result) => l('$_tag disposed: $result'))) ??
126-
future,
127-
),
119+
late LoaderBloc<Content> bloc;
120+
bloc = LoaderBloc._(
121+
dispose: () => DisposeBag(
122+
[...subscriptions, ...controllers],
123+
'${bloc.runtimeType}#${bloc.hashCode.toUnsigned(20).toRadixString(16).padLeft(5, '0')}',
124+
).dispose(),
128125
state$: state$,
129126
fetch: () => fetchS.add(null),
130127
refresh: () {
@@ -134,6 +131,7 @@ class LoaderBloc<Content extends Object> {
134131
},
135132
message$: messageS,
136133
);
134+
return bloc;
137135
}
138136

139137
/// Return new [LoaderState] from old [state] and partial state [change]

0 commit comments

Comments
 (0)