Skip to content

Releases: popmonkey/irdata

irdata v0.6.6 - go1.24 + cache cleanup

Choose a tag to compare

@popmonkey popmonkey released this 18 Feb 16:48
f734e43
  • 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

Choose a tag to compare

@popmonkey popmonkey released this 05 Feb 03:55
a5b4d41

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

Choose a tag to compare

@popmonkey popmonkey released this 27 Jan 07:05
417faab

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

Choose a tag to compare

@popmonkey popmonkey released this 12 Dec 00:10
e37f314

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

Choose a tag to compare

@popmonkey popmonkey released this 03 Dec 03:27
f4f3269

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

Choose a tag to compare

@popmonkey popmonkey released this 26 Nov 01:18
02720e6

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

Choose a tag to compare

@popmonkey popmonkey released this 25 Nov 22:17
0902005

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

Choose a tag to compare

@popmonkey popmonkey released this 31 Aug 05:57

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

Choose a tag to compare

@popmonkey popmonkey released this 01 Aug 00:42

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

Choose a tag to compare

@popmonkey popmonkey released this 30 Jul 22:17

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