|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
| 3 | +## 2025-03-08 - 0.0.3 |
| 4 | + |
| 5 | +### Logger Improvements |
| 6 | +- Optimized the `_logged_messages` collection by replacing the set with a fixed-size deque |
| 7 | +- This change improves memory management by automatically removing oldest entries when the collection is full |
| 8 | +- Eliminates the need to clear the entire collection, providing more consistent duplicate prevention |
| 9 | +- Consolidated duplicate code by extracting common logic into helper functions: |
| 10 | + - Added `is_test_environment()` to determine if running in a test environment |
| 11 | + - Added `is_internal_frame()` to identify frames that should be skipped |
| 12 | + - Added `should_skip_message()` to centralize message filtering logic |
| 13 | + - Added `is_setup_or_init()` to identify setup and initialization functions |
| 14 | +- Improved caller identification to ensure log messages show the actual caller |
| 15 | +- Enhanced message filtering to ensure important redirection messages are always logged |
| 16 | + |
| 17 | +### Test Framework Improvements |
| 18 | +- Created a robust test framework with a `PrefixedTestCase` class in `test_utils.py` |
| 19 | +- Fixed test discovery and execution to ensure consistent environment variables |
| 20 | +- Improved logging during tests with better context and error handling |
| 21 | +- Enhanced expected output file management for more reliable test results |
| 22 | +- Fixed issues with program name consistency in log messages during tests |
| 23 | + |
| 24 | +## 2025-03-03 - 0.0.2 |
| 25 | + |
| 26 | +### Logging System Improvements |
| 27 | +- Modularized logging: Moved logging functionality into its own module (`TDLogger.py`) |
| 28 | +- Simplified logging interface: |
| 29 | + - Removed verbosity levels (LOG_VERBOSITY) in favor of a simpler on/off approach |
| 30 | + - Eliminated different message classes (warning, info, error) for a more streamlined logging experience |
| 31 | + - Consolidated all logging to use a single `log_message` function as the primary entry point |
| 32 | + - Removed redundant `log` function since the project hasn't been publicly released yet |
| 33 | +- Improved caller tracking for more accurate log messages |
| 34 | +- Optimized memory usage by limiting the size of the logged messages cache |
| 35 | +- Enhanced test suite with expected output validation |
| 36 | + |
3 | 37 | ## 2024-12-30 - 0.0.1
|
4 | 38 |
|
5 | 39 | - Added note regarding building NumPy for Apple silicon.
|
|
0 commit comments