Skip to content

Releases: popmonkey/irdata

irdata v0.6.6 - go1.24 + cache cleanup

18 Feb 16:48
f734e43

Choose a tag to compare

  • bump the go version to 1.24.4
  • handle expiration race in cache merging by retrying

What's Changed

Full Changelog: v0.6.5...v0.6.6

irdata v0.6.5 - cache management

05 Feb 03:55
a5b4d41

Choose a tag to compare

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

27 Jan 07:05
417faab

Choose a tag to compare

irfetch example now can use a config file and no longer panics

What's Changed

Full Changelog: v0.6.3...v0.6.4

irdata v0.6.3 - auth token persistence

12 Dec 00:10
e37f314

Choose a tag to compare

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

Full Changelog: v0.6.2...v0.6.3

irdata v0.6.2 - S3 Link Callback

03 Dec 03:27
f4f3269

Choose a tag to compare

Added a callback to notify caller when S3 Links are followed

What's Changed

Full Changelog: v0.6.1...v0.6.2

irdata v0.6.1 - OAuth refresh

26 Nov 01:18
02720e6

Choose a tag to compare

Fixes #4 : OAuth timeouts in long sessions

What's Changed

Full Changelog: v0.6.0...v0.6.1

irdata v0.6.0 - new OAuth flow

25 Nov 22:17
0902005

Choose a tag to compare

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

Full Changelog: v0.5.0...v0.6.0

automatic rate limit and retry handling

31 Aug 05:57

Choose a tag to compare

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

01 Aug 00:42

Choose a tag to compare

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

30 Jul 22:17

Choose a tag to compare

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