Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d273046

Browse files
andreiborzaonurtemizkan
andauthoredMay 12, 2025··
feat(opentelemetry): Widen peer dependencies to support Otel v2 (#16246)
In preparation for supporting OpenTelemetry v2 we widened the peer dependency range of `@sentry/opentelemetry` to allow v2 dependencies. **Note**: `@sentry/node` still requires the v1 packages of OpenTelemetry, this is just preparatory work to allow us to bump this down the road. Parts of `@sentry/opentelemetry` (and `@sentry/core`) have been reworked to be compatible with both OpenTelemetry v1 and v2. Unit tests in `@sentry/opentelemetry` are running with v1 dependencies while a new package was added to `dev-packages/` with a copy of all unit tests from `@sentry/opentelemetry` to run with v2 dependencies, adjusted to breaking changes introduced with OpenTelemetry v2. --------- Co-authored-by: Onur Temizkan <[email protected]>
1 parent 9d659a5 commit d273046

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+6844
-27
lines changed
 

‎.size-limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = [
5454
path: 'packages/browser/build/npm/esm/index.js',
5555
import: createImport('init', 'browserTracingIntegration', 'replayIntegration'),
5656
gzip: true,
57-
limit: '70 KB',
57+
limit: '70.1 KB',
5858
modifyWebpackConfig: function (config) {
5959
const webpack = require('webpack');
6060
const TerserPlugin = require('terser-webpack-plugin');
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
env: {
3+
node: true,
4+
},
5+
extends: ['../../.eslintrc.js'],
6+
};

0 commit comments

Comments
 (0)
Please sign in to comment.