Version 1.1.48

Date 2023-03-24 (608 days ago)
Downloads 71K downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET Standard 1.1 .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7 .NET 4.8 .NET 5 .NET 6

#installation">Installation

Install via NuGet - either via the .NET CLI:

dotnet add package Skybrud.Essentials --version 1.1.48

or the NuGet package manager:

Install-Package Skybrud.Essentials -Version 1.1.48

#changelog">Changelog

  • Improved the logic behind converting between different text casings (see dff82de)
    The implementation is now both faster and better and converting back and forth between different casings. In addition to these improvements, this release also introduces support for header case (Header-Case), snake case (snake_case) and constant case (CONSTANT_CASE).

  • Introduced new TextCasingNamingStrategy class (see 06ac09b)
    The class extends JSON.net's NamingStrategy class and allows specifying a TextCasing to be used for serializing property names.

  • Updated NuGet dependencies (see 751bf70)
    For the lifetime of this package, .NET Framework versions of the package has had a dependency for Newtonsoft.Json 6.0.8 under the basis that the package supported old versions not forcing people to upgrade Newtonsoft.Json, but also allowed people to use newer versions as they would probably already have Newtonsoft.Json installed. A lot of time has passed since then, so now might the time to bump the lower requirement to 9.0.1.

    To provide code analysis for older frameworks, recent versions of this package have also had a dependency for Nullable, but not for all target frameworks. Since the dependency is private, it shouldn't hurt having the dependency for all target frameworks. This also makes the .csproj file a bit more clean.