Skip to content

Commit fa2eceb

Browse files
v0.8.0 release notes (#1550)
* Flet 0.8.0 change log * Update CHANGELOG.md * Small fixes in changelog
1 parent e5fa92a commit fa2eceb

File tree

4 files changed

+72
-2
lines changed

4 files changed

+72
-2
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Flet changelog
22

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+
338
## 0.7.4
439

540
* Added `use_color_emoji` to `ft.app()` in `flet-pyodide` ([#1416](https://github.com/flet-dev/flet/issues/1416)).

client/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ packages:
183183
path: "../package"
184184
relative: true
185185
source: path
186-
version: "0.7.4"
186+
version: "0.8.0"
187187
flutter:
188188
dependency: "direct main"
189189
description: flutter

package/CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
## 0.8.0
2+
3+
* 📱🎉 **iOS support** - build standalone iOS apps in Python:
4+
* [Flet](https://apps.apple.com/app/flet/id1624979699) app in App Store to test Flet projects on iOS devices.
5+
* New `--ios` switch for `flet run` command to test Flet app on your iOS device.
6+
* [Testing on iOS guide](https://flet.dev/docs/guides/python/testing-on-ios).
7+
* [serious_python](https://pub.dev/packages/serious_python) Flutter package to add Python support to a Flutter app.
8+
* [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.
9+
* 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.
10+
* Less annoying re-connecting logic and loading page for mobile Flet apps.
11+
* 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:
12+
13+
```python
14+
ft.app(main, view=ft.AppView.WEB_BROWSER, web_renderer=ft.WebRenderer.HTML)
15+
```
16+
17+
* Flet packages `version` is centralized in `flet_core.version`.
18+
* 💥 **Breaking change:** OAuth providers must be imported from `flet.auth.providers` module, for example:
19+
20+
```python
21+
from flet.auth.providers import GitHubOAuthProvider
22+
```
23+
24+
* Added `Image.error_content` property - fallback content if image cannot be loaded.
25+
* New `BottomSheet` properties: `dismissible`, `enable_drag`, `show_drag_handle`, `use_safe_area` ([#1468](https://github.com/flet-dev/flet/issues/1468)).
26+
* `ListTile.toggle_inputs` property - clicking on a list tile should toggle the state of `Radio`, `Checkbox` or `Switch` inside the tile.
27+
* 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()`.
28+
* New `FletApp` properties: `reconnect_interval_ms`, `reconnect_timeout_ms`, `on_error`.
29+
* New `TextField` properties: `autocorrect`, `enable_suggestions`, `smart_dashes_type`, `smart_quotes_type`.
30+
* New `SafeArea` control.
31+
* New `SnackBar` properties: `behavior`, `dismiss_direction`, `show_close_icon`, `close_icon_color`, `margin`, `padding`, `width`, `elevation`.
32+
* New `View.fullscreen_dialog` property.
33+
* `ft.app()` assumes `assets_dir="assets"` by default.
34+
* New `PaintSweepGradient.rotation` property.
35+
136
## 0.7.4
237

338
* Added `use_color_emoji` to `ft.app()` in `flet-pyodide` ([#1416](https://github.com/flet-dev/flet/issues/1416)).

package/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: flet
22
description: Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app.
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/flet
5-
version: 0.7.4
5+
version: 0.8.0
66

77
# This package supports all platforms listed below.
88
platforms:

0 commit comments

Comments
 (0)