Giter Site home page Giter Site logo

Comments (3)

erikbrinkman avatar erikbrinkman commented on August 16, 2024 1

Traditionally I've had issues with npm's handling of prerelease versions, but after some digging I may have just been paranoid. There is now a 1.0.0-ts4 version that should be typescript@4 compatible.

I'm going to close this out, but if you experience any issues, don't hesitate to reopen or open a new issue!

from d3-dag.

erikbrinkman avatar erikbrinkman commented on August 16, 2024

Thanks so much! I only left it in rc for a week, so this makes it seem like I should have kept ia bit longer.

It seems like the only issue as far as I can tell is with const type parameters. This leaves me in an uncertain state. I could just remove that syntax, but if I don't keep typescript on version 4, there's no way I can guarantee that I'm releasing v4 compatible declaration files.

I don't really want to keep it on v4, and I think the const type parameters improve the signature significantly. If there were some deadline, I could maybe see staying on v4 for a while, but it's not clear how long that should last.

One idea that somewhat solves both of these, is I could fork a typescript 4 compatible version, and release it as 0.12.0. This would technically be unstable, but since 1.0 is out, it would allow a version for anyone needing typescript 4.

If you're willing to play around the ts4 branch should work for you. The question is really whether I potentially break some 1.0 code by releasing this as 1.1, or release it as 0.12. Do you have thoughts?

from d3-dag.

koahmad avatar koahmad commented on August 16, 2024

I fear releasing a 0.12 version might lead to issues with those who are still on 0.11 thinking 0.12 is a just a minor upgrade. (from what I gather, 1.0.0 has some breaking API changes). Forking the ts4 version is fine with me, maybe an alternative is you can release a 1.0.0-ts4?

from d3-dag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.