Skip to content

Releases: aternosorg/php-curseforge-api

v3.0.0

10 Apr 14:28
f5329ca
Compare
Choose a tag to compare

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 from Aternos\CurseForgeApi\Model instead.
  • ModFilesOptions and ModSearchOptions have moved from up one level in the namespace
  • Enum variants now have the correct names

v2.0.1

08 Apr 17:29
6b51158
Compare
Choose a tag to compare

Fixes

  • Add missing bluesky enum variant to social link type

Full Changelog: v2.0.0...v2.0.1

v2.0.0

07 Apr 15:57
94d88fd
Compare
Choose a tag to compare

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

20 Jan 16:36
296ba9d
Compare
Choose a tag to compare
  • Fix another deprecation warning

Full Changelog: v1.3.1...v1.3.2

v1.3.1

20 Jan 16:10
a8d4037
Compare
Choose a tag to compare
  • 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

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