Version 1.2.0-alpha004

Alpha
Date 2026-10-08 (2 days ago)
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET Standard 2.0 .NET Standard 2.1 .NET 8 .NET 9 .NET 10

Installation

Install via NuGet - either via the .NET CLI:

dotnet add package Skybrud.Essentials --version 1.2.0-alpha004

or the NuGet Package Manager:

Install-Package Skybrud.Essentials -Version 1.2.0-alpha004

Changelog

  • Added TimeSpanSecondsConverter and TimeSpanMillisecondsConverter converters for Newtonsoft.Json (see 3d99e44)
    Copied from the v1.1 branch (see 197f4f7)

  • Copied misc logic from the v1.1 version (see 6cd3789)

  • Improved the logic for calculating the distance between two points (see fa6a253)

    • changed GetDistance methods to use Vincenty, with Haversine as fallback
    • added GetSphericalLawOfCosinesDistance methods (old implementation of GetDistance)
    • added GetHaversineDistance methods
    • added GetVincentyDistance and TryGetVincentyDistance methods