Skip to content

Releases: alexandercerutti/fastify-passkit-webservice

v1.4.0

03 Nov 20:56
Compare
Choose a tag to compare
  • Added support to pushToken as a parameter for onRegister callback;

Full Changelog: v1.3.0...v1.4.0

v1.3.0

01 Nov 23:48
Compare
Choose a tag to compare
  • Added support to Fastify v5. This release makes makes it compatible with both v4 and v5;

Full Changelog: v1.2.0...v1.3.0

v1.2.0

27 Nov 23:36
Compare
Choose a tag to compare

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

v1.1.0

27 Nov 23:35
Compare
Choose a tag to compare

Changes:

  • Added hooks-performed checks on return types for update and list plugins callbacks;
  • Replaced console.warn with fastify logs;
  • Improved tests and typechecking for plugins;

Bug fix:

  • Fixed list plugin, which was listening for POST instead of GET;
  • Renamed list plugin's queryString parameters (and, therefore, the according parameter in onListRetrieve 'filters') to passesUpdatedSince, as per Apple documentation;

v1.0.2

27 Nov 23:34
Compare
Choose a tag to compare

Changes:

  • Renamed onIncomingLog to onIncomingLogs;

Full Changelog: v1.0.1...v1.0.2