Change8

v1.34.0

Breaking Changes
📦 opentelemetry
2 breaking2 features🐛 1 fixes1 deprecations🔧 3 symbols

Summary

This release drops support for Python 3.8, updates type checking mechanisms, and includes refactoring in log and span processors along with a fix for a shutdown recursion error.

⚠️ Breaking Changes

  • Support for Python 3.8 has been dropped. Users must upgrade to Python 3.9 or newer.
  • Mypy type checking support has been dropped in favor of using sdk/resources for type checking.

Migration Steps

  1. Ensure your environment uses Python 3.9 or newer, as Python 3.8 is no longer supported.
  2. If you relied on mypy checks, note that they have been replaced by checks within sdk/resources.

✨ New Features

  • Added configurable max retry timeout for the gRPC exporter.
  • Added explicit bucket boundary assertion support in histogram metrics within opentelemetry-test-utils.

🐛 Bug Fixes

  • Removed log messages from BatchLogRecordProcessor.emit which previously caused a crash with a max recursion error during shutdown.

🔧 Affected Symbols

BatchLogRecordProcessorBatchSpanProcessorBatchLogRecordProcessor.emit

⚡ Deprecations

  • Deprecations are now marked using PEP702 standards.