Releases: nylo-core/error-stack
Releases · nylo-core/error-stack
v2.1.2
[2.1.2] - 2026-05-01
Fixed
- Dev Panel long-press failed to open when
ErrorStackDevPanelwas used viaMaterialApp.builder. The panel now locates theNavigatorwhether it sits above or below the dev panel widget in the element tree.
Tests
- Added widget tests covering the long-press path for both
home:andMaterialApp.builderconfigurations.
Example
- Added a "Storage Tab" example demonstrating the Dev Panel's
SharedPreferencesandFlutterSecureStorageinspector with view, edit, search, and delete flows.
v2.1.1
v2.1.0
[2.1.0] - 2026-04-26
Added
- Copy-to-clipboard support across the Dev Panel:
- Logs tab: copy a full log entry (level, timestamp, tag, message, and stack trace) from each row
- Routes tab: copy the route name from the route details sheet
- Local Storage tab: copy the key or value from the edit modal
- "Copied!" confirmation feedback on each copy action
Changed
- Bumped
shared_preferencesfrom^2.5.4to^2.5.5 - Bumped
diofrom^5.9.1to^5.9.2
v2.0.1
v2.0.0
🚀 Error Stack 2.0.0
A major release featuring a complete architectural overhaul with SOLID principles and powerful new debugging tools.
Breaking Changes
- Refactored
ErrorStackinto multiple single-responsibility classes ErrorStack.init()now accepts optionalstorageanddevPanelConfigparametersErrorStackDebugWidgetuses constructor injection instead of accessingErrorStack.instance
New Features
Dev Panel
A comprehensive runtime debugging tool with 5 tabs:
- API Tab - HTTP request/response logging with timing, headers, and body data
- Logs Tab - Console logging with severity levels (debug, info, warning, error)
- Routes Tab - Navigation history tracking with route names and arguments
- Storage Tab - View local storage data (Secure Storage & Shared Preferences)
- UI Tab - Visual debugging tools (grid overlay, layout bounds, text scale, color blindness simulation, slow animations, performance overlay)
Dio Integration
ErrorStackDioInterceptorfor automatic HTTP logging- Separate import:
import 'package:error_stack/error_stack_dio.dart'
Navigator Observer
ErrorStackNavigatorObserverfor automatic route tracking
Core Architecture
ErrorStackConfig- Configuration classErrorStackStorageBase- Abstract interface for storage (enables mocking/custom implementations)ErrorStackStorage- Default FlutterSecureStorage implementationErrorStackHandler- Encapsulates error handling logicDevPanelConfig- Configuration for dev panel featuresDevPanelStore- Central data store for debug data
New APIs
ErrorStack.builder- Builder function for MaterialAppErrorStack.showDevPanel(context)- Programmatically show the dev panelErrorStack.isInitialized- Check initialization status
Tests
- Comprehensive test suite with ~490 tests covering all components
Full Changelog
See CHANGELOG.md for complete details.