Repository navigation
Improvements
- Give each app embedded with
FletAppits ownSharedPreferencesspace: its keys go under a prefix set with the newFletApp.storage_prefix, by default one derived from its URL, so an embedded app and its host, or two embedded apps, keep separate keys;get_keys()andclear()only see the embedded app's own.""shares the host's keys as before. On web, a page can set the top-level app's prefix withwindow.flet.storagePrefix, and an embedded app's prefix nests under its host's. Data an embedded app saved before this change stays under the old, unprefixed keys (#7135) by @FeodorFitsner. - flet-secure-storage: an app embedded with
FletAppgets its ownSecureStoragespace too, under the same prefix as itsSharedPreferences:get(),set(),contains_key()andremove()use its own keys,get_all()lists only those, without the prefix, andclear()removes only those (#7137) by @FeodorFitsner. - On web, don't open
javascript:,blob:orfilesystem:URLs fromUrlLauncher.launch_url(),UrlLauncher.open_window(), a control'surlor aMarkdownlink, and don't load them in aWebView; a scheme hidden behind leading spaces or tabs (" java\tscript:") is recognized as the browser would. Anopen_window()titlestarting with_no longer acts as a browser target such as_self(#7136) by @FeodorFitsner. - An app embedded with
FletAppopens a_self,_parentor_toplink in a new tab instead of replacing its host's page, and on web itsWebView(flet-webview) shows the page in a sandboxed frame, apart from the host's page (#7136) by @FeodorFitsner. - Give each app embedded with
FletAppits ownSharedPreferencesspace: its keys go under a prefix set with the newFletApp.storage_prefix, by default one derived from its URL, so an embedded app and its host, or two embedded apps, keep separate keys;get_keys()andclear()only see the embedded app's own.""shares the host's keys as before. On web, a page can set the top-level app's prefix withwindow.flet.storagePrefix, and an embedded app's prefix nests under its host's. Data an embedded app saved before this change stays under the old, unprefixed keys (#7135) by @FeodorFitsner.
Full Changelog: v1.1.3...v1.1.4