Skip to content

3.4.0 introduced breaking changes (dropping Node 6 support) #589

Closed

Description

@rwjblue

I am very sorry to raise such an issue (I know its often pretty frustrating as a maintainer to have someone else tell me about "semver violations"), please understand that I am only reporting because I would also want to be aware of issues that consumers of my packages are facing.

The ws updated landed in #587 was a breaking change and releasing that updated as 3.4.0 means existing consumers that still support Node 6 environments are now broken. Since ws@7 drops support for Node 6 (for example, it uses object rest/spread), any Node 6 consumers that had been using ^3.3.1 (which worked fine) will now get 3.4.0 and receive errors when ws's lib/websocket.js is required.

Thank you for your time (and again, I apologize for the distasteful issue).

Activity

  1. nitbaby commented on Sep 25, 2019

    @nitbaby

    Thanks for raising this issue. We are also stuck due to this

  2. nsgundy commented on Nov 13, 2019

    @nsgundy

    Also ran into this issue. Clearly stating this minimum version requirement with the engines property in package.json would be appreciated so that one would know about it at the time of installing the package rather than finding out when running the code.

  3. darrachequesne commented on Apr 15, 2020

    @darrachequesne
    Member

    Arf, sorry for that... I added the engines property in the package.json file in both master and 3.4.x branches, in order not to reproduce the error.

  4. darrachequesne commented on Apr 15, 2020

    @darrachequesne
    Member

    Closing now, as I don't think we can do anything else.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions