github wger-project/wger 2.5

14 hours ago

What's Changed

Notable changes

Improved ingredient sync. This process now uses a pre-generate database dump file, which can be processed much more effectively. The setting SYNC_INGREDIENTS_CELERY will automatically prefer the bulk dump over the paginated API, falling back to the API if no dump is available.

Improve serving size support for ingredients. It's now possible to log food in more useful units than "gram", e.g. "1 Serving (2 biscuits)" or "1 Cup". These serving sizes automatically imported from Open Food Facts.

Add vegan, vegetarian and nutriscore fields to the model.

Add "warmup" to list of set types.

Add more information to the repetition units in the routines. This will allow us to e.g. properly handle time units in the mobile app, e.g. by showing a timer or similar. The setting-repetitionunit endpoint now exposes the new fields unit_type and multiplier.

Automatically read the date from uploaded image to the gallery.

Move the exercise variation to a field in the exercise model. This simplifies a lot of code and allows us to properly sync them to local instances as well.

Breaking API changes

The following endpoints have been removed:

  • /api/v2/ingredient/search/, searches can use the regular /api/v2/ingredientinfo one
  • /api/v2/exercise/search/, searches can use the regular /api/v2/exerciseinfo one
  • /api/v2/variations/, variation data is not accessible directly on the exercise
  • /api/v2/weightunit/, not needed anymore

Features

Dependencies

New Contributors

Full Changelog: 2.4...2.5

Don't miss a new wger release

NewReleases is sending notifications on new releases.