catching_josh 1.2.1
catching_josh: ^1.2.1 copied to clipboard
A Flutter package that makes try-catch operations elegant and customizable with clean error logging and flexible error handling options.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased] #
1.2.1 - 2025-09-04 #
Added #
- Dual Logging System:
JoshLogger(user-facing) +JoshLoggerInternal(internal batch) - Single Log Buffer:
JoshLogBufferfor efficient memory usage
Changed #
- Batch Logging: All handlers use
JoshLoggerInternalwith Core-controlled flushing - Production Optimization: Success logs disabled in production
Improved #
- Documentation: Clear comments explaining dual logging architecture
- Performance: Batch logging reduces console output overhead
1.2.0 - 2025-09-01 #
Changed #
- Simplified API: Removed complex ErrorHandleType enum and JoshException
- Streamlined Error Handling: Always return StandardResult/StandardResponse objects
- Unified Parameters: Consistent use of
logTitleparameter
Removed #
- ErrorHandleType Enum: Complex error handling strategies
- JoshException Class: Custom exception class
- Complex Error Logic: Simplified error handling
1.1.0 - 2025-08-28 #
Added #
- Enhanced Logging: Debug-mode only logging with
developer.log - Cache Management: Environment variable-based cache configuration
- Memory Monitoring: Accurate memory usage calculation
Improved #
- LogFormatter Performance: Enhanced caching system
- Error Handling: Better error logging with consistent format