gethomepage / homepage

A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations.
https://gethomepage.dev
GNU General Public License v3.0
18.73k stars 1.1k forks source link

Chore: handle mealie API change #3895

Closed joncrangle closed 1 month ago

joncrangle commented 1 month ago

Proposed change

Mealie is introducing breaking API changes that are already merged in the "nightly" builds. See https://github.com/mealie-recipes/mealie/pull/3970. The groups/statistics endpoint is being deprecated and replaced with a households/statistics API.

I modelled the API handling on the Immich implementation https://github.com/gethomepage/homepage/pull/2284. If the version starts with "v2", or equals "nightly" it will use the new endpoint. Otherwise, it will keep using the existing endpoint to ensure this is non-breaking for people who pin to a v1 build.

Closes #

Type of change

Checklist:

github-actions[bot] commented 9 hours ago

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details.