Skip to content

0.1.1

Choose a tag to compare

@badosa badosa released this 26 Jul 14:00
· 1 commit to main since this release

Patch release focused on .NET modernization, an HTTP fetch helper, and transform
robustness. The library still targets netstandard2.0.

Added

  • HTTP fetching (Toolkit parity): JSONstat.Load(Uri) and
    JSONstat.LoadAsync(Uri, HttpClient?, CancellationToken), reusing a shared internal
    HttpClient. Previously listed as deferred ("HTTP fetching").
  • FetchTests covering the happy path, a null url, a non-success status, and the sync wrapper.

Changed

  • Build/test target moved from .NET 6 (EOL since Nov 2024) to .NET 8 (LTS). The CI
    matrix now sets up 8.0.x only.
  • System.Text.Json bumped from 6.0.11 to 8.0.0.
  • Transform's comma-decimal rendering now reuses a cached CultureInfo instead of
    allocating one per cell.
  • Dice raises a clear OverflowException when the result would exceed int.MaxValue
    cells, instead of a confusing runtime error.
  • Version bumped to 0.1.1.

Fixed

  • Unflatten no longer silently truncates cubes larger than int.MaxValue cells; it now
    throws OverflowException with a clear message.
  • XML documentation cross-references (<see cref="Dataset.Dice"/>, Dataset.Transform,
    and the ambiguous FromArray cref) now resolve, so GenerateDocumentationFile no longer
    emits CS1574/CS0419 warnings.

⚠️ Experimental / pre-1.0. While the major version is 0, this package is
considered experimental: any release may contain breaking changes.

Full changelog: https://github.com/jsonstat/csharp/blob/main/CHANGELOG.md
Changes since v0.1.0-experimental.1: v0.1.0-experimental.1...v0.1.1