This repository has been archived by the owner on May 29, 2024. It is now read-only.
Added
- Requests for categories and products can now be passed through to the Magento API via special
catalog/*
endpoints- This functionality includes a new setting for the frontend application URL which is used to prevent CORS errors
- Data received from the Magento API is cached in Redis
- A new setting is included for configuring the cache lifetime
- A Docker environment is now provided to aid in setting up and running the project
- GitHub meta files have been added to the repository
- GitHub's Dependabot service is now used to keep dependencies updated
- A new "/ping" endpoint has been added to allow for verification that the app is running
- A new "/uptime" endpoint has been added to show how long the app has been running
Changed
- Project has been renamed to reflect increase in scope
- Logic for generating OAuth Authorization header has been refactored
- Code changes are now automatically linted and tested when they are pushed to the
main
branch or a pull request is submitted against that branch
Fixed
- "Address is already in use" errors are no longer thrown when running tests if the application is already running in development mode
- Unit test for the index route no longer overwrites data stored in Redis
- Unit test for the router will attempt to pass up to three times before throwing an error
- Sort order for OAuth signature parameters now correctly includes query string parameters
- Query string parameters are now added to general OAuth parameters
- A "The client is closed" error is no longer thrown by the Redis client when quitting the production application
- The exit handler now only runs once when the production application is killed
Full Changelog: 1.0.0...1.1.0