popsicle 1.0.0-rc.1
popsicle: ^1.0.0-rc.1 copied to clipboard
Popsicle is a lightweight, reactive state management and DI framework for Flutter. Built on the philosophy f(state) = UI, it simplifies building scalable, declarative apps.
1.0.0-rc.1 #
๐งช Release Candidate โ Finalizing API for 1.0.0 #
-
๐งฉ New Core State:
PopsicleState<T>
- Lightweight reactive state class added for simplified state management.
- Offers a minimal API while integrating with the existing reactive ecosystem.
-
๐ Dependency Bootstrap Enhancement
- Refactored and improved DI bootstrap logic to support more modular and testable setups.
โ ๏ธ This is a release candidate for 1.0.0. While the API is considered feature-complete, minor refinements and naming adjustments may still occur before final release.
0.1.1-beta #
๐ Beta Release Highlights #
-
๐ง Middleware Revamp
- Introduced type-safe
MiddlewareContext<T>
andMiddlewarePipeline<T>
to support chained middleware with contextual awareness (oldValue
,newValue
,key
,scope
).
- Introduced type-safe
-
โ๏ธ Modular & Scalable Dependency Injection
-
๐ฅ Declarative State Access
- Introduced
ReactiveProvider.get<T>()
for easy and declarative access to state.
- Introduced
-
๐งฉ Clean Architecture Improvements
- Refactored internals to better support separation of concerns and composability.
- Reduced boilerplate and improved clarity in the state registration lifecycle.
-
๐งช Enhanced Testability
- State and DI system now fully testable in isolation.
- Easier to mock, override, and inject test-specific dependencies or states.
-
๐ฆ Scalability Enhancements
- Popsicle is now ready for large-scale applications with a robust foundation for reactive state and modular DI.
Note: This is a beta release, APIs may change slightly before the stable 1.0.0. Feedback is welcome!
0.0.2-alpha #
โจ Initial Release #
๐ Popsicle State Management
- โ
ReactiveState
,AsyncState
, andStreamState
for fully reactive and composable state handling - โ Lifecycle-aware state observers with automatic disposal
- โ Middleware support to intercept or transform state changes
๐ฆ Built-in Dependency Injection
- โ
Zero-boilerplate DI with centralized configuration via
AppDI
class - โ No global variables required โ clean and testable setup
- โ
Context-free access using
inject<T>()
- โ
context.get<T>()
extension for widget-based DI
๐ ๏ธ Architecture
- โ Designed for both small and large-scale applications
- โ Works in Flutter apps and Dart CLI projects
๐ฑ Ideal for
- Developers looking for a lightweight yet powerful state management and DI solution with minimal setup.