Skip to content

Releases: aternosorg/php-curseforge-api

v1.3.0

19 Jul 10:12
e583834
Compare
Choose a tag to compare
  • Add new sort fields to mod search:
    • EARLY_ACCESS
    • FEATURED_RELEASE
    • RELEASE_DATE
    • RATING

v1.2.4

18 Jul 16:10
d53e1e7
Compare
Choose a tag to compare
  • Fix pagination limits when calling client methods directly

v1.2.3

18 Jul 15:59
eb253e2
Compare
Choose a tag to compare
  • 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

12 Feb 16:28
3e8ccaf
Compare
Choose a tag to compare
  • Add NeoForge to ModLoaderType

Full Changelog: v1.2.1...v1.2.2

v1.2.1

26 Jan 14:00
68dabf6
Compare
Choose a tag to compare

What's Changed

  • fix (client/ModSearchOptions) fixed typo in type of setModLoaderType by @j-tap in #1

New Contributors

  • @j-tap made their first contribution in #1

Full Changelog: v1.2.0...v1.2.1

v1.2.0

09 Jan 16:37
1f3c61f
Compare
Choose a tag to compare
  • Add method to get all results from all pages to PaginatedList

v1.1.3

14 Dec 16:00
d3a5da8
Compare
Choose a tag to compare
  • Fix type annotation of ModSearchOptions->setSortOrder

v1.1.2

12 Sep 11:25
d2a2f01
Compare
Choose a tag to compare

Fixes

  • Fix typo in ModSearchOptions
  • Fix parameter type of ModSearchOptions->setSortField

v1.1.1

08 Sep 11:01
ab0f23d
Compare
Choose a tag to compare

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

06 Sep 12:13
27aeb9d
Compare
Choose a tag to compare

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