v1.1.48
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
-
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'sNamingStrategy
class and allows specifying aTextCasing
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 forNewtonsoft.Json
6.0.8 under the basis that the package supported old versions not forcing people to upgradeNewtonsoft.Json
, but also allowed people to use newer versions as they would probably already haveNewtonsoft.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.