-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs #14463
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I strongly believe we shouldnt remove it until we have an alternative upgrade path. Removing it on a whim us irresponsible and not a sane plan. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Unfortunately after almost a year of planning we've still been unable to provide a userland version of this. We need to not stagnate on stuff like this - this is a small API used by a small number of projects. Removing it will force development of https://github.com/denoland/deno_emit
This is an unstable API - there was never a promise of continuity.
@ry I'm not arguing anything about the decision in this PR, but that comment seems rather nearsighted: Some APIs are simply not designed for widespread use, and the projects which do use them can have quite massive downstream influence in the ecosystem/community, and so changes to such APIs can actually be very disruptive because of dependency impact. I think it would be beneficial to rethink using that as a metric for future decision-making. |
@jsejcksn IMO that's a bad decision for those projects to depend on unstable APIs in a runtime. The situation is better for them now because they can depend on a versioned API that isn't linked to the runtime at https://github.com/denoland/deno_emit |
@dsherret I agree with that, and nothing in my comment was specifically about |
Closes #14461