Skip to content

Conversation

kamranayub
Copy link
Owner

@kamranayub kamranayub commented May 25, 2025

Continuation of #44
Closes #42

BREAKING CHANGES

Changes for upcoming August 2025 IGDB API migration from enums to endpoints. The changes include replacing enums with more flexible IdentityOrValue types and adds new endpoints.

Enum Updates:

  • Replaced enums with IdentityOrValue types in models like AgeRating, Character, Company, and Game to support expanded and non-expanded table fields. For example, AgeRating now uses RatingCategory and Organization instead of the removed AgeRatingCategory and AgeRatingTitle enums.

Changes

  • Added new endpoints and models, such as AgeRatingCategories, AgeRatingContentDescriptionV2, AgeRatingOrganization, CharacterGenders, CharacterSpecies, CompanyStatus, DateFormats, ExternalGameSources, GameStatuses, GameTimeToBeats, GameTypes, PlatformTypes, ReleaseDateRegions, and WebsiteTypes, providing broader access to IGDB data.

@kamranayub kamranayub changed the title Migrate enums to tables Migrate enums to tables (Aug 2025 Migration) May 25, 2025
@kamranayub
Copy link
Owner Author

kamranayub commented May 25, 2025

Test failures expected; it hits live API and there's a rate limit of 4req/s or something. Ideally it would be nice to have fixtures and then manually update API fixture responses for testing every so often. Or maybe just implement a rate limiter to the tests 🤷‍♂️

All the tests pass on my local machine if I test them manually

@codename-irvin
Copy link
Contributor

Thanks for taking this the rest of the way! And thanks again for making the SDK in the first place. It’s been very useful!

@kamranayub kamranayub merged commit 5b625b3 into master May 25, 2025
1 check failed
@kamranayub
Copy link
Owner Author

@codename-irvin I should cut a release tonight, I'd like to get popscores in there too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API Update (Aug 2025): BREAKING: Move from Enums to Tables
2 participants