Releases: aternosorg/php-curseforge-api
Releases · aternosorg/php-curseforge-api
v3.0.0
This release uses the new php-nextgen OpenAPI generator. The generated classes are now very different including breaking changes.
Notable Changes
- Generated methods now have return and parameter types
- Generated classes now use real PHP enums instead of classes with constants.
- The existing enums in
Aternos\CurseForgeApi\Client\Options
have been removed. Import the generated ones fromAternos\CurseForgeApi\Model
instead. ModFilesOptions
andModSearchOptions
have moved from up one level in the namespace- Enum variants now have the correct names
v2.0.1
v2.0.0
Breaking Changes
- Require PHP 8.3
- categoryId, gameVersion and modLoaderTypes have been replaced by the new list options in ModSearchOptions
- changed the order of constructor arguments to ModSearchOptions and ModFilesOptions
Additions
- added primaryAuthorId and premiumType to search options
- added olderThanProjectFileId, releaseTypes and platformType to ModFilesOptions
Fixes
Category->getMods()
now correctly adds the category filter if options are passed
Full Changelog: v1.3.2...v2.0.0
v1.3.2
- Fix another deprecation warning
Full Changelog: v1.3.1...v1.3.2
v1.3.1
- Fix deprecation warnings in PHP 8.4
- Fix library version in default user agent
Full Changelog: v1.3.0...v1.3.1
v1.3.0
- Add new sort fields to mod search:
- EARLY_ACCESS
- FEATURED_RELEASE
- RELEASE_DATE
- RATING
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