Repository navigation
0.1.4
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.
[0.1.4] - 2025-03-16
Added
- New
createTrackablemethod for creating tracked versions of functions - Improved nested function tracking with a simpler, more reliable approach
- Updated documentation with examples of nested function tracking
- New example file demonstrating nested function tracking
Changed
- Simplified the execution tracking implementation
- Removed the experimental proxy-based tracking approach
- Updated the README with clearer examples and documentation
[0.1.3] - 2025-03-16
Added
- Automatic tracking of nested function calls without manual instrumentation
- New
autoTrackingoption to control automatic function detection - Source code analysis to identify and track nested function calls
Enhanced
- Improved nested function detection with regex-based source code analysis
- Better handling of global scope functions in both Node.js and browser environments
[0.1.2] - 2025-03-16
Added
- Automatic tracking of nested function calls without manual instrumentation
- New
autoTrackingoption to control automatic function detection - Source code analysis to identify and track nested function calls
- Support for tracking nested function calls with two recommended approaches
- New
enableNestedTrackingoption inITrackOptionsinterface - Comprehensive documentation for nested function tracking in README
- Example script demonstrating different approaches to nested function tracking
Fixed
- Fixed issue with nested function calls not being properly tracked in execution flow
- Improved parent-child relationship tracking in execution records
- Enhanced flow chart visualization for nested function calls
[0.1.1] - 2025-03-16
Added
- Improved module compatibility for both CommonJS and ESM environments
- Added explicit CommonJS support in browser module
- Enhanced TypeScript configuration for better module interoperability
Changed
- Updated browser module to use CommonJS format for better compatibility
- Improved export structure to support both
require()andimportsyntax
Fixed
- Fixed module resolution issues in different JavaScript environments
- Resolved potential compatibility issues with older bundlers
[0.1.0] - 2025-03-16
Added
- Initial release of TracePerf
- Core logging functionality with
info(),warn(),error(), anddebug()methods - Execution flow tracking with ASCII visualization
- Performance monitoring with bottleneck detection
- Conditional logging modes (development, staging, production)
- Nested logging with group support
- Production optimization features
- Multiple output formats (CLI, JSON)
- Transport system for flexible output handling
- Comprehensive documentation and examples
- Browser support for frontend applications (React, Next.js)
- Comprehensive test suite with high coverage
Changed
- N/A (initial release)
Deprecated
- N/A (initial release)
Removed
- N/A (initial release)
Fixed
- N/A (initial release)
Security
- N/A (initial release)