Releases: aternosorg/php-modrinth-api
Releases · aternosorg/php-modrinth-api
v2.1.1
v2.1.0
- Add method to get all results from all pages to PaginatedList
v2.0.0
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
toForgeUpdateCheckerPromos
- Renamed model
LicenseText200Response
toLicense
v1.3.0
New Features
- The facet types
MODIFIED_TIMESTAMP
andCREATED_TIMESTAMP
have been added.
Deprecations
- The facet types
DATE_MODIFIED
andDATE_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
Fixes
- Fix types for payout history
- Fix PHPDoc type for facets in generated classes
v1.2.0
New features
- You can now pass a custom HTTP Client to the
ModrinthAPIClient
either by specifying it in the constructor or by callingsetHttpClient
v1.1.0
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
Initial release