Skip to content

feat(v11): Drop TypeScript 3.8 support#18604

Merged
logaretm merged 1 commit into
developfrom
awad/js-1293-drop-typescript-38-support
Jul 21, 2026
Merged

feat(v11): Drop TypeScript 3.8 support#18604
logaretm merged 1 commit into
developfrom
awad/js-1293-drop-typescript-38-support

Conversation

@logaretm

@logaretm logaretm commented Dec 22, 2025

Copy link
Copy Markdown
Member

Summary

Removes support for generating and publishing TypeScript 3.8 downleveled type definitions across all packages.

The changes simplify the build process by eliminating scripts, dependencies, and configuration related to downleveling types, and update test and project configuration accordingly.

closes #18477

TODO:

  • Remove all downlevel scripts
  • Remove all related type declarations in package.json
  • Update and Removed vendored types specific to 3.8
  • Target a new minimum TS version > 4.0
  • Update TS.38 tests to use the new minimum version

⚠️ Will be parked until v11 is ready to go ⚠️

@linear

linear Bot commented Dec 22, 2025

Copy link
Copy Markdown

@logaretm logaretm linked an issue Dec 22, 2025 that may be closed by this pull request
@github-actions

github-actions Bot commented Dec 22, 2025

Copy link
Copy Markdown
Contributor

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 9,285 - 11,145 -17%
GET With Sentry 1,696 18% 1,889 -10%
GET With Sentry (error only) 5,741 62% 7,659 -25%
POST Baseline 1,194 - 1,171 +2%
POST With Sentry 593 50% 582 +2%
POST With Sentry (error only) 1,009 85% 1,039 -3%
MYSQL Baseline 3,215 - 4,024 -20%
MYSQL With Sentry 494 15% 600 -18%
MYSQL With Sentry (error only) 2,717 85% 3,153 -14%

View base workflow run

@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch 2 times, most recently from 424934f to dea5658 Compare December 23, 2025 13:02
@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch 2 times, most recently from bf9dfc3 to f8824a4 Compare December 24, 2025 12:50
@logaretm logaretm added this to the 11.0.0 milestone Jan 7, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you apply the label PR: no-auto-close I will leave it alone ... forever!

@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch from 0ccb9a1 to fb2b2d8 Compare July 10, 2026 18:37
@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch 2 times, most recently from 410a72f to bc07973 Compare July 10, 2026 18:56
@logaretm
logaretm changed the base branch from develop to awad/nuxt-inhouse-build July 10, 2026 19:01
@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch from bc07973 to 21ebf07 Compare July 10, 2026 19:01
@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.76 kB - -
@sentry/browser - with treeshaking flags 26.2 kB - -
@sentry/browser (incl. Tracing) 46.59 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.4 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.39 kB - -
@sentry/browser (incl. Tracing, Replay) 85.83 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.47 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.56 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 103.22 kB - -
@sentry/browser (incl. Feedback) 44.95 kB - -
@sentry/browser (incl. sendFeedback) 32.56 kB - -
@sentry/browser (incl. FeedbackAsync) 37.69 kB - -
@sentry/browser (incl. Metrics) 28.84 kB - -
@sentry/browser (incl. Logs) 29.06 kB - -
@sentry/browser (incl. Metrics & Logs) 29.76 kB - -
@sentry/react 29.55 kB - -
@sentry/react (incl. Tracing) 48.87 kB - -
@sentry/vue 33.18 kB - -
@sentry/vue (incl. Tracing) 48.56 kB - -
@sentry/svelte 27.78 kB - -
CDN Bundle 30.16 kB - -
CDN Bundle (incl. Tracing) 48.56 kB - -
CDN Bundle (incl. Logs, Metrics) 31.74 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.86 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 71 kB - -
CDN Bundle (incl. Tracing, Replay) 86.06 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.38 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.87 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 93.13 kB - -
CDN Bundle - uncompressed 89.89 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.77 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.6 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.75 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.36 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.01 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 269.97 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.71 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 283.66 kB - -
@sentry/nextjs (client) 51.38 kB - -
@sentry/sveltekit (client) 47 kB - -
@sentry/core/server 80.3 kB - -
@sentry/core/browser 66.71 kB - -
@sentry/node-core 63.21 kB -0.01% -1 B 🔽
@sentry/node 125.04 kB -0.01% -1 B 🔽
@sentry/node (incl. diagnostics channel injection) 150.51 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 70.03 kB - -
@sentry/node/light 51.33 kB -0.01% -1 B 🔽
@sentry/node - without tracing 74.91 kB -0.01% -1 B 🔽
@sentry/aws-serverless 84.16 kB - -
@sentry/cloudflare (withSentry) - minified 197.75 kB - -
@sentry/cloudflare (withSentry) 486.73 kB - -

View base workflow run

@logaretm
logaretm force-pushed the awad/nuxt-inhouse-build branch from b48cbc7 to 18271b3 Compare July 11, 2026 00:56
@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch 2 times, most recently from e2e63ad to b4b2d6c Compare July 11, 2026 02:45
@logaretm logaretm modified the milestone: 11.0.0 Jul 11, 2026
@logaretm
logaretm force-pushed the awad/nuxt-inhouse-build branch 2 times, most recently from 24b41c9 to 3131d3e Compare July 13, 2026 14:31
@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch from b4b2d6c to 0b68598 Compare July 13, 2026 14:31
Base automatically changed from awad/nuxt-inhouse-build to develop July 13, 2026 15:16
@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch from 0b68598 to e97c2ad Compare July 13, 2026 15:16
@logaretm
logaretm marked this pull request as ready for review July 21, 2026 13:52
@logaretm
logaretm requested review from a team as code owners July 21, 2026 13:52
@logaretm
logaretm requested review from JPeer264, Lms24, chargome, isaacs, msonnb and nicohrubec and removed request for a team July 21, 2026 13:52

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e97c2ad. Configure here.

},
"volta": {
"extends": "../../package.json"
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Esbuild override removed accidentally

Medium Severity

Cleaning up the TS 3.8 sentryTest variants also dropped the unrelated pnpm.overrides pin for esbuild at 0.24.0. That pin is a bundler constraint, not TypeScript downlevel support, and similar apps such as astro-5 still keep it. Losing it can make these Vite E2E installs resolve a different esbuild and break test:build.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e97c2ad. Configure here.

Comment thread packages/core/package.json
@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch 2 times, most recently from 7e8b35b to 254056d Compare July 21, 2026 14:12
@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch 2 times, most recently from 53fe796 to 0ee945d Compare July 21, 2026 16:46
Minimum supported TypeScript is now 5.0, so remove the downlevel-dts
type path and the TS 3.8 test surface:
- drop each package's typesVersions "<5.0" mapping and the
  build:types:downlevel step (build:types is just tsc now)
- remove downlevel-dts and the ts3.8 shim scripts/type-shims
- bump the node integration-test TS matrix to 5.0 (use-ts-5_0)
- drop the TS 3.8 e2e variants and the generic-ts3.8 app
- use the built-in Awaited type instead of the vendored shim
@logaretm
logaretm force-pushed the awad/js-1293-drop-typescript-38-support branch from 0ee945d to 30858f5 Compare July 21, 2026 17:46
@logaretm
logaretm merged commit edc87d3 into develop Jul 21, 2026
302 checks passed
@logaretm
logaretm deleted the awad/js-1293-drop-typescript-38-support branch July 21, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop TypeScript 3.8 support

2 participants