trace/contrib/* moved from being bundled in the root SDK module to separate Go modules. Your source code and import paths don’t change.
Follow the steps below to update your dependencies for the new module structure.
Install the integration modules you use
Previously, the root SDK module bundled all Or, to install all integrations at once, use the
trace/contrib/* packages. Now each one is its own Go module, so you must explicitly go get the ones your app imports:trace/contrib/all meta-module (this also includes LangChainGo, which is new in v0.4.0):Verify your build config
Your existing
trace/contrib/* import paths work exactly as before — no source code changes are needed.If you use Orchestrion for auto-instrumentation, make sure your orchestrion.tool.go imports trace/contrib/all or each individual integration module:#skip-compile
Rebuild and verify
Run
go build ./... (or orchestrion go build if you use Orchestrion) and confirm your traced integrations still appear in Braintrust.For more detail on what changed in v0.4.0, see the GitHub release notes.