Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.

Latest commit

 

History

History
71 lines (48 loc) · 3.02 KB

CHANGELOG.md

File metadata and controls

71 lines (48 loc) · 3.02 KB

Changelog

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.

[4.0.0] - 2020-12-22

Changed

  • (SEMVER-MAJOR) filterResponse caveat now performs a deep equality check (#127)
    • The filter was previously just a strict equality check per array item. Anything that can be compared by fast-deep-equal@^2.0.1 can now be added to the caveat value. Whether something should be added we leave to the consumer.
    • Since consumers may have relied on the previous behavior for object and/or array values, this change justifies a major version bump.

3.2.1 - 2020-11-19

Changed

3.2.0 - 2020-09-23

Changed

3.1.0 - 2020-07-29

Changed

  • Update/remove various dependencies, resulting in a smaller bundle and better performance

3.0.1 - 2020-07-06

Changed

  • requestPermissionsMiddleware: Stringify req.id when defaulting to it as the permissions request ID
    • Allowing numerical IDs was a mistake
  • IPermissionsRequest
    • Update type of metadata.id from string | number to string

[3.0.0] - 2020-07-05

Changed

  • (SEMVER-MAJOR) requestPermissionsMiddleware: Stop using or setting the id property from the IOriginMetadata parameter
  • (SEMVER-MAJOR) requestPermissionsMiddleware: Default to req.id value as the pending permissions request object id, with uuid() as a fallback
  • requestPermissionsMiddleware: Rename IOriginMetadata parameter from metadata to domain, 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 a metadata.origin property
      • Update type of metadata.id from string to string | number
    • IOriginMetadata
      • Remove id property, which is now never used in practice