Releases: popmonkey/irdata
irdata v0.6.6 - go1.24 + cache cleanup
- bump the go version to 1.24.4
- handle expiration race in cache merging by retrying
What's Changed
- cache: handle merge expired key issues on close by @popmonkey in #16
- Go 1.24 by @popmonkey in #15
- go 1.24.12 by @popmonkey in #17
- go 1.24.13 by @popmonkey in #18
- refactor github actions + dependabot by @popmonkey in #19
- specify go.mod version of go by @popmonkey in #23
Full Changelog: v0.6.5...v0.6.6
irdata v0.6.5 - cache management
Add ability to configure the cache fragment size (to speed up Close operations) and to bypass cache merging altogether (CloseFast).
What's Changed
- add ability to set cache file size and close without merging by @popmonkey in #14
Full Changelog: v0.6.4...v0.6.5
irdata v0.6.4 - irfetch quality of life
irfetch example now can use a config file and no longer panics
What's Changed
- Add some more stats to the profile example by @popmonkey in #12
- Quality of life by @popmonkey in #13
Full Changelog: v0.6.3...v0.6.4
irdata v0.6.3 - auth token persistence
You can now, optionally, persist the auth token the iRacing OAuth2 flow. iRacing rate limits running a full OAuth2 flow to 12 tries every hour.
What's Changed
- doc updates by @popmonkey in #10
- Persist auth token by @popmonkey in #11
Full Changelog: v0.6.2...v0.6.3
irdata v0.6.2 - S3 Link Callback
Added a callback to notify caller when S3 Links are followed
What's Changed
- integration tests and s3link callback by @popmonkey in #6
- run integration tests daily by @popmonkey in #7
- badges for integration and unit tests by @popmonkey in #8
- update README for creds file generation by @popmonkey in #9
Full Changelog: v0.6.1...v0.6.2
irdata v0.6.1 - OAuth refresh
Fixes #4 : OAuth timeouts in long sessions
What's Changed
- add oauth refresh by @popmonkey in #5
Full Changelog: v0.6.0...v0.6.1
irdata v0.6.0 - new OAuth flow
Warning
If you have existing credential files, this is a breaking change
This introduces support for the new OAuth flow for headless authentication. iRacing is dropping support for the legacy auth flows on December 9, 2025. See this post
What's Changed
- github workflows by @popmonkey in #1
- workflow changes by @popmonkey in #2
- iRacing oAuth flow by @popmonkey in #3
Full Changelog: v0.5.0...v0.6.0
automatic rate limit and retry handling
See the README for some automatic error handling including recovery from rate limiting and temporary errors (such as during iRacing downtimes)
Full Changelog: v0.4.5...v0.5.0
handle case where chunk_info is present but nil
Turns out some iRacing data API endpoints can return a chunk_info that's empty and doesn't actually point to any chunks. ignore these.
Full Changelog: v0.4.4...v0.4.5
New chunk handling behavior
Warning
This is a breaking for any APIs that emit chunked data
Some iRacing data APIs return chunked data at the top level, others inside the object. The previous code assumed only the former.
From now on, instead of replacing all the data returned by the API, whenever chunked results are detected (chunk_info is present), irdata resolves the chunks into a new parameter at the same level as the chunk_info.
So for example, if the API returns something like:
{
"foo": "bar",
"chunk_info": { /* chunk info data */ }
}irdata used to return
[
"chunk_data_1",
"chunk_data_2",
...
]From now on, however, it will return:
{
"foo": "bar",
"chunk_info": { /* chunk info data */ }
"_chunk_data": [
"chunk_data_1",
"chunk_data_2",
...
]
}Full Changelog: v0.4.3...v0.4.4