Skip to content

Releases: ezzatron/fake-permissions

v0.19.0

07 May 22:28
v0.19.0
7c3a207

Choose a tag to compare

v0.19.0 Pre-release
Pre-release

Added

  • Added the DelegatedPermissionsHandle type.
  • Added the DelegatedPermissionsResult type.
  • Added the PermissionStoreSubscriberDetails type.

Changed

  • [BREAKING] The createDelegatedPermissions() function's return value now has a handle object which contains the selectDelegate, selectedDelegate, and isSelectedDelegate methods, which were previously on the return value itself.

v0.18.0

07 May 09:15
v0.18.0
9c1a701

Choose a tag to compare

v0.18.0 Pre-release
Pre-release

Changed

  • [BREAKING] The masks option has moved from createPermissions() to createPermissionStore().

v0.17.5

07 May 08:27
v0.17.5
4415dc2

Choose a tag to compare

v0.17.5 Pre-release
Pre-release

Fixed

  • Calling remember() on an AccessDialog now throws an error if the dialog is already closed.

v0.17.4

06 May 09:13
v0.17.4
c983308

Choose a tag to compare

v0.17.4 Pre-release
Pre-release

Fixed

  • Stopped TypeScript from eliding imports for types that appear in documentation comments.

v0.17.3

06 May 08:25
v0.17.3
0472c40

Choose a tag to compare

v0.17.3 Pre-release
Pre-release

Fixed

  • Removed undesired @inline documentation comment annotations.

v0.17.2

06 May 08:02
v0.17.2
32b4339

Choose a tag to compare

v0.17.2 Pre-release
Pre-release

Fixed

  • Improve compatibility with VSCode in documentation comments.

v0.17.1

05 May 05:48
v0.17.1
06ba390

Choose a tag to compare

v0.17.1 Pre-release
Pre-release

Fixed

  • No changes, releasing to test new release workflow.

v0.17.0

04 May 11:47
v0.17.0
432dc44

Choose a tag to compare

v0.17.0 Pre-release
Pre-release

Added

  • Added the buildInitialPermissionStates function.
  • Added the isMatchingDescriptor function.
  • Added the selectedDelegate property of the return value of createDelegatedPermissions(), which is a function that returns the currently selected delegate.
  • Added the DelegatedPermissionsParameters type.
  • Added the PermissionAccessStatusAllowed type.
  • Added the PermissionAccessStatusBlocked type.
  • Added the PermissionAccessStatusBlockedAutomatically type.
  • Added the PermissionAccessStatusDenied type.
  • Added the PermissionAccessStatusGranted type.
  • Added the PermissionAccessStatusPrompt type.
  • Added the PermissionStoreParameters type.
  • Added the UserParameters type.

Changed

  • [BREAKING] Renamed the AccessRequest type to AccessRequestRecord.
  • [BREAKING] Renamed the isDelegateSelected property of the return value of createDelegatedPermissions() to isSelectedDelegate.
  • The HandleAccessRequest type can now return an optional HandleAccessRequestComplete callback that receives the result of the access request once the handler has finished executing.

Removed

  • [BREAKING] Removed the IsDelegateSelected type.
  • [BREAKING] Removed the NonEmptyPermissionStateArray type.
  • [BREAKING] Removed the SelectDelegate type.

Fixed

  • Fixed a bug where the task parameter of PermissionObserver.waitForState() was not being awaited when the permission state was already in one of the desired states.

v0.16.0

02 May 03:27
v0.16.0
a66e2a0

Choose a tag to compare

v0.16.0 Pre-release
Pre-release

Removed

  • Removed the Unsubscribe type.

v0.15.0

02 May 03:20
v0.15.0
f0d8ac9

Choose a tag to compare

v0.15.0 Pre-release
Pre-release

Added

  • Added the NonEmptyPermissionStateArray type.
  • Added the PermissionsParameters type.
  • Added the Unsubscribe type.