Class SerenityVersion
The Serenity package version, as a constant the code base (and future migration tooling) can gate on. Bump alongside the CHANGELOG: middle digit for breaking changes, last digit for compatible features and fixes (Serenity's versioning convention).
Inherited Members
Namespace: Serenity.Shared.Constants
Assembly: Serenity.Shared.dll
Syntax
public static class SerenityVersion
Fields
Current
The full current version string.
Declaration
public const string Current = "1.3.0"
Field Value
| Type | Description |
|---|---|
| string |
Major
Major version component.
Declaration
public const int Major = 1
Field Value
| Type | Description |
|---|---|
| int |
Minor
Minor version component (bumped on breaking changes).
Declaration
public const int Minor = 3
Field Value
| Type | Description |
|---|---|
| int |
Patch
Patch version component (bumped on compatible features and fixes).
Declaration
public const int Patch = 0
Field Value
| Type | Description |
|---|---|
| int |