opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

[all] update dependency typescript to latest

Open pichlermarc opened this issue 2 years ago • 5 comments
trafficstars

We should bump typescript to latest in the next major version. As a part of this PR we should document the following:

  • Document policy that typescript versions will be increased with each major SDK version
  • Document the following policy for determining which typescript version to update to: update to the latest version unless a dependency that cannot be updated requires a lower version

pichlermarc avatar Jun 29 '23 06:06 pichlermarc

Happy to take this on for KubeCon Contribfest!

jcarvalho avatar Nov 08 '23 20:11 jcarvalho

Spoke with @dyladan, and the policy documentation will be added at a later date (still unsure where it will go)

jcarvalho avatar Nov 08 '23 21:11 jcarvalho

Looks like there's an overlap between this change and #3952, and there's a catch-22: to upgrade to Typescript 5.2, we need a version of Typedoc that requires Node 16 or higher (guessing that's fine for next, as 16 is no longer a supported LTS version).

Doing some final tweaks to the PR, will open it after I'm back from Kubecon.

jcarvalho avatar Nov 09 '23 19:11 jcarvalho

@pichlermarc It might be worth to got straight into TypeScript 5.5 because it contains a lot of improvements (types, speed and workflow).

falsyvalues avatar Jun 19 '24 09:06 falsyvalues

@pichlermarc It might be worth to got straight into TypeScript 5.5 because it contains a lot of improvements (types, speed and workflow).

Agree. I changed the title and description to say latest instead. So when we continue work on SDK 2.0 we just bump to whatever is the latest version.

pichlermarc avatar Jul 01 '24 19:07 pichlermarc

Closed in favor of #4870

dyladan avatar Aug 07 '24 14:08 dyladan