cobalt_bloc 1.7.0
cobalt_bloc: ^1.7.0 copied to clipboard
Lets an Cobalt scope close the blocs it built — a mixin that bridges bloc's close() to Cobalt's AsyncDisposable, and the function to name where a mixin will not reach.
1.7.0 #
- No code changes in this package. Republished in lockstep with 1.7.0:
a widget-tree hint in
cobalt_flutter, a lint rule for reads that always throw, generated names without$,CobaltStartupObserver, a Mermaid copy in the inspector, and decorators in child scopes.
1.6.0 #
- No code changes in this package. Republished in lockstep with 1.6.0:
child scopes in the lint plugin,
openForTestincobalt_test, a reminder about a forgotten bootstrap incobalt_flutter, and record names without$incobalt_generator.
1.5.0 #
- No code changes in this package. Republished in lockstep with 1.5.0:
generated child scopes in
cobalt_generator,CobaltScope.openandCobaltRootBuilderincobalt, and two rules incobalt_lint.
1.4.0 #
- No code changes in this package. Republished in lockstep with 1.4.0:
constructor defaults,
exposeAswithinstantiationsandCobaltRootincobalt_generator, build time without dependencies incobaltandcobalt_inspector, and recipes in the docs.
1.3.0 #
- No code changes in this package. Republished in lockstep with 1.3.0:
cobalt_generatorsupports@injectedfields on generic classes, andcobalt_lintchecks the instantiations of a generic class.
1.2.0 #
- No code changes in this package. Republished in lockstep with 1.2.0:
cobaltreads its graph through a stable API,cobalt_generatorregisters generic classes, andcobalt_linthas quick fixes.
1.1.1 #
- No code changes in this package. Republished in lockstep with 1.1.1:
a shorter README with a Quick start,
examples/helloas the smallest app,docs/OVERVIEW.mdfor everything the README no longer holds, anddocs/TROUBLESHOOTING.md, one entry per error.
1.1.0 #
- No code changes in this package. Republished in lockstep with 1.1.0, which adds Korean to the inspector and to the documentation.
1.0.0 #
- The API is stable: from here on, only a major release breaks it — see Compatibility in the README. No code changes in this package since 0.9.0; coming from an older 0.x, MIGRATION lists what to change.
0.9.0 #
- No code changes in this package. Republished in lockstep with 0.9.0 — the
last release before 1.0 — which makes
CobaltHooka base class withonReleased(breaking), adds a timeout toinit, a snapshot per environment and a Mermaid picture of the graph, a lint for a hook added too late, and a graph that restarts on a hot reload that changed it — seecobalt's changelog.
0.8.0 #
- No code changes in this package. Republished in lockstep with 0.8.0, which
adds hooks on a supertype, makes every Cobalt error
final(breaking) and stops a log observer from formatting the records it drops — seecobalt's changelog.
0.7.0 #
- No code changes in this package. Republished in lockstep with 0.7.0, which
makes
CobaltResolvera base class (breaking), adds getters toCobaltRegistrationKindand lets the inspector open on a chosen tab — seecobalt's changelog.
0.6.0 #
- No code changes in this package. Republished in lockstep with 0.6.0, which
adds build times to observers and the inspector, a graph snapshot in
cobalt_testand a lint rule — seecobalt's changelog.
0.5.0 #
- No code changes in this package. Republished in lockstep with 0.5.0, which
adds async transients, decorators of every registration of a type and
@injectedfields on decorator classes — seecobalt's changelog.
0.4.0 #
- No code changes in this package. Republished in lockstep with 0.4.0, which
adds async parameterized factories and go_router 18 support — see
cobalt's changelog.
0.3.0 #
- No code changes in this package. Republished in lockstep with 0.3.0, which
adds decorators, overrides on widget and route scopes, and warm-up — see
cobalt's changelog.
0.2.1 #
- No code changes in this package. Republished in lockstep with the toolchain
packages, which now accept analyzer 13 and 14 — see
cobalt_generator's changelog.
0.2.0 #
- No code changes in this package. Republished in lockstep with lazy async
singletons and overrides in
cobalt0.2.0 — see its changelog. A minor version in0.xis a breaking one, so every internal constraint moves to^0.2.0together.
0.1.2 #
- No code changes in this package. Republished in lockstep with a
packaging fix in
cobalt0.1.2 (a stray file removed from its archive) — see its changelog. A fix in one package still ships as a patch for all fifteen, because publishing a subset is what lets the set drift.
0.1.1 #
- No code changes in this package. Republished in lockstep with the fix
in
cobalt_lint0.1.1 — see its changelog. Lockstep is the whole versioning policy: a fix in one package still ships as a patch for all fifteen, because publishing a subset is what lets the set drift.
0.1.0 #
- Initial release.
CobaltBloc— a mixin bridgingBlocBase.closeto Cobalt'sAsyncDisposable, so the scope that built a bloc is the thing that closes it.closeBloc— the same reach for a class a mixin cannot touch, usable as@CobaltInject(dispose: closeBloc)and at a hand-written registration.