Skip to content

Releases: AdrianJSClark/aydsko-iracingdata

2402.2.0

01 May 15:12
20580e9
Compare
Choose a tag to compare

BREAKING CHANGES:

  • "Aydsko.iRacingData.Results.SessionResultsWeather" several properties have had their type changed to "decimal" to properly represent the data. (Issue: #202)

Fixes / Changes:

  • New property "AverageLapTime" on "Aydsko.iRacingData.Results.RaceSummary" to give a proper duration representation of the "AverageLap" value.

2402.1.0

20 Apr 15:10
Compare
Choose a tag to compare

BREAKING CHANGES:

  • "EventAverageLap" property on "SubSessionResult" has been changed to "TimeSpan" to better represent the data it contains.
  • "ConfigName" property on "Aydsko.iRacingData.Common.Track" has been changed to a nullable string. If the track configuration name is the constant value "N/A" or null, this property will return null.
  • Time offsets converted from being integer minutes to TimeSpan.
    • "Aydsko.iRacingData.Results.ResultsWeather" class "SimulatedStartUtcOffset" property.
    • "Aydsko.iRacingData.Hosted.HostedSessionWeather" class "SimulatedTimeOffsets" property.

Fixes / Changes:

  • New property on "Tracks.Track" called "PitRoadSpeedLimitKph" which returns the pit road speed limit in kilometers per hour.
  • Property "ProPromotable" on "MemberLicense" has been renamed to "Promotable".
  • New properties "Sequence" and "CategoryName" on "MemberLicense".
  • Weather support!
    • New classes "Results.ResultsWeather" and "Hosted.HostedSessionWeather" to represent weather data.
    • New enum "WindDirection".
  • Use Cookies from CookieContainer when RestoreCookies is not set (#200)

2304.1.0

27 Nov 15:16
Compare
Choose a tag to compare

Fixes / Changes:

  • BREAKING CHANGE: Enumeration added for League Session "Status" field. (Issue: #182)

    • Previous "int" value available as "StatusRaw" property.
  • Removal of legacy "Microsoft.AspNetCore.WebUtilities" dependency, replaced with custom code.

  • .NET 8 Support

    • Projects are built using the .NET 8 SDK
    • Dependencies updated
    • .NET 8 targeted build included
  • Check Club Image Paths (Issue: #189)

  • Fix "Interval" property on "SubsessionChartLap" so it doesn't throw an exception when driver has been lapped, which is a valid situation.

  • Fix "Implementing SaveCookies and RestoreCookies does not prevent unnecessary logins" (Issue: #186)

    • If you implement the "SaveCookies" and "RestoreCookies" methods and the cookies are for the correct domain, then the library will not attempt to login again.
  • "DataClient" class is now "public" so it can be used outside of the library. It is still recommended to resolve the "IDataClient" interface from the DI container in most situations.

  • Fix "Auth concurrency issues" (Issue #185)

    • The library now uses a semaphore to prevent multiple login attempts at the same time on the same instance of the "DataClient" class.

Contributions:

Thanks for helping out with pull requests to the library!

New Versioning Scheme:

Ideally you should always use the latest version of the library that is available. This is because iRacing will sometimes introduce API changes during a release which make the old code incompatible.

This library will use version numbers will be in the format:

[YY][SS].[R]

Where:

  • YY = two digit year
  • SS = the iRacing season the library release was made in as a zero-padded number (i.e. 01, 02, 03, 04)
  • R = release number, which increments when changes are made although it may not be sequential

Example:

  • 2303.1 = changes compatible with iRacing 2023 Season 3 or later, and is release 1 during this season

2303.1.0

02 Aug 13:12
1fabe7a
Compare
Choose a tag to compare

Fixes / Changes:

  • BREAKING CHANGE: Enumeration added for League Session "Status" field. (Issue: #182)
    • Previous "int" value available as "StatusRaw" property.

New Versioning Scheme:

From now on the version numbers will be in the format:

[YY][SS].[R]

Where:

  • YY = two digit year
  • SS = the iRacing season this corresponds to as a zero-padded number (i.e. 01, 02, 03, 04)
  • R = release number, which increments when changes are made although it may not be sequential

Example:

  • 2303.1 = changes compatible with iRacing 2023 Season 3, release 1

2303.0.0

19 Jun 13:10
Compare
Choose a tag to compare

Fixes / Changes:

  • Fixed parameter handling error which omitted some values from a Series Result Search request.
  • Support 2023 Season 3 Changes (Issue: #178)
  • Move track screen shot URI generation on to "IDataClient" so it is more discoverable. (Issue: #177)
  • Handle the security based changes from 2023 Season 3 Patch 1.

New Versioning Scheme:

From now on the version numbers will be in the format:

[YY][SS].[R]

Where:

  • YY = two digit year
  • SS = the iRacing season this corresponds to as a zero-padded number (i.e. 01, 02, 03, 04)
  • R = release number, which increments when changes are made although it may not be sequential

Example:

  • 2303.1 = changes compatible with iRacing 2023 Season 3, release 1

0.10.0

04 May 12:49
430e1d5
Compare
Choose a tag to compare

Fixes / Changes:

  • Properly Handle Race Week, Division, and Club ID Parameters to Stats API Calls (#174)

Breaking Changes:

  • Parameters of the following methods had their nullability, default value, or both changed.
    • IDataClient.GetSeasonQualifyResultsAsync(...)
    • IDataClient.GetSeasonTeamStandingsAsync(...)
    • IDataClient.GetSeasonTimeTrialResultsAsync(...)
    • IDataClient.GetSeasonTimeTrialStandingsAsync(...)

0.9.2

09 Apr 02:11
4f98acf
Compare
Choose a tag to compare

Contributions:

  • From Dennis Møllegaard Pedersen (@dennis):
    • Add Custom League Sessions (Issue #70, Pull Request #172)

Thanks for helping out with pull requests to the library!

0.9.1

08 Apr 15:10
32fd960
Compare
Choose a tag to compare

Fixes / Changes:

  • Include Full Bitwise Enum for "SubsessionLap.Flags" (#169 by @AdrianJSClark)
  • Original value for the field made available as "SubsessionLap.FlagsRaw"

0.9.0

07 Apr 13:53
21a8eb1
Compare
Choose a tag to compare

Fixes / Changes:

  • Cache the results of requests to iRacing. (#165 by @AdrianJSClark)
  • Fix CustomerId properties incorrectly named "CustId" on MemberAward and RecentAwards classes.

0.8.0

12 Mar 13:39
Compare
Choose a tag to compare

Fixes / Changes:

  • Include XML Documentation files in the package (#151 by @AdrianJSClark)

  • Include tags in the package (#152 by @AdrianJSClark)

  • Update Season Schedule with race_time_descriptors Field (#158 by @AdrianJSClark)

  • Enable Building of Track Image URLs (#154 by @AdrianJSClark)

    • Introduces the TrackScreenshotService class to provide URLs for the circuit screenshots.
    • Previously it was impossible to create these URLs as the required information wasn't in the results.
  • Implement 2023 Season 2 Updates (#155 by @AdrianJSClark)

    • Add the "Member Recap" endpoint (/data/stats/member_recap) to provide a summary of a driver's year or season.
    • Add the "Spectator Subsession Identifiers" endpoint (/data/season/spectator_subsessionids) to list subsessions available to spectate.
    • Ability to query league membership by Customer Identifier (/data/league/membership)