Skip to content

chore: upgrade OpenTelemetry to 2.x#180

Merged
mattpodwysocki merged 19 commits intomainfrom
chore/upgrade-otel-2x
Apr 14, 2026
Merged

chore: upgrade OpenTelemetry to 2.x#180
mattpodwysocki merged 19 commits intomainfrom
chore/upgrade-otel-2x

Conversation

@mattpodwysocki
Copy link
Copy Markdown
Contributor

Summary

  • Upgrades @opentelemetry/resources and @opentelemetry/sdk-trace-base from ^1.30.1 to ^2.6.1 (stable 2.x)
  • Upgrades experimental packages (sdk-node, instrumentation, exporter-trace-otlp-http) from ^0.56.0 to ^0.214.0 (aligned with 2.x)
  • Upgrades auto-instrumentations-node from ^0.56.0 to ^0.72.0
  • Upgrades semantic-conventions from ^1.30.1 to ^1.40.0
  • Migrates new Resource({...})resourceFromAttributes({...}) in src/utils/tracing.ts — the Resource class was removed in 2.x

Test plan

  • npm run build passes
  • npm test — 719 tests pass
  • CI green

🤖 Generated with Claude Code

mattpodwysocki and others added 19 commits January 12, 2026 16:18
Implements MCP server icons at the correct architectural level (server
initialization) instead of at the tool level. Adds both light and dark
theme variants of the Mapbox logo using base64-encoded SVG data URIs.

- Add mapbox-logo-black.svg for light theme backgrounds
- Add mapbox-logo-white.svg for dark theme backgrounds
- Update server initialization to include icons array with theme property
- Use 800x180 SVG logos embedded as base64 data URIs

This replaces the previous incorrect approach of adding icons to
individual tools, which was not aligned with the MCP specification.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updates the MCP SDK from 1.25.1 to 1.25.2 and recreates the output
validation patch for the new version. The patch continues to convert
strict output schema validation errors to warnings, allowing tools
to gracefully handle schema mismatches.

Changes:
- Update @modelcontextprotocol/sdk from ^1.25.1 to ^1.25.2
- Recreate SDK patch for version 1.25.2
- Remove obsolete 1.25.1 patch file
- All 397 tests pass with new SDK version

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- @opentelemetry/resources: ^1.30.1 → ^2.6.1
- @opentelemetry/sdk-trace-base: ^1.30.1 → ^2.6.1
- @opentelemetry/sdk-node: ^0.56.0 → ^0.214.0
- @opentelemetry/instrumentation: ^0.56.0 → ^0.214.0
- @opentelemetry/exporter-trace-otlp-http: ^0.56.0 → ^0.214.0
- @opentelemetry/auto-instrumentations-node: ^0.56.0 → ^0.72.0
- @opentelemetry/semantic-conventions: ^1.30.1 → ^1.40.0
- @opentelemetry/api: ^1.9.0 → ^1.9.1

Migrates new Resource({...}) to resourceFromAttributes({...}) per the 2.x API change.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mattpodwysocki mattpodwysocki requested a review from a team as a code owner April 14, 2026 02:58
@mattpodwysocki mattpodwysocki merged commit 0c9477f into main Apr 14, 2026
5 checks passed
@mattpodwysocki mattpodwysocki deleted the chore/upgrade-otel-2x branch April 14, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants