Skip to content

Commit 398a8d4

Browse files
Flet 0.21.1 (#2819)
* Bump and loose Flet python dependencies * Install `uvicorn[standard]` * Dispose _appLifecycleListener * Remove unused vars * Bump Flet version to 0.21.1 * Fix event handler: do not call it when converter returned None Fix #2820 * Update change log
1 parent 5f3baa6 commit 398a8d4

File tree

23 files changed

+403
-90
lines changed

23 files changed

+403
-90
lines changed

CHANGELOG.md

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

3+
# 0.21.1
4+
5+
* Python dependencies bumped and losen.
6+
* Fixed: "No supported WebSocket library detected." when running web app with Flet 0.21.0 ([#2818](https://github.com/flet-dev/flet/issues/2818)).
7+
* Fix `EventHandler`: do not call it when converter returned `None`.
8+
39
# 0.21.0
410

511
* FastAPI instead of built-in Fletd server. Mixed async/sync apps. ([#2700](https://github.com/flet-dev/flet/issues/2700)).

client/pubspec.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,42 +223,42 @@ packages:
223223
path: "../packages/flet"
224224
relative: true
225225
source: path
226-
version: "0.21.0"
226+
version: "0.21.1"
227227
flet_audio:
228228
dependency: "direct main"
229229
description:
230230
path: "../packages/flet_audio"
231231
relative: true
232232
source: path
233-
version: "0.21.0"
233+
version: "0.21.1"
234234
flet_audio_recorder:
235235
dependency: "direct main"
236236
description:
237237
path: "../packages/flet_audio_recorder"
238238
relative: true
239239
source: path
240-
version: "0.21.0"
240+
version: "0.21.1"
241241
flet_lottie:
242242
dependency: "direct main"
243243
description:
244244
path: "../packages/flet_lottie"
245245
relative: true
246246
source: path
247-
version: "0.21.0"
247+
version: "0.21.1"
248248
flet_video:
249249
dependency: "direct main"
250250
description:
251251
path: "../packages/flet_video"
252252
relative: true
253253
source: path
254-
version: "0.21.0"
254+
version: "0.21.1"
255255
flet_webview:
256256
dependency: "direct main"
257257
description:
258258
path: "../packages/flet_webview"
259259
relative: true
260260
source: path
261-
version: "0.21.0"
261+
version: "0.21.1"
262262
flutter:
263263
dependency: "direct main"
264264
description: flutter

packages/flet/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.21.1
2+
3+
* Bugfixing.
4+
15
# 0.21.0
26

37
* FastAPI instead of built-in Fletd server. Mixed async/sync apps. ([#2700](https://github.com/flet-dev/flet/issues/2700)).

packages/flet/lib/src/controls/cupertino_bottom_sheet.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ import '../utils/edge_insets.dart';
88
import 'create_control.dart';
99
import 'error.dart';
1010

11-
const double _kItemExtent = 32.0;
12-
const double _kDefaultDiameterRatio = 1.07;
13-
const double _kSqueeze = 1.45;
14-
1511
class CupertinoBottomSheetControl extends StatefulWidget {
1612
final Control? parent;
1713
final Control control;

packages/flet/lib/src/controls/page.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ class _PageControlState extends State<PageControl> with FletStoreMixin {
196196
if (_keyboardHandlerSubscribed) {
197197
HardwareKeyboard.instance.removeHandler(_handleKeyDown);
198198
}
199+
_appLifecycleListener.dispose();
199200
super.dispose();
200201
}
201202

packages/flet/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/packages/flet
5-
version: 0.21.0
5+
version: 0.21.1
66

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

packages/flet_audio/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.21.1
2+
3+
No changes in this release. Version bumped to follow parent `flet` package.
4+
15
# 0.21.0
26

37
No changes in this release. Version bumped to follow parent `flet` package.

packages/flet_audio/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: flet_audio
22
description: Flet Audio control
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/flet/packages/flet_audio
5-
version: 0.21.0
5+
version: 0.21.1
66

77
environment:
88
sdk: '>=3.2.3 <4.0.0'

packages/flet_audio_recorder/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.21.1
2+
3+
No changes in this release. Version bumped to follow parent `flet` package.
4+
15
# 0.21.0
26

37
No changes in this release. Version bumped to follow parent `flet` package.

packages/flet_audio_recorder/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: flet_audio_recorder
22
description: Flet AudioRecorder control
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/flet/packages/flet_audio_recorder
5-
version: 0.21.0
5+
version: 0.21.1
66

77
environment:
88
sdk: '>=3.2.3 <4.0.0'

0 commit comments

Comments
 (0)