github latitude-dev/latitude-llm python-telemetry-3.0.0a8
Python Telemetry v3.0.0a8

pre-release7 hours ago

Changed

  • Renamed project_slugproject on the Latitude constructor, init_latitude(), and capture() options. The Slug suffix leaked an internal database concept into the SDK surface. Affects:
    • Latitude(api_key=..., project=...)
    • init_latitude(api_key=..., project=...)
    • capture("name", fn, {"project": ...})

Deprecated

  • project_slug on both the constructor and capture() options still works but logs a one-time logging.warning and will be removed in a future release. When both project and project_slug are passed, project wins.

Migration

- Latitude(api_key=..., project_slug="my-project")
+ Latitude(api_key=..., project="my-project")

- capture("run", fn, {"project_slug": "evaluations"})
+ capture("run", fn, {"project": "evaluations"})

The X-Latitude-Project HTTP header name, the latitude.project span attribute, and the LATITUDE_PROJECT_SLUG environment variable convention are all unchanged — they're independent of the SDK option name.

Don't miss a new latitude-llm release

NewReleases is sending notifications on new releases.