chore: upgrade OpenTelemetry to 2.x#180
Merged
mattpodwysocki merged 19 commits intomainfrom Apr 14, 2026
Merged
Conversation
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>
zmofei
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@opentelemetry/resourcesand@opentelemetry/sdk-trace-basefrom^1.30.1to^2.6.1(stable 2.x)sdk-node,instrumentation,exporter-trace-otlp-http) from^0.56.0to^0.214.0(aligned with 2.x)auto-instrumentations-nodefrom^0.56.0to^0.72.0semantic-conventionsfrom^1.30.1to^1.40.0new Resource({...})→resourceFromAttributes({...})insrc/utils/tracing.ts— theResourceclass was removed in 2.xTest plan
npm run buildpassesnpm test— 719 tests pass🤖 Generated with Claude Code