Releases: kamranayub/igdb-dotnet
v2.3.0 - New API updates
What's Changed
- feat: Updates for latest API changes by @kamranayub in #22
Full Changelog: 2.2.0...2.3.0
v2.3.0-preview1
What's Changed
- feat: Updates for latest API changes by @kamranayub in #22
Full Changelog: 2.2.0...2.3.0-preview1
v2.2.0
Changes
- #14 Add
CountAsyncto count query results instead of return them (Thanks @HRKings!) - #12 Add new
company_logosendpoint support (Thanks @mcknight89)
v2.1.0
Changes
- #15 Fixed invalid timestamp handling (Closes #10) (Thanks @mcknight89!)
v2.0.1
- fix: nuspec changes for new 2.0 version
v2.0.0 - IGDB v4 Migration
!! BREAKING CHANGES !!
The API upgrade to v4 has brought some breaking changes as well as a more involved OAuth2 token authentication flow, which this handles by default using an in-memory token cache.
API v3 to v4 Changes
For the full list of changes to the API, see https://api-docs.igdb.com/?shell#breaking-changes
Client Changes
- Remove all obsolete endpoints, including the Private endpoints
- Renamed
IGDB.ClienttoIGDB.IGDBClient - Removed static
Createmethod and replaced with more typicalnew IGDBClient(...) - You must now pass
clientIdandclientSecretwhen creating an IGDB client - Exposed a simple
TwitchAuthClientwrapper class you may use to obtain client credential tokens - Implement a default
InMemoryTokenStorethat stores tokens in memory - The
TokenManagerwill handle checking expired tokens and refreshing when retrieving from the token store - You may pass a custom
ITokenStorethat implements the interface to customize token management
Token Management
In IGDBv4 they are based on the Twitch Developer APIs which require valid OAuth2 tokens in any API requests. This is a hassle to handle in a complete way with a backplane (persisted storage) and distributed support. Instead, the SDK will provide a naive default implementation of in-memory token management that should be OK for 80% of the cases. By default, tokens expire in 60d and if the singleton is alive for over 60d, first, congratulations but second, it will check whether the token has expired and refresh it if needed.
v1.0.1
Fixes
- fix:
GetApiStatusreturns array ofApiStatus
1.0.0 - Switch to `long` for IDs
BREAKING CHANGE:
- feat: Switch
inttolongsince IGDB identifiers are int64 - fix: Move
PlatformLogoandCompanyLogotoIGDB.Modelsnamespace
Other changes:
- feat: Add
IIdentifierinterface so it's easier to narrow types
v0.3.3
Changes
- fix(serialization): Better handling of mixed types
v0.3.2
Changes
- fix(serialization): Fix issue with deserializing expanded fields with mixed content