In this release, we add the X-Last-Updated header to many more routes. We are going to conditionally cache responses in the Costs to Expect App and need to know the last time the content changed, one day we will use the etag.
Changed
- We have added the
X-Last-Updatedheader to theresource-types,resources,categories,subcategories,itemsandresource itemscollection routes. - We have added the
X-Last-Updatedheader to additional summary routes; the header was missing, and we are going to use it. - We have increased the coverage of our request test suite.
- We have relocated our
Transformerclasses; we have moved them out of theModelsnamespace.
Fixed
- We have updated the way we calculated the value for
X-Last-Updated. We are using the max of thecreated atandupdated at, not just looking at thecreated attime.