Releases
v2.1.0
Compare
Sorry, something went wrong.
No results found
Release Notes v2.1.0
π New Features
OpenTelemetry Integration
Added OpenTelemetry support for monitoring and tracing
Automatic span creation for SendGrid operations
HTTP metrics tracking (status codes, content length, URLs)
SendGrid metrics (attachments, recipients)
Error Handling
Improved session management with better error messages
Enhanced exception handling with detailed error information
π§ Improvements
Code Quality
Added comprehensive type hints
Improved docstrings and documentation
Enhanced test coverage
Better session management
Testing
Added telemetry test fixtures
New integration tests for telemetry
Unit tests for metrics
Better test organization
π Bug Fixes
Fixed session management issues
Improved error handling for closed sessions
Fixed type hints in telemetry decorators
Fixed span creation and management
π¦ Dependencies
Added
opentelemetry-api>=1.20.0
opentelemetry-sdk>=1.20.0
Updated
pytest>=7.0.0
pytest-asyncio>=0.21.0
pytest-cov>=4.1.0
π Configuration
Environment Variables
SENDGRID_TELEMETRY_IS_ENABLED: Enable/disable telemetry (default: true)
SENDGRID_TELEMETRY_SPAN_NAME: Custom span name (default: "sendgrid.send")
π Documentation
Added
Telemetry integration guide
OpenTelemetry setup instructions
Metrics and tracing examples
API reference for telemetry
Updated
README with new features
API documentation
Error handling documentation
You canβt perform that action at this time.