v2.1.0 #57
Programador-jr
started this conversation in
General
v2.1.0
#57
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
MuscleLib API - v2.1.0
Changes and Improvements
1fed0fe
refactor: exercise filters to use translation model for localized options/api/exercises/filtersendpoint to use dedicated Translation Model instead of extracting from Exercise documents.formatTranslations()andgetTranslationValues()helper functions for cleaner code.test/routes/exercises.filters.test.jswithensureTranslationModel()helper.27b3b73
feat: add translation model and endpoints for exercise filters in multiple languagesapi/Translation.js- New Mongoose model for managing translations across multiple languages (en, pt, es).force_translations,level_translations,category_translations,equipment_translations,muscle_translations.scripts/seed-translations.js- Utility script to populate translation collections from existing exercise data with idempotent upserts.test/routes/exercises.filters.test.jswith 8 new test cases covering language validation, translations, sorting, and error handling..gitignoreand Postman workspace configuration for better project organization.Compatibility Notes
Full Changelog: v2.0.2...v2.1.0
This discussion was created from the release v2.1.0.
Beta Was this translation helpful? Give feedback.
All reactions