App – [v1.18.1]

In this release, we tweak our cache, stop invalid requests and improve the UX.

Changed

  • We have updated the size and spacing between the control buttons for all layout sizes.
  • We have updated our back-end dependencies.
  • We continue to tweak the default cache TTL whilst we try to find the ‘right’ value
  • We have set request limits, five resource types, each with up to ten resources; we expect these limits to be the limits for free accounts.
  • We have updated the resource and resource type level dashboards; the recent expenses/items requests are sent independently to the summary requests, pagination of the list meant all summary counts were being re-requested when unnecessary.

App – [v1.18.0]

In this release, we have updated the App to support v2.140 of the Costs to Expect API, specifically, support for multiple currencies.

Added

  • We have updated the App to use the latest version of the Costs to Expect API; the App now supports multiple currencies.

Changed

  • We have made a minor tweak to the layout of the detail page for the allocated-expense type.
  • We have continued to tweak the default cache TTL; we are trying to find a value that works.

API – [v2.14.0]

In this release, we have added support for multiple currencies; our API no longer assumes you are a resident of the UK. We are starting with GBP, USD and EUR; we will add support for other currencies as necessary.

Added

  • We have updated the API to support multiple currencies, we are starting with GBP, USD and EUR.
  • We have added a /currencies route to detail the supported currencies.
  • We have increased the scope of our development test suite, specifically with regards to summaries.
  • We have added a /queue route to show the number of jobs in the queue.

Changed

  • We have updated our item collections. If the item type includes a monetary value, a currency object will be part of the response.
  • We have updated the relevant item POSTs, currency_id is now required.
  • We have updated the relevant item PATCHes, `currency_id is an allowable field.
  • We have updated our item summaries, the format of the response summary objects supports multiple currencies if necessary.
  • We have updated our resource type item summaries, the format of the response summary objects supports multiple currencies if necessary.

API – [v2.13.1]

For this release, we fix a couple of nasty bugs which are causing our cache invalidation to fail.

Changed

  • We have changed the cache which gets cleared when we create or delete a resource.
  • We have added a delay for the job which clears the cache on creation or deletion of a resource type and resource.

Fixed

  • We have corrected a type error; the permitted user check fails because of a type error.

API – [v2.13.0]

In this release, we move cache invalidation requests to a separate process. We have decided to utilise Laravel queues, so far, the API is more performant, and the minor delay in clearing cache is not causing any issues.

Added

  • We have added support for queues; we clear all cache via queues.

Changed

  • We have updated all our management controllers, we add a job to the queue rather than clearing the necessary cache synchronously.
  • We have added the Postman collection link to the menu and renamed the documentation button.
  • We have updated our README and included details on how to start the queue.

Fixed

  • We have corrected a couple of minor coding issues, unused parameters etc.
  • We have updated our changelog, small spelling error.
  • We have updated our controllers and added missing return statements.

API – [v2.12.2]

In this release we fix a few small bugs and make another tiny change to out cache management system. For the next release we are going to move all cache clear requests to queues.

Added

  • We have added additional tests to our POSTMAN test collection to ensure allowed values exist where expected.
  • We have updated our OPTIONS responses for summary controllers; where relevant, and we show the allowed values for a parameter or field.

Changed

  • We have updated our back-end dependencies.
  • We have updated our OPTIONS requests; in some cases, we were not showing allowed values for POST fields and GET parameters.

Fixed

  • We have tweaked our cache query; we use UNIX_TIMESTAMP() for comparison.
  • We have removed a unique index from the resource_type table.
  • We have updated the OPTIONS response for the resource-types collection; we show the allowed values for the item_type_id.

API – [v2.12.1]

In this release, we have reworked the majority of the code responsible for handling the different item type. As we added additional item types, it became clear we had a problem. We have reworked the system to be more configuration driven ready for version 3 of the API.

Added

  • We have reworked our item configuration; we are moving away from multiple item type classes and moving towards a configuration based setup.

Changed

  • We have updated web.config; our server will not serve static JSON files.
  • We have updated our back-end dependencies.
  • We will no longer send request error mails for 404s; the number of emails is getting out of hand.
  • We have updated our cache manager; some endpoints will only ever have a public cache, never a private cache.

Fixed

  • We have fixed a small bug when creating items of type ‘simple-item’ and ‘simple-expense’; we are not setting a date for ‘created_at`.
  • We have tweaked our cache management system; our system will not create a private cache for authenticated users when they are looking at public endpoints for which they have no permissions.
  • We have updated the allowed values for some OPTIONS requests; the allowed values are sometimes not displaying.
  • We have made a minor tweak to the query for selecting cache keys.