Skip to content

v5.2.0 — Modernize Halifax Libraries

Choose a tag to compare

@andrei-m-code andrei-m-code released this 02 Mar 13:01
· 336 commits to main since this release

What's New

All Packages

  • Nullable reference types enabled across all 5 library projects with full annotation coverage

Halifax.Domain v5.1.0

  • Nullable annotations for ApiResponse, Paging, and PagingQuery

Halifax.Core v5.1.0

  • [GeneratedRegex] source generators for Email, Slug, URL, Color, and env var name patterns
  • Generic ClaimIs<T> method with IParsable<T> constraint
  • Collection expressions replacing old-style collection initializers
  • Nullable annotations throughout

Halifax.Api v5.2.0

  • Correlation ID middleware — automatically reads/generates X-Correlation-Id header, enabled by default
  • Structured version endpoint/halifax/version now returns ApiResponse<List<HalifaxAssemblyInfo>> with name + version

Halifax.Http v5.1.0

  • Correlation ID delegating handler — propagates X-Correlation-Id to outgoing HTTP requests
  • Resilience/retry policies via Microsoft.Extensions.Http.Resilience — new AddHalifaxHttpClientWithResilience<T>() and AddHalifaxHttpClientBuilder<T>() returning IHttpClientBuilder

Halifax.Excel v0.3.0

  • Trace warnings for silent conversion failures in ObjectActivator
  • Nullable annotations

Tests

  • 34 new tests for Guard, StringExtensions, Env, Json, and DateTimeHelper (60 total)