Skip to content

Releases: tyler-cromwell/Forage

v1.4

09 Nov 00:08
Compare
Choose a tag to compare
  • Added functionality to track recipes that can be made from stocked ingredients
  • Re-organized some code for a neater codebase
  • Expanded API endpoint routes to accommodate querying by collection name
  • Added accompanying test cases for new code

v1.3

06 Sep 02:15
Compare
Choose a tag to compare
  • 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

09 Jun 03:30
Compare
Choose a tag to compare
  • 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

13 Nov 00:06
Compare
Choose a tag to compare
  • 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

06 Nov 16:50
Compare
Choose a tag to compare

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.