What's Changed
- Modal: Stop exposing auto-dismiss cause in #226
- Remove
fade_transitionas announced in #230 - Remove
free_to_awaitparameters in #232 - Modal: Change the way auto-dismissal is checked in #234
- Remove
rest_of_touch_eventsand renamerest_of_touch_vents_cmtorest_of_touch_eventsin #233 - Add
visibility_aware_touch_eventsin #235
Migrating from 0.10.0
Modal submodule
from asynckivy import modal
# before
async with modal.open(...) as auto_dismiss_event:
...
if auto_dismiss_event.is_fired:
...
# after
async with modal.open(...) as auto_dismissed:
...
if auto_dismissed:
...fade_transision
import asynckivy as ak
from asynckivy import transition
# before
async with ak.fade_transition(...):
...
# after
async with transition.fade(...):
...free_to_await
# before
any_api(..., free_to_await=...)
# after
any_api(...)rest_of_touch_events
import asynckivy as ak
# before
async for __ in ak.rest_of_touch_events(...):
...
# after
async with ak.rest_of_touch_events(...) as on_touch_move:
while True:
await on_touch_move()
...Full Changelog: v0.10.0...v0.11.0