All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
For changes prior to 3.0.0
, please see the package's GitHub Releases.
- Update various dependencies
3.1.0 - 2020-07-29
- Update/remove various dependencies, resulting in a smaller bundle and better performance
3.0.1 - 2020-07-06
requestPermissionsMiddleware
: Stringifyreq.id
when defaulting to it as the permissions request ID- Allowing numerical IDs was a mistake
IPermissionsRequest
- Update type of
metadata.id
fromstring | number
tostring
- Update type of
- BREAKING:
requestPermissionsMiddleware
: Stop using or setting theid
property from theIOriginMetadata
parameter - BREAKING:
requestPermissionsMiddleware
: Default toreq.id
value as the pending permissions request objectid
, withuuid()
as a fallback requestPermissionsMiddleware
: RenameIOriginMetadata
parameter frommetadata
todomain
, in line with other middleware functions- Its former name led to confused usage by this package and its consumers
- Types
IPermissionsRequest
- Remove top-level
origin
property, since there's already ametadata.origin
property - Update type of
metadata.id
fromstring
tostring | number
- Remove top-level
IOriginMetadata
- Remove
id
property, which is now never used in practice
- Remove