Skip to content

Version Format

Carl Bennett edited this page Feb 26, 2017 · 1 revision

BNRBot versions are akin to semantic versioning 2.0.0, that is:

Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards-compatible manner, and
  3. PATCH version when you make backwards-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

BNRBot follows this formatting, but with the following similar rules instead:

  1. MAJOR version when a complete rewrite has been done or core functionality is irreversibly altered,
  2. MINOR version when a feature is added or removed,
  3. PATCH version when making backwards-compatible bug fixes,
  4. BUILD number.

The BUILD number is an extension of the original version format (MAJOR.MINOR.PATCH) and exists in the fourth position of the version format (MAJOR.MINOR.PATCH.BUILD). The BUILD number should never decrement unless the MAJOR version increments.

Clone this wiki locally