Skip to content

v1.2.0

Compare
Choose a tag to compare
@alexandercerutti alexandercerutti released this 27 Nov 23:36
· 11 commits to master since this release

Changes:

  • Added support to undefined return type from onUpdateRequest callback. When this will happen, an HTTP 304 Not Modified will be sent instead. When a pass is returned, instead, the header last-modified will be supplied to the response, with the current UTC time;
  • Added support to a new parameter modifiedSinceTimestamp in onUpdateRequest callback, containing the timestamp (number) of the provided request header if-modified-since. If the header is not available, it will be undefined;

Full Changelog: v1.1.0...v1.2.0