SDKs 0.2.0: the packages take Logfire Fleet's names

Merged
ST
1mo ago
+6268-6245

Requested by Bill · project thread

What

Every SDK package moves to a Logfire Fleet name for sdk/v0.2.0. The 0.1.x names get no new versions and will be archived, with no shims.

Registry0.1.x0.2.0
PyPIpydantic-opamp-core, pydantic-opamp-client, pydantic-opamp-otellogfire-fleet-core, logfire-fleet-client, logfire-fleet-otel
Python importspydantic_opamp_client, pydantic_opamp_otellogfire_fleet_client, logfire_fleet_otel
npm@pydantic/opamp-client, @pydantic/opamp-otel@pydantic/logfire-fleet-client, @pydantic/logfire-fleet-otel
Maven Centraldev.pydantic:opamp-client, dev.pydantic:opamp-javaagent-extensiondev.pydantic:logfire-fleet-client, dev.pydantic:logfire-fleet-javaagent-extension
Java packagesdev.pydantic.opamp.*dev.pydantic.logfire.fleet.*
NuGet and namespacesPydantic.OpAmp.*, AddPydanticOpAmp()Logfire.Fleet.*, AddLogfireFleet()

Some names stay as they are:

  • The Python entry points keep opamp, so OTEL_PYTHON_DISTRO=opamp still works.
  • The Go module paths keep their names.
  • The logfire.opamp.* agent-description attributes keep their names.
  • The Supervisor's packages, paths and service names (pydantic-opamp-supervisor, /etc/pydantic-opamp, the pydantic-opamp user) are unchanged. They are installed on hosts, so renaming them needs an upgrade path, which will be its own change.

How it was done:

  • A scripted find-and-replace and git mv of 243 paths. The CHANGELOG's history is left alone.
  • registries.yml, sdk_release.py, the conformance drivers, examples, skills and every README and guide follow the new names. Pinned doc versions move to 0.2.0.
  • The clients lock core 0.16.0, whose java_package and csharp_namespace take the same names. The generated types (Go, TypeScript, Python, Java and C#) are regenerated from it with protoc 34.1.
  • The conformance runner accepts a logfire-fleet/<version> User-Agent as well as pydantic-opamp/<version>, so a later core can move its User-Agent.
  • CHANGELOG: the unreleased SDKs 0.1.2 section becomes SDKs 0.2.0, with the rename under Breaking.

#125 (the 0.1.2 lock and changelog) is merged into this branch.

Checks

CI, the registry dry runs and the nightly suite are green on the head. Locally, against the regenerated types:

  • Python client: 1252 passed, 2 skipped. Python otel: 600 passed.
  • Node.js client: 191 pass. Node.js otel: 165 pass.
  • Java client (every non-Fray test) and the Java agent extension's mvn package with tests: pass.
  • .NET Client.Tests: 806, of which 802 passed and 4 were skipped. Extensions.Hosting.Tests: 164 passed. AutoInstrumentation.Tests: 388 passed. All on net8.0 and net10.0.
  • Go: go build ./... and the core and settings tests in go/opamp pass.
  • scripts/test_*.py and conformance/runner/test_checks.py pass, and public_check.py is clean.

After merge

Merging publishes nothing. Tag sdk/v0.2.0 (maintainer only) once the new names are set up on PyPI and npm.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RQmH27VxEeWqYVbiWPCTNA