Skip to content

Version 1.0.7 has some seriously breaking changes from 1.0.5 #19

@zackdotcomputer

Description

@zackdotcomputer

Performing a minor npm update on my project automatically updated 1.0.5 to 1.0.7. However, 1.0.7 introduced breaking changes to the type signatures of several functions. It probably should have been a 1.1.0 and marked as containing breaking changes.

I ran into two breaking issues personally, but I assume there were more:

  • All of the exported SomethingEnums are no longer enums?? The proper enum has been renamed from X to XExpected and the name X is now XEnum | string, which breaks any use of the enums that depended on them being enums. (Additionally, the enums are less useful now since they're basically defined as "one of these strings, unless its not in which case it could be any string.")
  • The method signature for candidatesList is substantially different, dropping emailAddresses and tag while adding includeDeleteData (I'm just lucky the number of arguments changed, otherwise my code would have kept calling it and it would have just mysteriously broken!)

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