Release Notes — v1.5.1¶
Release Date: August 15, 2026
Tag: v1.5.1
PyPI Package Version: 1.5.1
Overview¶
EcoTrace v1.5.1 is a stability and telemetry compatibility patch release following v1.5.0. It resolves a Windows COM thread initialization crash in exporter background threads, restores full parameter forwarding (run_id, run_label) to CloudExporter for web dashboard filtering, standardizes exporter method signatures, and prevents eager circular imports.
Key Improvements & Fixes in v1.5.1¶
1. Windows COM Thread Pool Initialization Guard (core.py)¶
- Prevented Windows Fatal Exception (
0x800401f0): Wrapped worker thread execution in_dispatch_exporterswithCoInitialize/CoUninitializeguards on Windows, preventing background COM crashes during exporter execution and garbage collection.
2. Full Parameter Forwarding for CloudExporter (core.py & cloud.py)¶
- Dashboard Run Filtering Fixed: Exporter dispatch now forwards
run_idandrun_labelparameters to registered exporters, enabling the hosted dashboard session filtering engine. - Dynamic User-Agent Header: Updated
CloudExporterHTTP headers to resolve current package version dynamically.
3. Exporter Signature Consistency & Forward Compatibility¶
- Added
**kwargssupport toCloudExporter,OTelExporter, andWebhookExportersignatures to guarantee compatibility across past and future core engine versions.
4. Dynamic Exporter Module Lazy Loading (exporters/__init__.py)¶
- Implemented module-level
__getattr__lazy loading inecotrace.exportersto prevent eager imports and potential circular import dependencies.
5. Logger Level Alignment (logger.py)¶
- Restored
logging.WARNINGas default package log level acrossecotrace.loggerto align code behavior with documentation standards.
Verification & Test Suite¶
- 100% Test Pass Rate: All 99 independent unit tests passed cleanly (
99 passed in 83s). - Verified zero Windows COM exceptions during thread pool metric dispatch.