Skip to content
Cyrille DUPUYDAUBY edited this page Feb 21, 2019 · 4 revisions

Overview

NFluent follows a 'semver'like policy:

  1. Versions follows the format Major.Minor.Patch
  2. Major is incremented in case of breaking change (x.y.z => (x+1).0.0)
  3. Minor is incremented when new features are introduced (x.y.z => x.(y+1).0)
  4. Patch is incremented for bug fix (x.y.z => x.y.(z+1))

From a context perspective, NFluent has a relatively large API set (mostly checks) which forces us to somehow relax this convention. Also bear in mind that NFluent is a trunk based projects, which implies a strong linear history of changes.

Major version

We increase the major version number in case of significant breaking change. We do increase the major version number when the signature of check(s) change without having been marked as [Obsolete] in previous version(s).

We shall increase the major version number in case of behavioural change of checks, i.e. when a check fails when it succeeded before or vice-versa. We will not increase the major version number when the behaviour was not fully documented or not obvious.

These rules apply to 'checks' and user facing features. We apply a similar, but more relaxed policy regarding extensibility features. Typically, this implies that breaking changes may be introduced in extensibility APIs without an increase of the major version number.

Minor version

Most releases will have an increased minor version number.

Patch version

We increase the minor version number when the release mostly contains bug fixes. But those release may also include some new checks. This typically happens when need to release a bug fix for a release when we already have new checks ready.

Clone this wiki locally