Skip to content

Mark experimental/provisional APIs #1313

Open
@kohr-h

Description

@kohr-h

As a consequence of #1312 and #1267, it seems to me that we should have a way to mark certain new APIs as experimental and subject to change. It just happens sometimes that the first implementation is not optimal and there are good reasons to revise it. I guess this will also become more important in the future after we actually cross the 1.0 line.

I suggest that we establish a standard way for marking brand new features and APIs as experimental for some period of time (measured in releases I guess) and explicitly warn about the possibility of breaking change. It kind of goes hand in hand with a deprecation process that we will also need to adopt at some point.

The simplest way I can think of is something like

.. warning::
    This API is experimental and may change in the future.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions