Skip to content

Typescript breaking changes in minor version bump #5017

Closed
@ajeffrey

Description

@ajeffrey

hey, I've just spent the past 5 hours hunting down an issue where running npm install caused my typescript-based build to fail at runtime with Vue.use is not a function. I just re-checked the typescript integration page and it seems that the build system has been intentionally broken for typescript in a minor version bump, meaning that npm's default caret version matcher moved me onto 2.2.0 and invisibly broke my build. I've had to look through every build-related package I run, reverting to previous versions to figure out what went wrong.

I really appreciate all the hard work you guys are putting into making Vue, but can you please try to avoid breaking published compatibility guidelines in minor version increments? I understand that you're wanting to move into ESM-based modules but simply updating the .d.ts files in line with this change would prevent breaking people's dependencies silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions