Skip to content

Releases: aternosorg/php-modrinth-api

v2.1.1

02 Sep 14:29
2608aed
Compare
Choose a tag to compare
  • Accept "unknown" as a value for client_side and server_side (Fix #12)

v2.1.0

09 Jan 10:32
e7fae0a
Compare
Choose a tag to compare
  • Add method to get all results from all pages to PaginatedList

v2.0.0

19 Dec 17:18
0f87063
Compare
Choose a tag to compare

Release 2.0.0 of php-modrinth-api includes the following changes.
The changes are based on the latest openapi spec from modrinth.

  • Removed MiscApi->submitReport()
  • Removed UsersApi->getNotifications()
  • Removed filters from ProjectSearchOptions
  • Removed ProjectResult->getDependencies()
  • Removed some unused Models, Docs, Tests
  • Renamed model ForgeUpdatesPromos to ForgeUpdateCheckerPromos
  • Renamed model LicenseText200Response to License

v1.3.0

26 Sep 12:14
d4b466a
Compare
Choose a tag to compare

New Features

  • The facet types MODIFIED_TIMESTAMP and CREATED_TIMESTAMP have been added.

Deprecations

  • The facet types DATE_MODIFIED and DATE_CREATED are now deprecated.

The API has never returned any results when using these facets and they are scheduled for removal in Modrinth API v3.

  • The filters parameter has been deprecated and is scheduled for removal in Modrinth API version 3. Use facets instead.

v1.2.1

29 Aug 16:49
2b59ec0
Compare
Choose a tag to compare

Fixes

  • Fix types for payout history
  • Fix PHPDoc type for facets in generated classes

v1.2.0

21 Aug 14:43
3d0e688
Compare
Choose a tag to compare

New features

  • You can now pass a custom HTTP Client to the ModrinthAPIClient either by specifying it in the constructor or by calling setHttpClient

v1.1.0

10 Aug 13:31
9d443f4
Compare
Choose a tag to compare

New Features:

More Facet Types

The following facet types have been added:

  • CLIENT_SIDE
  • SERVER_SIDE
  • OPEN_SOURCE
  • TITLE
  • AUTHOR
  • DATE_MODIFIED
  • FOLLOWS
  • PROJECT_ID
  • DATE_CREATED
  • DOWNLOADS
  • COLOR

Facet Operations

You can now apply operations other than EQUALS to facets. The following new operations are supported:

  • NOT_EQUALS
  • LESS_THAN
  • LESS_THAN_OR_EQUALS
  • GREATER_THAN
  • GREATER_THAN_OR_EQUALS

Notifications

The following new Notification endpoints have been added:

  • get one or more notifications by ID
  • delete one or more notifications
  • mark one or more notifications as read

Threads

You can now report projects, users, and versions and interact with the resulting thread.

New Tag endpoints

The following new Tag endpoints have been added:

  • Get license text
  • Get project types
  • Get side types

Forge updates endpoint

There's now an endpoint to get the latest versions of a mod in the forge format.

Fixes:

  • Project->getVersions doesn't respect specified loader, gameVersion and featured options
  • getProjectVersions doesn't return any results when specifying loader and/or game version

Deprecations

  • ModrinthAPIClient::getLicenses is now deprecated as the underlying endpoint was deprecated by Modrinth
  • UsersApi::getNotifications is now replaced by NotificationsApi

v1.0.0

27 Jun 15:59
770ee12
Compare
Choose a tag to compare

Initial release