levit_dart_core 0.0.11 copy "levit_dart_core: ^0.0.11" to clipboard
levit_dart_core: ^0.0.11 copied to clipboard

Core Dart runtime for Levit scopes, controllers, stores, and reactive ownership.

0.0.11 #

  • Add reusable LevitResourceOwner and LevitResourceOwnership lifecycle contracts with own, autoDispose, disposed, and idempotent awaited cleanup.
  • Extend auto-linking to every returned LevitResourceOwner, not only LevitController.
  • Apply resource ownership consistently to controllers and stores.
  • Expose bindExisting through Levit, LevitRef, and store references.
  • Make Levit.delete, Levit.reset, and Levit.runInScope await deterministic scope teardown.
  • Updated internal package constraints to ^0.0.11.

0.0.10 #

  • LevitRef.scope now throws a clear StateError when accessed before the store is resolved in a scope (replaces a null-check crash).
  • Coordinated release version bump.
  • Updated internal package constraints to ^0.0.10.

0.0.9 #

  • Clarified permanent on put / lazyPut / lazyPutAsync vs scope dispose(force).
  • Documented autoDispose(LxWorker(...)) as the preferred controller reload recipe.
  • Coordinated release version bump.
  • Updated internal package constraints to ^0.0.9.

0.0.8 #

  • Hardened controller cleanup handling for known disposable types and centralized fallback cleanup paths.
  • Improved auto-linking diagnostics for missing capture-zone state.
  • Coordinated release version bump.
  • Updated internal package constraints to ^0.0.8.

0.0.7 #

  • Bumped version to 0.0.7

0.0.6 #

Breaking Changes #

  • REMOVED LevitState. Replaced with LevitStore.
    • API remains largely similar but class name and semantics have shifted to "Store".

New Features #

  • Enhanced LevitRef:
    • Added ref.put(), ref.lazyPut(), and ref.lazyPutAsync() allowing full DI registration capabilities directly from within a store/controller definition.

0.0.5 #

  • Production-ready documentation (Effective Dart compliance)
  • Added topics to pubspec for improved discoverability
  • Performance and stability improvements

0.0.4 #

  • Optimized Zone.current lookups for auto-linking (fast-path when no capture is active).
  • Integrated with unified LevitReactiveMiddleware system.
  • Renamed LevitScopeMiddleware.onInit to onDependencyInit.
  • Improved controller lifecycle management and async initialization.

0.0.3 #

  • Linting fixes and dependencies update.

0.0.2 #

  • Added example project.

0.0.1 #

  • Initial release.
1
likes
160
points
131
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Core Dart runtime for Levit scopes, controllers, stores, and reactive ownership.

Repository (GitHub)
View/report issues
Contributing

Topics

#state-management #dependency-injection #framework

License

MIT (license)

Dependencies

levit_reactive, levit_scope, meta

More

Packages that depend on levit_dart_core