open-telemetry / opentelemetry-js

OpenTelemetry JavaScript Client
https://opentelemetry.io
Apache License 2.0
2.64k stars 764 forks source link

Update Typescript #4870

Open dyladan opened 1 month ago

dyladan commented 1 month ago

Selected option 2

Option 1 - Update and downlevel types

  • [ ] Update typescript to latest 4.x version
  • [ ] Use downlevel-dts to downlevel types to 4.4 (previously supported version)
  • [ ] Use typesVersions so that old Typescript versions use 4.4 types
  • [ ] Add a test project to ensure that typescript 4.4 can compile using the updated otel dependencies
  • [x] Close #2329 if not already closed

Option 2 - Update and raise our minimum typescript version

  • [ ] Update typescript to some later version that allows us to update our dependencies (see https://github.com/open-telemetry/opentelemetry-js/pull/4834)
  • [ ] Document our new minimum typescript version
  • [ ] Possibly log warnings before we actually make this change in order to give users who will be broken a warning
JamieDanielson commented 1 month ago

~For folks not in SIG but interested in this issue: this is not yet actionable, we are still reviewing options.~

Update 2024-08-07: We've chosen option 2

JamieDanielson commented 1 month ago

Possible duplicate: