Skip to content

Releases: kamranayub/igdb-dotnet

v2.2.0

05 Nov 05:37
50c6f5e
Compare
Choose a tag to compare

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

05 Nov 05:27
c8d9bb4
Compare
Choose a tag to compare

Changes

v2.0.1

14 Oct 04:51
3296a36
Compare
Choose a tag to compare
  • fix: nuspec changes for new 2.0 version

v2.0.0 - IGDB v4 Migration

14 Oct 04:45
9d5c316
Compare
Choose a tag to compare

!! 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 to IGDB.IGDBClient
  • Removed static Create method and replaced with more typical new IGDBClient(...)
  • You must now pass clientId and clientSecret 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

06 Jun 03:23
Compare
Choose a tag to compare

Fixes

  • fix: GetApiStatus returns array of ApiStatus

1.0.0 - Switch to `long` for IDs

24 Aug 02:57
8ed7b7c
Compare
Choose a tag to compare

BREAKING CHANGE:

  • feat: Switch int to long since IGDB identifiers are int64
  • fix: Move PlatformLogo and CompanyLogo to IGDB.Models namespace

Other changes:

  • feat: Add IIdentifier interface so it's easier to narrow types

v0.3.3

22 Jun 20:28
Compare
Choose a tag to compare

Changes

  • fix(serialization): Better handling of mixed types

v0.3.2

19 Jun 05:29
Compare
Choose a tag to compare

Changes

  • fix(serialization): Fix issue with deserializing expanded fields with mixed content

v0.3.1

13 Jun 04:55
Compare
Choose a tag to compare

Changes

  • fix(serialization): Fix issue with nested serializing of identity objects

0.3.0

06 Jun 03:14
47fb338
Compare
Choose a tag to compare

Changes

  • feat(serialization): Add ability to deserialize models