Releases: aternosorg/php-curseforge-api
Releases · aternosorg/php-curseforge-api
v1.3.0
v1.2.4
- Fix pagination limits when calling client methods directly
v1.2.3
- Check hard limit in paginated responses
- When searching to the end of the 10 000 result limit of paginated endpoints, the PaginatedList will now correctly return false for hasNextPage and also reduces the page size to prevent reaching over it.
v1.2.2
- Add NeoForge to ModLoaderType
Full Changelog: v1.2.1...v1.2.2
v1.2.1
v1.2.0
- Add method to get all results from all pages to PaginatedList
v1.1.3
- Fix type annotation of ModSearchOptions->setSortOrder
v1.1.2
Fixes
- Fix typo in ModSearchOptions
- Fix parameter type of ModSearchOptions->setSortField
v1.1.1
Fixes
- Fix PHPDoc types for enums in generated classes
Sadly the PHP generator doesn't support PHP enums and instead uses classes with static properties for each enum variant. It then also fails to correctly declare the underlying type stored in these fields and instead pretends like the returned value is a member of the class. This behaviour has been changed and the underlying types are declared now (with a link to the "enum" class).
v1.1.0
New features
- You can now pass a custom HTTP Client to the CurseForgeAPIClient either by specifying it in the constructor or by calling setHttpClient
- Added isEarlyAccess and earlyAccessEndDate fields to File model