Skip to content

Document reason for TS 2.7 support, possibly increase minimum supported version #1316

Closed

Description

@cspotcode

When I started working on ts-node, the readme said we supported TS 2.7 and the tests ran against TS 2.7, so I've maintained that support. But I don't actually know why we support that version. Enough time has passed, it may make sense to increase the minimum supported version.

@blakeembrey do you remember if there were any specific reasons for supporting 2.7? Was a high-profile project stuck on 2.7 at some point in the past?

A quick search turned up #527 but I don't know if it's related.

Some data points:

Activity

  1. added
    researchNeeds design work, investigation, or prototyping. Implementation uncertain.
    on May 15, 2021
  2. added this to the 10.0.0 milestone on May 15, 2021
  3. cspotcode commented on May 15, 2021

    @cspotcode
    CollaboratorAuthor

    Or maybe ts-node added a feature that could not work on versions older than 2.7, and so it was documented that 2.7 was the minimum?

  4. blakeembrey commented on May 15, 2021

    @blakeembrey
    Member

    Yeah, if you need to upgrade in a major version don't restrict yourself! I don't really remember now, but going a git blame on that specific line in the README is pretty helpful for the history of the changes. Looks like I last bumped it from 2.0 -> 2.7 in #895 which was a minimum feature requirement.

  5. cspotcode commented on May 16, 2021

    @cspotcode
    CollaboratorAuthor

    Ok, thanks. Turns out it won't be necessary for v10, because I ended up re-adding @tsconfig/node10 to keep things simple. But this is good to know for v11.

  6. modified the milestones: 10.0.0, next on May 16, 2021
  7. cspotcode commented on Jun 14, 2021

    @cspotcode
    CollaboratorAuthor

    Closing as answered.

  8. jhmaster2000 commented on Mar 29, 2022

    @jhmaster2000
    Contributor

    To future readers, as the milestone links above aren't very helpful to connect these together, the v11 plan relating to this issue is here: #1505

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    researchNeeds design work, investigation, or prototyping. Implementation uncertain.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions