Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade sentry from 5.x to 9.x #6450

Merged
merged 1 commit into from
Mar 11, 2025
Merged

Upgrade sentry from 5.x to 9.x #6450

merged 1 commit into from
Mar 11, 2025

Conversation

antico5
Copy link
Contributor

@antico5 antico5 commented Mar 5, 2025

Followed the following migration guides:

Concrete changes:

  • Update usage of integrations using the new API
  • Rework our custom transport to use Envelope (TransportRequest) instead of Event, since it was deprecated in 7.x. I tried to leave the existing logic untouched by just extracting the Event within the Envelope.
  • Added an integration for ContextLines since they are not provided by default on events anymore

Closes #6381

Copy link

changeset-bot bot commented Mar 5, 2025

🦋 Changeset detected

Latest commit: 7ea2483

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
hardhat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Mar 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 8:08pm

Copy link
Contributor

github-actions bot commented Mar 5, 2025

hardhat

Total size of the bundle: 242M
Total number of dependencies (including transitive): 108

List of dependencies (sorted by size)
237M	total
29M	@ignored/edr-optimism-linux-x64-musl
29M	@ignored/edr-optimism-linux-x64-gnu
26M	@ignored/edr-optimism-linux-arm64-musl
26M	@ignored/edr-optimism-linux-arm64-gnu
22M	@ignored/edr-optimism-win32-x64-msvc
20M	esbuild
20M	@ignored/edr-optimism-darwin-x64
19M	@ignored/edr-optimism-darwin-arm64
7.0M	@opentelemetry/semantic-conventions
5.8M	@sentry/core
3.8M	@sentry/node
3.1M	@opentelemetry/api
2.5M	micro-eth-signer
2.3M	@opentelemetry/core
1.9M	@opentelemetry/resources
1.9M	@noble/curves
1.7M	undici
1.6M	@opentelemetry/sdk-trace-base
1.2M	@noble/hashes
956K	@opentelemetry/instrumentation
864K	@sentry/opentelemetry
856K	zod
844K	@nomicfoundation/hardhat-utils
760K	@opentelemetry/api-logs
676K	import-in-the-middle
624K	resolve
624K	micro-packed
576K	tsx
572K	acorn
544K	fast-equals
492K	@scure/bip39
368K	ethereum-cryptography
352K	@nomicfoundation/hardhat-errors
336K	@ignored/edr
320K	enquirer
312K	pg-protocol
300K	@opentelemetry/instrumentation-http
288K	semver
280K	@ignored/edr-optimism
224K	@opentelemetry/instrumentation-pg
212K	@opentelemetry/instrumentation-graphql
200K	undici-types
196K	ws
188K	@opentelemetry/instrumentation-mongodb
180K	@opentelemetry/instrumentation-undici
176K	@opentelemetry/instrumentation-express
172K	@opentelemetry/instrumentation-amqplib
168K	@scure/base
164K	cjs-module-lexer
160K	@opentelemetry/instrumentation-fastify
156K	@opentelemetry/instrumentation-hapi
148K	@opentelemetry/instrumentation-redis-4
148K	@opentelemetry/instrumentation-mysql
144K	@opentelemetry/instrumentation-fs
136K	get-tsconfig
136K	adm-zip
136K	@opentelemetry/instrumentation-koa
132K	@opentelemetry/instrumentation-knex
124K	@opentelemetry/instrumentation-mongoose
124K	@opentelemetry/instrumentation-ioredis
120K	@opentelemetry/instrumentation-mysql2
120K	@opentelemetry/instrumentation-connect
116K	@opentelemetry/instrumentation-kafkajs
112K	@opentelemetry/instrumentation-tedious
112K	@opentelemetry/context-async-hooks
96K	@scure/bip32
96K	@opentelemetry/instrumentation-dataloader
92K	chalk
88K	@prisma/instrumentation
80K	@opentelemetry/instrumentation-generic-pool
76K	pg-types
72K	@nomicfoundation/solidity-analyzer
68K	debug
68K	@opentelemetry/sql-common
68K	@opentelemetry/instrumentation-lru-memoizer
60K	acorn-import-attributes
60K	@opentelemetry/redis-common
60K	@nomicfoundation/hardhat-zod-utils
56K	rfdc
56K	is-core-module
56K	function-bind
52K	@types/tedious
48K	shimmer
48K	ansi-colors
44K	resolve.exports
40K	resolve-pkg-maps
40K	require-in-the-middle
40K	forwarded-parse
40K	@types/mysql
36K	supports-preserve-symlinks-flag
36K	p-map
36K	@types/pg
32K	hasown
28K	xtend
24K	strip-ansi
24K	postgres-interval
24K	postgres-array
24K	module-details-from-path
24K	env-paths
24K	ansi-regex
20K	postgres-date
20K	postgres-bytea
20K	pg-int8
20K	path-parse
20K	ms
20K	@types/shimmer
20K	@types/pg-pool
20K	@types/connect

Copy link
Contributor

@ChristopherDedominici ChristopherDedominici left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@antico5 antico5 added this pull request to the merge queue Mar 11, 2025
Merged via the queue into v-next with commit 52fbf8c Mar 11, 2025
119 checks passed
@antico5 antico5 deleted the update-sentry-version branch March 11, 2025 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants