Skip to content

Releases: Krusen/ErgastApi.Net

v2.0.0-rc

28 Jul 07:39
Compare
Choose a tag to compare
v2.0.0-rc Pre-release
Pre-release

There has been made a few breaking changes for V2, but most users will likely not notice these.

Click here for a full overview of changes made compared to v1.2.2.

Changed

  • Updated requests and their properties/filters to match what works with the API
  • Added speed conversion on AverageSpeed class (mph/kph)

Added

  • Support for CancellationToken
  • Extension methods with request builders (fluent request configuration)
  • Extension methods with shortcuts for common requests
  • Conversion of speed from/to mph/kph on AverageSpeed class

Removed

  • Custom caching (IErgastCache and related code) in favor of Polly

Fluent request configuration example

// Get a list of seasons where Alonso drove for Ferrari and won the WDC but Ferrari only got 2nd in the WCC
await client.GetSeasonResponseAsync(x => x.Driver("alonso").Constructor("ferrari").DriverStanding(1).ConstructorStanding(2));

v1.2.2

11 Sep 17:00
Compare
Choose a tag to compare
  • Fixed issues with half points (they were being attempted parsed as int)
  • Added constructors info to driver standings
  • Fixed error with Q1 sometimes being an empty string causing a parsing error

v1.1.0

20 Aug 14:00
Compare
Choose a tag to compare
Replace custom memory cache with builtin version

+semver: minor

v1.0.0

15 Aug 17:34
Compare
Choose a tag to compare
Use Mainline versioning

v1.0.0-rc

06 Aug 10:03
Compare
Choose a tag to compare
Cleanup build version numbering