Releases: AdrianJSClark/aydsko-iracingdata
2501.0.0
NOTE:
iRacing has enabled two-factor authentication by default. To continue to use this library you must enable "Legacy Authentication" in your iRacing account settings before attempting to authenticate. Please do not enable this setting unless you require it, as it may reduce the security on your iRacing account.
BREAKING CHANGES:
- Removed .NET 6 support as it is now unsupported by Microsoft. (https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core)
2404.5.0
BREAKING CHANGES:
iRacing has enabled two-factor authentication by default. To continue to use this library you must enable "Legacy Authentication" in your iRacing account settings before attempting to authenticate. Please do not enable this setting unless you require it, as it may reduce the security on your iRacing account.
Fixes / Changes:
-
Add "/data/stats/season_supersession_standings" Endpoint (Issue: #22)
-
Unauthorized Responses Do Not Retry And Calls Continue To Fail (Issue: #231)
- Implemented a retry mechanism for 401 Unauthorized responses
- If a request fails with a 401 Unauthorized response, the library will attempt to re-authenticate and retry the request 2 more times
- If the request continues to fail after 3 attempts, the library will throw an "iRacingUnauthorizedResponseException"
-
Included .NET Diagnostics "Activity" for API Calls
- All API calls are now wrapped in a .NET Diagnostics "Activity" to provide more detailed information in the logs
- This will allow you to see the duration of the API call, the endpoint that was called, and the status code of the response
- See "Distributed Tracing" on Microsoft Learn for more information: https://learn.microsoft.com/en-au/dotnet/core/diagnostics/distributed-tracing
2404.5.0-beta
BREAKING CHANGES:
iRacing has enabled two-factor authentication by default. To continue to use this library you must enable "Legacy Authentication" in your iRacing account settings before attempting to authenticate. Please do not enable this setting unless you require it, as it may reduce the security on your iRacing account.
Fixes / Changes:
-
Add "/data/stats/season_supersession_standings" Endpoint (Issue: #22)
-
Unauthorized Responses Do Not Retry And Calls Continue To Fail (Issue: #231)
- Implemented a retry mechanism for 401 Unauthorized responses
- If a request fails with a 401 Unauthorized response, the library will attempt to re-authenticate and retry the request 2 more times
- If the request continues to fail after 3 attempts, the library will throw an "iRacingUnauthorizedResponseException"
2404.4.0
BREAKING CHANGES:
iRacing has enabled two-factor authentication by default. To continue to use this library you must enable "Legacy Authentication" in your iRacing account settings before attempting to authenticate. Please do not enable this setting unless you require it, as it may reduce the security on your iRacing account.
Fixes / Changes:
- Correctly handle the "Legacy authorization refused." login error message.
2404.3.0
Fixes / Changes:
- DriverResult is missing the CountryCode property (Issue #228)
Included the "CountryCode" property in the "DriverResult" and "Result" classes.
Thanks to Duncan Watts (https://github.com/DuncWatts) for lodging the issue.
2404.2.1
Fixes / Changes:
-
Season Driver Standings Deserialization Failure (Issue #224)
Fixed an issue where the "SeasonDriverStandings" deserialization would fail
due to the "avg_start_position" property containing non-integer data. -
Support "Legacy Authentication" Setting Failure Response (Issue #223)
Added support for the "Legacy Authentication" setting in the iRacing
account settings. This setting will be required to login to the
"/data API" after iRacing enables multi-factor authentication (aka "2FA").If the setting is not enabled, an "iRacingLoginFailedException" will be
thrown when attempting to login with the new "LegacyAuthenticationRequired"
property set to "true" and the following message:Access was denied with message "legacy authorization refused"
2404.2.0
Fixes / Changes:
-
Season Driver Standings Deserialization Failure (Issue #224)
Fixed an issue where the "SeasonDriverStandings" deserialization would fail
due to the "avg_start_position" property containing non-integer data. -
Support "Legacy Authentication" Setting Failure Response (Issue #223)
Added support for the "Legacy Authentication" setting in the iRacing
account settings. This setting will be required to login to the
"/data API" after iRacing enables multi-factor authentication (aka "2FA").If the setting is not enabled, an "iRacingLoginFailedException" will be
thrown when attempting to login with the new "LegacyAuthenticationRequired"
property set to "true" and the following message:Access was denied with message "legacy authorization refused"
2404.0.0
Contributions:
- From Łukasz Zborek (https://github.com/lukaszzborek)
- Change precipitation chance to decimal (Pull Request #222)
Thanks for helping out with pull requests to the library!
2403.3.0
2403.2.0
Contributions:
- From Kevin O'Neill (https://github.com/kevinoneill):
- Library Considers Itself "Logged In" Despite Authentication Exception (Issue #213)
Fixes / Changes:
- 504 response can't be deserialized to ErrorResponse (Issue #214)
- Include pre-built URL values on the "CarAssetDetail" class