Releases: kamranayub/igdb-dotnet
v2.2.0
Changes
- #14 Add
CountAsync
to count query results instead of return them (Thanks @HRKings!) - #12 Add new
company_logos
endpoint 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.Client
toIGDB.IGDBClient
- Removed static
Create
method and replaced with more typicalnew IGDBClient(...)
- You must now pass
clientId
andclientSecret
when creating an IGDB client - Exposed a simple
TwitchAuthClient
wrapper class you may use to obtain client credential tokens - Implement a default
InMemoryTokenStore
that stores tokens in memory - The
TokenManager
will handle checking expired tokens and refreshing when retrieving from the token store - You may pass a custom
ITokenStore
that 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:
GetApiStatus
returns array ofApiStatus
1.0.0 - Switch to `long` for IDs
BREAKING CHANGE:
- feat: Switch
int
tolong
since IGDB identifiers are int64 - fix: Move
PlatformLogo
andCompanyLogo
toIGDB.Models
namespace
Other changes:
- feat: Add
IIdentifier
interface 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
v0.3.1
Changes
- fix(serialization): Fix issue with nested serializing of identity objects
0.3.0
Changes
- feat(serialization): Add ability to deserialize models