7.1. API Version and Status
Every published artifact has a version number <major>.<minor>.<patch>
, and all publicly available interfaces, classes, and methods are annotated with @API from the @API Guardian project. The annotation’s status
attribute can be assigned one of the following values.
Status | Description |
---|---|
| Must not be used by any code other than JUnit itself. Might be removed without prior notice. |
| Should no longer be used; might disappear in the next minor release. |
| Intended for new, experimental features where we are looking for feedback. |
| Intended for features that will not be changed in a backwards- incompatible way for at least the next minor release of the current major version. If scheduled for removal, it will be demoted to |
| Intended for features that will not be changed in a backwards- incompatible way in the current major version ( |
If the @API
annotation is present on a type, it is considered to be applicable for all public members of that type as well. A member is allowed to declare a different status
value of lower stability.