Skip to content

feat(v11): Drop TypeScript 3.8 support#18604

Draft
logaretm wants to merge 1 commit into
awad/nuxt-inhouse-buildfrom
awad/js-1293-drop-typescript-38-support
Draft

feat(v11): Drop TypeScript 3.8 support#18604
logaretm wants to merge 1 commit into
awad/nuxt-inhouse-buildfrom
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.6 kB - -
@sentry/browser - with treeshaking flags 26.04 kB - -
@sentry/browser (incl. Tracing) 46.35 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.14 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.13 kB - -
@sentry/browser (incl. Tracing, Replay) 85.62 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.26 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.33 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 102.99 kB - -
@sentry/browser (incl. Feedback) 44.78 kB - -
@sentry/browser (incl. sendFeedback) 32.4 kB - -
@sentry/browser (incl. FeedbackAsync) 37.53 kB - -
@sentry/browser (incl. Metrics) 28.68 kB - -
@sentry/browser (incl. Logs) 28.93 kB - -
@sentry/browser (incl. Metrics & Logs) 29.61 kB - -
@sentry/react 29.39 kB - -
@sentry/react (incl. Tracing) 48.62 kB - -
@sentry/vue 33.03 kB - -
@sentry/vue (incl. Tracing) 48.33 kB - -
@sentry/svelte 27.63 kB - -
CDN Bundle 30 kB - -
CDN Bundle (incl. Tracing) 48.33 kB - -
CDN Bundle (incl. Logs, Metrics) 31.58 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.65 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.82 kB - -
CDN Bundle (incl. Tracing, Replay) 85.84 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.16 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.64 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.92 kB - -
CDN Bundle - uncompressed 89.33 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.07 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.03 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.05 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 218.76 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.28 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 269.24 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 278.98 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 282.93 kB - -
@sentry/nextjs (client) 51.17 kB - -
@sentry/sveltekit (client) 46.8 kB - -
@sentry/core/server 78.42 kB - -
@sentry/core/browser 64.77 kB - -
@sentry/node-core 62.73 kB - -
@sentry/node 125.35 kB - -
@sentry/node (incl. diagnostics channel injection) 139.63 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 69.96 kB - -
@sentry/node/light 50.73 kB - -
@sentry/node - without tracing 74.04 kB - -
@sentry/aws-serverless 83.26 kB +0.01% +2 B 🔺
@sentry/cloudflare (withSentry) - minified 181.47 kB - -
@sentry/cloudflare (withSentry) 448.98 kB - -

View base workflow run

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/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 from 21ebf07 to e2e63ad Compare July 11, 2026 00:56
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

1 participant