Skip to content

Releases: nylo-core/error-stack

v2.1.2

01 May 02:17

Choose a tag to compare

[2.1.2] - 2026-05-01

Fixed

  • Dev Panel long-press failed to open when ErrorStackDevPanel was used via MaterialApp.builder. The panel now locates the Navigator whether 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: and MaterialApp.builder configurations.

Example

  • Added a "Storage Tab" example demonstrating the Dev Panel's SharedPreferences and FlutterSecureStorage inspector with view, edit, search, and delete flows.

v2.1.1

26 Apr 07:51

Choose a tag to compare

[2.1.1] - 2026-04-26

Documentation

  • Documented the 2.1.0 copy-to-clipboard features in the README (Logs, Routes, and Storage tab sections)

v2.1.0

26 Apr 07:45

Choose a tag to compare

[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_preferences from ^2.5.4 to ^2.5.5
  • Bumped dio from ^5.9.1 to ^5.9.2

v2.0.1

25 Feb 06:48

Choose a tag to compare

Changed

  • Redesigned Dev Panel trigger from a horizontal bar at the bottom to a compact vertical tab on the right edge of the screen
  • Increased error display container height from 580 to 610 to prevent content overflow

v2.0.0

26 Apr 07:47

Choose a tag to compare

🚀 Error Stack 2.0.0

A major release featuring a complete architectural overhaul with SOLID principles and powerful new debugging tools.

Breaking Changes

  • Refactored ErrorStack into multiple single-responsibility classes
  • ErrorStack.init() now accepts optional storage and devPanelConfig parameters
  • ErrorStackDebugWidget uses constructor injection instead of accessing ErrorStack.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

  • ErrorStackDioInterceptor for automatic HTTP logging
  • Separate import: import 'package:error_stack/error_stack_dio.dart'

Navigator Observer

  • ErrorStackNavigatorObserver for automatic route tracking

Core Architecture

  • ErrorStackConfig - Configuration class
  • ErrorStackStorageBase - Abstract interface for storage (enables mocking/custom implementations)
  • ErrorStackStorage - Default FlutterSecureStorage implementation
  • ErrorStackHandler - Encapsulates error handling logic
  • DevPanelConfig - Configuration for dev panel features
  • DevPanelStore - Central data store for debug data

New APIs

  • ErrorStack.builder - Builder function for MaterialApp
  • ErrorStack.showDevPanel(context) - Programmatically show the dev panel
  • ErrorStack.isInitialized - Check initialization status

Tests

  • Comprehensive test suite with ~490 tests covering all components

Full Changelog

See CHANGELOG.md for complete details.

v1.10.4

13 Dec 08:31

Choose a tag to compare

  • fix dart analysis issues
  • Update pubspec.yaml

v1.10.3

23 Feb 11:01

Choose a tag to compare

  • Update GitHub workflows
  • Update pubspec.yaml

v1.10.2

04 Feb 04:15

Choose a tag to compare

  • Update the pubspec.yaml

v1.10.1

04 Jan 13:15

Choose a tag to compare

  • Update the pubspec.yaml

v1.10.0

02 Nov 11:05

Choose a tag to compare

  • Refactor as per flutter_lints suggestions
  • Update the pubspec.yaml