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.
0.2.0 - 2025-06-26#
Added#
- Deployed online documentation: https://flet-dev.github.io/flet-permissionhandler/
PermissionHandlercontrol new methods:get_status_asyncrequest_asyncopen_app_settings_async
Changed#
- Refactored
PermissionHandlercontrol to use@ft.controldataclass-style definition and switched toServicecontrol type
Breaking Changes#
- Enum
PermissionTyperenamed toPermission PermissionHandlermethodcheck_permission_asyncrenamed toget_status_async, with parameters changed:of→permission(type:PermissionType→Permission)wait_timeout→timeout
PermissionHandlermethodrequest_permission_asyncrenamed torequest_async, with parameters changed:of→permission(type:PermissionType→Permission)wait_timeout→timeout
PermissionHandlermethodopen_app_settings_asyncparameterwait_timeoutrenamed totimeout(type:Optional[float]→int)- Removed sync methods from
PermissionHandler:check_permission→ useget_status_asyncinsteadrequest_permission→ userequest_asyncinstead
open_app_settings→ useopen_app_settings_asyncinsteadPermissionHandlermust now be added toPage.servicesbefore being used instead ofPage.overlay.PermissionHandlercan now only be used on the following platforms: Windows, iOS, Android, and Web. AFletUnimplementedPlatformEceptionwill be raised if used on unsupported platforms.
0.1.0 - 2025-01-15#
Initial release.