Skip to content

Releases: AInvirion/ptelemetry-python-sdk

v0.2.2

14 Apr 20:39

Choose a tag to compare

What's Changed

  • Add ingest_key parameter as alias for write_key (preferred)
  • Add OPS_INGEST_KEY env var (preferred over OPS_WRITE_KEY)
  • Maintains full backwards compatibility

v0.2.1

09 Apr 21:20

Choose a tag to compare

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

09 Apr 03:21

Choose a tag to compare

What's New

Session Tracking for Funnel Analysis

This release adds automatic session tracking to enable accurate per-session funnel analysis:

  • Session ID: Each Telemetry instance now generates a unique session_id
  • Every event includes the session_id automatically
  • 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

08 Apr 23:04

Choose a tag to compare

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

08 Apr 22:56

Choose a tag to compare

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

08 Apr 22:26

Choose a tag to compare

What's Changed

Fixed

  • Critical: Fixed API endpoint paths (removed duplicate /api prefix)
  • 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

08 Apr 22:18

Choose a tag to compare

What's Changed

Fixed

  • Critical: Fixed Python 3.9/3.10 compatibility by replacing datetime.UTC with timezone.utc
  • Critical: Fixed error() method to properly capture stack traces using traceback.format_exception()
  • Security: Added path traversal protection for project_slug parameter
  • Security: Opt-out config now fails closed - malformed config disables telemetry (privacy-first)

Changed

  • Removed accidentally committed .pyc bytecode files
  • Updated .gitignore with Python-specific patterns
  • Bumped actions/checkout from v4 to v6 in CI workflows

Full Changelog: v0.1.0...v0.1.1