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

Update Typescript #4870

Open
1 of 12 tasks
dyladan opened this issue Jul 17, 2024 · 2 comments
Open
1 of 12 tasks

Update Typescript #4870

dyladan opened this issue Jul 17, 2024 · 2 comments

Comments

@dyladan
Copy link
Member

dyladan commented Jul 17, 2024

Selected option 2

  • Update typescript to 5.x
  • Document our new minimum typescript version
    • Document a policy for updating typescript in minor versions in the future
  • Add a test project to ensure that minimum typescript version can compile using the updated otel dependencies

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
  • Close Typescript compatiblitly #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 chore(deps): lock file maintenance #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
Copy link
Member

JamieDanielson commented Jul 17, 2024

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
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants