Changelog
All notable changes to Drift are documented here. Patch releases are grouped under their parent minor version.
v0.25.x
v0.25.0
- Reactive primitives renamed:
Observable,DerivedObservable, andChangeNotifierrenamed toSignal,Derived, andNotifierfor clarity and consistency
v0.25.1
- Added
ListenableBuilderconvenience widget
v0.24.0
- App lifecycle callbacks:
OnInitandOnDisposecallbacks for app-level setup and teardown - New hooks:
UseSubscriptionfor stream subscriptions;UseLifecycleObserverfor observing app lifecycle events - Fix:
DidChangeDependenciesnow called on initial mount
v0.23.x
v0.23.0
- Android minimum SDK lowered: Minimum Android SDK reduced from API 31 to API 29
v0.23.1 to v0.23.4
- Added
DerivedObservableandGlobalKey - Added
LayoutIssueerror type for developer-friendly error screens - Added
AllowsOverscrollmethod toScrollPhysicsinterface OnEditingCompletecallback now receives the current text value- Fixed unbounded constraint propagation to non-flex children
v0.22.x
v0.22.0
- Vulkan rendering backend: Android rendering migrated from OpenGL/EGL to Vulkan (#34)
- Fade transition opacity: Navigation fade transitions now support opacity
- Performance: Replaced reflection-based dirty checks with typed slot comparison; map-based dirty element dedup in
BuildOwner; generics constrained tocomparable - Refactoring: Extracted
RenderObjectBaseandStateBaseto reduce widget boilerplate; hoisted shared render and element tree helpers; consolidated type conversion helpers; simplifiedCenteras stateless wrapper aroundAlign - Skia bridge: Moved shared bridge implementation to a dedicated compilation unit
- Fixes: Fixed navigation resource cleanup for routes and tab navigators; fixed transition disposal; fixed base64 decoding in storage handler; fixed SVG icon cache race on concurrent hit; fixed overlay rebuild after pending ops
v0.22.1
- CLI warns when its version mismatches the project's drift dependency
- Replaced JSON frame snapshots with packed binary encoding for better performance
- Batched display list replay into single CGO calls
v0.21.x
v0.21.0
- Platform view occlusion: Occlusion region support for native view clipping (#30)
- Navigation:
TabScaffoldrenamed toTabNavigator;RouteConfigandShellRouteunified intoScreenRoute
v0.21.1 to v0.21.3
- Added builder methods to
TextFieldandTextFormFieldwith expanded docs - Converted
SvgIconfrom custom element to stateless widget - Fixed occlusion emission for semi-transparent backgrounds