Skip to content

v2.0.1

Latest

Choose a tag to compare

@Programador-jr Programador-jr released this 07 Feb 17:52
· 14 commits to main since this release
d2c6d6d

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.
  • 68e7532 fix: validate muscle filters correctly and add route tests

    • Fixed language-aware validation for primaryMuscles and secondaryMuscles filters.
    • Resolved issue where valid filters could return avaliableOptions: [].
    • Added automated test coverage for filters and route behavior.
  • e7ebad5 chore: drop node/npm deps, add engines, and add schema test

    • Removed node and npm from dependencies.
    • Added engines.node to standardize runtime (>=20 <23).
    • Added automated schema test for Exercise.
    • Updated test script to use node --test.
  • 9cfe02b chore: remove legacy assets and bump deps

    • Removed legacy static assets (page/) and unused code (models/translationModel.js).
    • Updated dependencies and lockfile.

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