Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.55 KB

CHANGELOG.md

File metadata and controls

37 lines (20 loc) · 1.55 KB

Changelog

3.0.2 (2024-10-10)

  • Updated: NuGet packages.

3.0.1 (2024-10-04)

  • Fixed: JSON deserialization in HistoricalWeather.

3.0.0 (2024-10-04)

This update has breaking changes because the subscription model for OpenWeatherMap is rather frustrating.

  • Changed: CurrentWeather to LegacyCurrentWeather.
  • Added: HistoricalWeather using the One Call v3.0 endpoints.
  • Added: Units property to OpenWeatherMapClientOptions to set a global default.

2.0.0 (2024-10-02)

This update is a complete rewrite of the whole library. There are many breaking changes, but for the better, in my opinion. Overall the library should be more stable, more performant, and easier to use both for request and for reading the responses.

  • Changed: CurrentWeather to be a vertical slice that contains the specific request and response objects. The slice also contains the validation rules for reading the responses.
  • Changed: Switched from JSON.NET to System.Text.Json for better performance.
  • Added: FluentValidation for request object validation prior to API call.
  • Added: IOpenWeatherMapClientFactory for applications that need to interact with multiple Open Weather Map accounts.
  • Added: IServiceCollection extensions directly into the main library.
  • Changed: Deserialized JSON into better structured objects for easier use.
  • Changed: Normalized behavior and naming for requests and responses.

Usage is basically the same, but you'll need to adjust the method calls and/or the request objects.