Releases: rmartone/missionlog
Releases · rmartone/missionlog
v3.0.0
Breaking Change
- Unregistered Tags Are No Longer Automatically Added
Previously, using an unregistered tag would implicitly add it to the system.
New Behavior: Logs using unregistered tags will now default to the global level (DEFAULT_TAG) instead of being registered.
Migration: If you rely on dynamic tag creation, explicitly register your tags before logging.
🚀 New Features & Enhancements
- Console-Compatible Output
Improved logging format to be more compatible with standard console.log() behavior. - Optional Tagging System
Logging now works without requiring tags, allowing a simpler logging approach when desired.
🛠 Internal Improvements
- Refactored Default Logging Behavior
- Replaced hardcoded '*' wildcard with DEFAULT_TAG, improving maintainability and clarity in log filtering.
Updated Test Suite
- Ensured consistency by replacing hardcoded wildcard values with DEFAULT_TAG.
v2.0.1
Version 2.0
- ESM & CJS Support – Now works seamlessly with both ES Modules (ESM) and CommonJS (CJS).
- More Efficient Logging – Removed unnecessary internal error handling to improve performance.
- Improved Tag Handling – Optimized proxy behavior for dynamic tag registration.
- Better Config Defaults – Invalid log levels now correctly default to TRACE with a warning.