MuscleLib API - v2.0.1
Changes and Improvements
-
4036ebe
refactor: split exercise routes into separate handlers- Internal reorganization of exercise routes into dedicated handlers (
list,search,image,shared). - Public endpoints and response formats remain unchanged.
- Internal reorganization of exercise routes into dedicated handlers (
-
68e7532
fix: validate muscle filters correctly and add route tests- Fixed language-aware validation for
primaryMusclesandsecondaryMusclesfilters. - Resolved issue where valid filters could return
avaliableOptions: []. - Added automated test coverage for filters and route behavior.
- Fixed language-aware validation for
-
e7ebad5
chore: drop node/npm deps, add engines, and add schema test- Removed
nodeandnpmfromdependencies. - Added
engines.nodeto standardize runtime (>=20 <23). - Added automated schema test for
Exercise. - Updated test script to use
node --test.
- Removed
-
9cfe02b
chore: remove legacy assets and bump deps- Removed legacy static assets (
page/) and unused code (models/translationModel.js). - Updated dependencies and lockfile.
- Removed legacy static assets (
Compatibility Notes
- No public API breaking changes: routes and main payload contracts are preserved.
- For self-hosted environments, run Node within the version range declared in
engines.
Full Changelog: v2.0.0...v2.0.1