X-Last-Updated
deanblackborough
released this
28 Nov 23:19
·
576 commits
to master
since this release
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-Updated
header to theresource-types
,resources
,categories
,subcategories
,items
andresource items
collection routes. - We have added the
X-Last-Updated
header 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
Transformer
classes; we have moved them out of theModels
namespace.
Fixed
- We have updated the way we calculated the value for
X-Last-Updated
. We are using the max of thecreated at
andupdated at
, not just looking at thecreated at
time.