Releases: tyler-cromwell/Forage
Releases · tyler-cromwell/Forage
v1.4
v1.3
- Consolidated & reorganized test & mock code
- Added code to check expired/expiring items at a specific time of day
- Added a
/configure
endpoint to change time of day and lookahead time to check for expired/expiring items, and silence SMS messages - Updated code refresh "Groceries" list in Trello card with up to date list of items
- Fixed searching for Trello card to check entire Trello list (rather than just first card)
- Refactored log messages
- go-cron scheduler updates on
PUT /configure
- Refactored all time calculations to conform to UTC
v1.2
- Added tests & mocks, achieving 100%* test coverage (* = some difficult to test code had to be ignored).
- Added a
stockedDate
attribute to JSON documents. - Some refactor polish.
- Bug fixes:
- Double counting of check list items.
- Distinguishing between expired and expiring in SMS.
- Do not send SMS if no items are expiring or expired.
v1.1
- Expiration job improvements:
- Fixed to only get items in stock.
- Considers items that already expired (edge case).
- Checks if shopping list card already exists, and adds to it if it does.
- Added from & to query parameters to GET /expiring endpoint and defaulting to range [now, lookahead].
- Fixed major bug when filtering by expirationDate and storing them as timestamps.
- Added GET /expired endpoint.
- Corrected documents.
- Added new documents.
- Polished code.
v1.0
Includes a REST API for creating, reading, updating, and deleting documents and background job that runs during a specified interval to check for expiring items.