|
1 | 1 | # Flet changelog |
2 | 2 |
|
| 3 | +## 0.8.0 |
| 4 | + |
| 5 | +* 📱🎉 **iOS support** - build standalone iOS apps in Python: |
| 6 | + * [Flet](https://apps.apple.com/app/flet/id1624979699) app in App Store to test Flet projects on iOS devices. |
| 7 | + * New `--ios` switch for `flet run` command to test Flet app on your iOS device. |
| 8 | + * [Testing on iOS guide](https://flet.dev/docs/guides/python/testing-on-ios). |
| 9 | + * [serious_python](https://pub.dev/packages/serious_python) Flutter package to add Python support to a Flutter app. |
| 10 | + * [An example of Flutter app](https://github.com/flet-dev/serious-python/tree/main/example/flet_example) combining [serious_python](https://pub.dev/packages/serious_python) package, [flet](https://pub.dev/packages/flet) package and your Python program into a ready iOS app. |
| 11 | +* Part of `flet` package logic moved to a new `flet-runtime` package. `flet` package depends on `flet-runtime`. The new `flet-embed` package introduced depending on `flet-runtime` - to run Python apps embedded into Flutter apps. |
| 12 | +* Less annoying re-connecting logic and loading page for mobile Flet apps. |
| 13 | +* Enum parameters for `ft.app()`s `view: ft.AppView` and `web_renderer: ft.WebRenderer` parameters (string values are still supported for backward compatibility), for example: |
| 14 | + |
| 15 | +```python |
| 16 | +ft.app(main, view=ft.AppView.WEB_BROWSER, web_renderer=ft.WebRenderer.HTML) |
| 17 | +``` |
| 18 | + |
| 19 | +* Flet packages `version` is centralized in `flet_core.version`. |
| 20 | +* 💥 **Breaking change:** OAuth providers must be imported from `flet.auth.providers` module, for example: |
| 21 | + |
| 22 | +```python |
| 23 | +from flet.auth.providers import GitHubOAuthProvider |
| 24 | +``` |
| 25 | + |
| 26 | +* Added `Image.error_content` property - fallback content if image cannot be loaded. |
| 27 | +* New `BottomSheet` properties: `dismissible`, `enable_drag`, `show_drag_handle`, `use_safe_area` ([#1468](https://github.com/flet-dev/flet/issues/1468)). |
| 28 | +* `ListTile.toggle_inputs` property - clicking on a list tile should toggle the state of `Radio`, `Checkbox` or `Switch` inside the tile. |
| 29 | +* New `page` methods for showing/closing overlays: `page.open_banner()`, `page.close_banner()`, `page.open_dialog()`, `page.close_dialog()`, `page.open_bottom_sheet()`, `page.close_bottom_sheet()`. |
| 30 | +* New `FletApp` properties: `reconnect_interval_ms`, `reconnect_timeout_ms`, `on_error`. |
| 31 | +* New `TextField` properties: `autocorrect`, `enable_suggestions`, `smart_dashes_type`, `smart_quotes_type`. |
| 32 | +* New `SafeArea` control. |
| 33 | +* New `SnackBar` properties: `behavior`, `dismiss_direction`, `show_close_icon`, `close_icon_color`, `margin`, `padding`, `width`, `elevation`. |
| 34 | +* New `View.fullscreen_dialog` property. |
| 35 | +* `ft.app()` assumes `assets_dir="assets"` by default. |
| 36 | +* New `PaintSweepGradient.rotation` property. |
| 37 | + |
3 | 38 | ## 0.7.4 |
4 | 39 |
|
5 | 40 | * Added `use_color_emoji` to `ft.app()` in `flet-pyodide` ([#1416](https://github.com/flet-dev/flet/issues/1416)). |
|
0 commit comments