Releases: alexandercerutti/fastify-passkit-webservice
Releases · alexandercerutti/fastify-passkit-webservice
v1.4.0
- Added support to
pushToken
as a parameter foronRegister
callback;
Full Changelog: v1.3.0...v1.4.0
v1.3.0
- 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
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 headerlast-modified
will be supplied to the response, with the current UTC time; - Added support to a new parameter
modifiedSinceTimestamp
inonUpdateRequest
callback, containing the timestamp (number) of the provided request headerif-modified-since
. If the header is not available, it will be undefined;
Full Changelog: v1.1.0...v1.2.0
v1.1.0
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;