MuscleLib API - v2.0.2
Changes and Improvements
-
3d03f8c
refactor: shared.js file optimization- Enhanced utility functions in the shared module for better code maintainability.
- Improved performance and consistency across handler functions.
- Public API endpoints remain unchanged.
-
d6a47aa
fix: buildImagePaths corrections and test improvements- Fixed image path building logic for exercise routes.
- Enhanced test coverage with additional edge cases.
- Resolved issues with inconsistent image URL generation.
-
4d83d62
refactor: exercise routes layer optimization and pt character normalization- Restructured
/api/routes/exerciseslayer for improved code organization. - Added Portuguese character normalization for better search accuracy.
- Separated concerns into dedicated route handlers.
- Restructured
-
d03aa75
test: migrate from node:test to jest- Successfully migrated all tests from
node:testto Jest framework. - Reorganized test structure for better maintainability.
- Improved test output formatting and debugging capabilities.
- Successfully migrated all tests from
Compatibility Notes
- No public API breaking changes: All routes and main payload contracts are preserved.
- Improved reliability: Better error handling and image path consistency across endpoints.
- Enhanced testing: Comprehensive test suite with Jest ensures code quality.
Full Changelog: v2.0.1...v2.0.2