logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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).

    Inheritance
    object
    SerenityVersion
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.2.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 = 2
    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
    In this article
    © 2026 Serenity. All Rights Reserved