ispect 4.2.1-dev06
ispect: ^4.2.1-dev06 copied to clipboard
Logging and inspection tool for development and testing. ISpect provides an intuitive interface that makes debugging efficient and insightful.
Changelog #
4.2.1-dev06 #
Added: #
- Add
LogsJsonServicefor structuredJSONexport/import of logs and integrate sharing/import features intoISpectViewControllerand UI. - Implement
DailyFileLogHistoryfor file-based log persistence with daily sessions and provide related screens for browsing and sharing sessions. - Added
File Viewerto settings sheet inISpectscreen to view and manage log files.
Enhancements: #
- Extend
ISpectifyFlutter.initto accept customILogHistoryinstances and disable default print logging. - Refactor file handlers (web and native) to support configurable file types and
JSONoutput. - Make settings and info callback parameters optional in the app bar and conditionally render related UI.
4.2.0 #
Added: #
- Introduce navigation flow feature to visualize app route transitions.
- Ability to share log with the applied filters in the
ISpectscreen.
Enhancements: #
- Extend
ISpectNavigatorObserverto bufferRouteTransitionobjects with unique IDs, timestamps, and structured logging using aTransitionTypeenum. - Add
RouteTransitiondata model,Listextensions, androuteName/routeTypeextensions for richer routemetadata. - Improve
ISpectOptionsequality andtoStringimplementations withDeepCollectionEquality. - Toggle default
isLogModalsbehavior tofalsefor finer logging control.
4.1.9 #
Changes: #
- Replaced
LogScreenwith a generalizedISpectJsonScreen, which now accepts aMap<String, dynamic>JSONinput directly instead of extracting it from an object. - Refactored and migrated the
Colortohexstring conversion utility. - Performed minor improvements and code cleanups.
4.1.6 #
Changes: #
ISpectPanelItem->DraggablePanelItem;ISpectPanelButtonItem->DraggablePanelButtonItem.- Added tooltip snackbar when long press on the panel buttons and items.
Just add
descriptionfield to theDraggablePanelItemorDraggablePanelButtonItemto show the tooltip.
4.1.5 #
Enhancements: #
- Refactor
InspectorStateto modularize main child, overlay builders, and zoom state handling - Expose new zoom configuration constants and helper methods in
InspectorStatefor enhanced zoom and overlay management
Changes: #
- Revise
READMEinstructions across all packages to showcase new initialization patterns (e.g. ISpectifyFlutter.init,ISpectJiraClient.initialize) - Rename
ISpectifyActionItemtoISpectActionItemand update references in docs and examples - Add
ISpectPanelItemandISpectPanelButtonItemmodels and corresponding usage samples.Records->Models - Refresh quick start and advanced feature code snippets to illustrate updated APIs and options
- Unify headings (Basic Setup, Custom Issue Creation, etc.) and standardize sample app flows
4.1.4 #
Enhancements: #
- Optimize
JSONtruncator to avoid expensive length calls, use correct recursion depth, and handle truncations efficiently - Extend filter search to include map keys, prevent circular loops, and streamline filter combination logic
- Refine dotted separator painter to distribute dots evenly within container bounds
CI: #
- Upgrade
actions/checkoutto v4 with full fetch depth - Harden validate_versions workflow with strict error handling,
version.configandVERSIONchecks - Switch grep to fixed-string mode and update workflow paths in
sync_versions_and_changelogs - Remove obsolete
update_changelogs.ymlfile
4.1.3 #
Infrastructure #
- Added comprehensive version management system:
- Created
version.configas single source of truth for package versions - Added automated dependency synchronization between internal packages
- Implemented CI/CD workflows for automatic version sync on changes
- Added scripts for easy version bumping: patch, minor, major, dev versions
- Created comprehensive documentation in VERSION_MANAGEMENT.md and VERSION.md
- Created
- Added validation for package versions:
- Pre-commit hooks to prevent inconsistent versions
- Automated checks for internal dependency consistency
- Pull request validation for versions and changelogs
Enhanced #
- Refactored and improved optimization for handling very large JSON in the detailed log screen.
- Improved search and scroll to matched item functionality in the detailed log screen.
Added #
- Added a button for copying next to the JSON item (map/iterable) inside the detailed log screen.
- Added the ability to share the full log as a file .txt or quickly copy the truncated log to the clipboard.
Changes #
- UI changes in ISpect and log screens for better usability.
- Bumped dependencies to the latest versions.
4.1.2 #
4.1.1 #
Added #
- Add screen size utility to detect and adapt UI based on device screen
- Implement alternative dialog-based UI for larger screen sizes
Fixed #
- Fix issue displaying API fields correctly in the console
Enhancements #
- Implement responsive design for settings bottom sheet and log screens using screen size detection
- Improve search functionality in JSON viewer, added scrolling to the found element
Changes #
- Remove platform-specific configurations for Android and iOS in the example project
- Add macOS support for the example project
4.1.0 #
Fixed #
- Replace square bracket references with backticks in code comments and documentation across multiple packages to improve code documentation readability and consistency
4.0.9 #
Added #
- JsonTruncatorService for more robust JSON truncation and formatting
- Introduced more granular widget rendering strategies in JSON explorer
Fixed #
- Fixed potential performance bottlenecks in JSON rendering
- Improved error handling in JSON formatting and logging
- Fix analyzer issue for pub score
Enhanced #
- Refactored JSON attribute rendering to reduce widget rebuilds
- Improved performance of text highlighting in JSON viewer
- Optimized context selection and memoization in JSON explorer components
Chore #
- Cleaned up unused code and simplified complex rendering logic
- Improved code readability in JSON viewer components
4.0.6 #
Added #
- Custom Performance Overlay - Changed the approach and some improvements
- Enhanced Log Navigation - Search, highlight, and expand/collapse functionality
- New Option:
logTruncateLength- Available inISpectifyOptionsfor configurable log truncation - New Configuration:
ISpectifyHttpLoggerSettings- Added toISpectifyHttpLoggerfor improved setup flexibility
Improved #
- JSON Handling - Async and lazy loading for better performance on large data structures
- Log Card Refactor - Improved readability and maintainability
- Error Handling - Added filtering for more precise issue tracking
Fixed #
- Security Cleanup - Removed
ispect_aipackage and related dependencies
4.0.5 #
Changed #
- Error display now limited to first 10,000 characters for large errors to prevent widget overload and application hanging
4.0.1 #
Breaking Changes #
ISpectScopeWrapperRelocation - Moved insideISpectBuilder. Now,ISpectBuilderserves as a one-stop solutionISpect.log()Update - Replaced withISpect.logger.log()for improved consistency and clarity
Added #
- Language Support - Chinese (zh_CN) localization
- JSON Log Viewer - Detailed log viewing as a
JSONtree structure - Enhanced HTTP Logs - HTTP request logging displays all details in
JSONtree format with search and filtering - Log Descriptions - Added
logDescriptionstoISpectThemeto add, modify, or disable descriptions in the info bottom sheet - Theme Scheme Screen - Included basic
Theme Scheme Screenin theISpectpanel for testing
Updated ISpectify #
- Documentation - Comprehensive documentation added to the
ISpectifyclass - Constructor Enhancement - Modified to accept optional components (
logger,observer,options,filter,errorHandler,history) - Configuration Method - Introduced
configuremethod to update existing inspector instance configuration - Internal Logic - Updated to leverage new components and options effectively
Improved #
-
Bottom Sheet Revamp
- Removed
BaseBottomSheetwidget - Implemented
DraggableScrollableSheetwith configurableinitial,min, andmaxchild sizes - Updated build method to integrate
DraggableScrollableSheet - Adjusted layout and styling for new bottom sheet structure
- Removed
-
Filtering Enhancements
- Added
ValueNotifierto manage filter enablement state - Introduced
SearchBarfor log filtering - Replaced
InkWellwithFilterChipfor title filtering - Adjusted layout and styling to support new search and filter components
- Added
-
Navigation Logging
- Added properties to control logging of gestures, pages, modals, and other navigation types
- Updated
didPush,didReplace,didPop,didRemove, anddidStartUserGesturemethods - Introduced
validatemethod to determine if a route should be logged based on its type - Enhanced log messages with detailed route and argument information
Styling & Optimization #
- Improved consistency in terminology and formatting
- Streamlined descriptions for clarity and brevity
3.0.1 #
Fixed #
- Added
DraggablePanelControllertoISpectBuilderfor controlling the panel- See the example project for implementation details
3.0.0 #
BREAKING CHANGES #
-
Forked the
Talkerpackage (where I'm actively contributing) and added it toISpectasISpectify- This was done to ease usage and reduce external dependencies
- You can now use
ISpectifyto log all application actions
-
Separated main functions into different packages:
ispect_ai- For usingAIas a log reporter and log description generator (useful for managers and testers)ispect_jira- For usingJirato create tickets directly in the applicationispect_device- For getting device data and related informationispectify_http- For loggingHTTPrequestsispectify_dio- For loggingDiorequestsispectify_bloc- ForBLoClogging
Please see usage examples in the respective packages or in
ispect/exampleFor questions, contact:yelamanyelmuratov@gmail.com
2.0.8 #
Changed #
- Removed
ISpectPanelButtonandISpectPanelItemand replaced with Records - Separated
DraggablePanelinto its own package: draggable_panel
2.0.7 #
Breaking Changes #
- Jira and AI tools are now separate packages:
- Jira: ispect_jira
See usage examples in ispect_ai/example - ISpect AI: ispect_ai
See usage examples in ispect_jira/example
- Jira: ispect_jira
2.0.5 #
Added #
- Support to view MultiPart request and response in the Detailed HTTP Logs page (HTTP package)
2.0.0 #
Fixed #
- No Navigator in context when navigatorKey is not provided
- Panel height factor calculation
1.9.8 #
1.9.6 #
1.9.5 #
Added #
-
New logging method:
ISpect.trackfor custom analytics events (Amplitude, Firebase, etc.) -
Ability to change log colors and custom log icons
Example: (SuccessLog is your custom log)
theme: ISpectTheme( logColors: { SuccessLog.logKey: const Color(0xFF880E4F), }, logIcons: { ISpectifyLogType.route.key: Icons.router_rounded, SuccessLog.logKey: Icons.check_circle_rounded, }, ), -
Google AI integration for generating log descriptions and reports
Changed #
ISpectreplaced withISpect- UseISpectfor all logging purposes Example:ISpect.debug('Hello, ISpect!')->ISpect.debug('Hello, ISpect!')
1.9.3 #
Added #
- New option in
ISpectOptions:panelButtonsto add custom buttons to the panel - New options for NavigatorObserver:
isLogPages- Toggle logging of page changesisLogModals- Toggle logging of modal changesisLogOtherTypes- Toggle logging of other change types
isFlutterPrintEnabledoption in ISpect.run to enable/disable Flutter print handler
1.8.9 #
UI Updates #
- Improved color picker
- Updated light log colors
- Revised ISpect page layout
- Combined actions and settings
- Various minor visual enhancements
1.7.2 #
1.7.1 #
Added #
- Updated Feedback builder for sending developer feedback
- Fixed localization issues when using Navigator inside Feedback
1.7.0 #
1.6.3 #
Changed #
- Implemented print handler
- Moved ISpect's initialization to the ISpect's run method (See example project for implementation details)
1.5.7 #
1.5.5 #
Fixed #
- Issues with Draggable button
- Enable ISpect in release builds: manage conditions with
isISpectEnabled
1.4.8 #
Changed #
- Removed shared preference (incompatible with shrink)
- Added parameters to ISpectBuilder for Draggable button customization
1.4.4 #
Added #
- New parameter
actionItemsinISpectOptionsfor adding custom actions to ISpect page's actions sheet
1.4.3 #
1.4.2 #
Improved #
- Draggable button functionality with new maximum reverse point
- Added localization for Detailed HTTP Logs page
- Minor updates to Detailed HTTP Logs page
1.3.1 #
Improved #
- Refactored and optimized code
- Draggable button position now saved in cache
- Updated
analysis_options.yamlfile - Updated
README.mdfile
1.2.7 #
Added #
- More customization options for
ISpect.initHandling- Configure BLoC, Dispatcher error handling, and more during initialization
1.2.4 #
Added #
- New options for
ISpectifydetailed monitor page: reverse all logs and toggle expansion - Moved performance tracker to
Draggablebutton (removed from settings sheet)
1.2.3 #
Changed #
navigatorContextno longer required for ISpectBuilder- To use Draggable button inside ISpectScreen, pass the key (not available by default)