Releases: AInvirion/ptelemetry-python-sdk
Releases · AInvirion/ptelemetry-python-sdk
v0.2.2
v0.2.1
Changed
- Updated LICENSE to simplified MIT format
- Removed development git hooks setup
- Cleaned up README formatting and removed badge icons
- Added Requirements section to getting-started docs
v0.2.0: Session Tracking
What's New
Session Tracking for Funnel Analysis
This release adds automatic session tracking to enable accurate per-session funnel analysis:
- Session ID: Each
Telemetryinstance now generates a uniquesession_id - Every event includes the
session_idautomatically - Per-execution isolation: Each CLI/tool run creates a separate session
This enables product teams to track user journeys accurately, even when the same client_id appears across multiple tool invocations.
Full Changelog
See CHANGELOG.md for details.
v0.1.4
What's Changed
Fixed
- Critical: Added file lock to prevent race condition in offline persistence
- Critical: Copy properties dict to prevent mutation affecting queued events
- Security: Config directory now created with 0o700 permissions
- GDPR:
request_deletion()now clears offline events and in-memory queue - Graceful fallback when config directory is unavailable (read-only HOME)
- Queue now drops oldest events when full instead of silently rejecting new ones
- Fixed docstring with correct default API URL
Full Changelog: v0.1.3...v0.1.4
v0.1.3
What's Changed
Added
- Offline persistence: Events are now saved to disk when network is unavailable
- Automatic sync when connectivity is restored on next SDK initialization
- Events trimmed to most recent 1000 when exceeding limit
- Silent operation - no noise to end users (debug logging only)
Full Changelog: v0.1.2...v0.1.3
v0.1.2
What's Changed
Fixed
- Critical: Fixed API endpoint paths (removed duplicate
/apiprefix) - Updated default API URL to
https://producttelemetry.com/api - Verified working with production server
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
Fixed
- Critical: Fixed Python 3.9/3.10 compatibility by replacing
datetime.UTCwithtimezone.utc - Critical: Fixed
error()method to properly capture stack traces usingtraceback.format_exception() - Security: Added path traversal protection for
project_slugparameter - Security: Opt-out config now fails closed - malformed config disables telemetry (privacy-first)
Changed
- Removed accidentally committed
.pycbytecode files - Updated
.gitignorewith Python-specific patterns - Bumped
actions/checkoutfrom v4 to v6 in CI workflows
Full Changelog: v0.1.0...v0.1.1