Skip to content

Deprecation Period #781

@emplums

Description

@emplums

Now that Primer Components is becoming more mature of a library, we should consider implementing a deprecation period for components and/or props when we want to make breaking changes. Doing so would allow us to make important API improvements, without causing too much of a disruption of workflows for our users (or at least soften the impact a bit).

How would we want to go about implementing this? Console warnings? Would we add the deprecation notice before we make any changes to the API, or would we make the change but keep the old API for a period of time + add the notice, and then remove the notice when we remove the backwards compatibility?

Drawbacks:

  • deprecation notices might just be more work/mental load?
  • adds a bit of process & maintenance overhead

Curious what other folks think, especially those of you who have worked on large design systems at other companies! :)

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