Skip to content

Commit 10ea749

Browse files
Prepare Flet 0.27.0 (#4935)
* Flet version bumped to 0.27.0, changelog updated * Changelog updated * remove default value of `ReorderableListView.autoScrollerVelocityScalar` --------- Co-authored-by: ndonkoHenri <[email protected]>
1 parent 906f01c commit 10ea749

File tree

5 files changed

+67
-9
lines changed

5 files changed

+67
-9
lines changed

CHANGELOG.md

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

3+
## 0.27.0
4+
5+
* `DropdownMenu` control ([#1088](https://github.com/flet-dev/flet/issues/1088))
6+
* feat: `ReorderableListView` Control ([#4865](https://github.com/flet-dev/flet/pull/4865))
7+
* Remove v0.24.0 deprecations [#4932](https://github.com/flet-dev/flet/pull/4932))
8+
* Implement `Container.dark_theme` property ([#4857](https://github.com/flet-dev/flet/issues/4857))
9+
* Upgrade to Pyodide 0.27 for `httpx` Support ([#4840](https://github.com/flet-dev/flet/issues/4840))
10+
* Remove `CupertinoCheckbox.inactive_color` in favor of `fill_color` ([#4837](https://github.com/flet-dev/flet/issues/4837))
11+
* `flet build`: use Provisioning Profile to sign iOS app archive (`.ipa`), deprecate `--team` option ([#4869](https://github.com/flet-dev/flet/issues/4869))
12+
* feat: `flet doctor` CLI command ([#4803](https://github.com/flet-dev/flet/pull/4803))
13+
* feat: implement button themes (for `ElevatedButton`, `OutlinedButton`, `TextButton`, `FilledButton`, `IconButton `) ([#4872](https://github.com/flet-dev/flet/pull/4872))
14+
* `ControlEvent.data` should be of type `Optional[str]` and default to `None` ([#4786](https://github.com/flet-dev/flet/issues/4786))
15+
* `flet build`: add `--source-packages` to allow installing certain Python packages from source distros ([#4762](https://github.com/flet-dev/flet/issues/4762))
16+
* disable markup for flet-cli stdout logs ([#4796](https://github.com/flet-dev/flet/pull/4796))
17+
* Fixed: Disable rich's Markup for stdout logs ([#4795](https://github.com/flet-dev/flet/issues/4795))
18+
* Fixed: Setting `SearchBar.bar_border_side` isn't visually honoured ([#4767](https://github.com/flet-dev/flet/issues/4767))
19+
* Fixed: Dropdown: Long options cause the down-arrow to oveflow ([#4838](https://github.com/flet-dev/flet/issues/4838))
20+
* Fixed: CupertinoSlider initialisation does not allow values less then zero/greater then 1 ([#4853](https://github.com/flet-dev/flet/issues/4853))
21+
* Fixed: Same code shows different appearance in Flet APP/Web/PC local. ([#4855](https://github.com/flet-dev/flet/issues/4855))
22+
* Fixed: Transforming scale renders a grey screen ([#4759](https://github.com/flet-dev/flet/issues/4759))
23+
* Fixed: UnicodeDecodeError when using accented characters in manifest.json ([#4713](https://github.com/flet-dev/flet/issues/4713))
24+
* Fixed: Implement `SearchBar.blur()` to programmatically unfocus the bar ([#4827](https://github.com/flet-dev/flet/issues/4827))
25+
326
## 0.26.0
427

528
* Flutter extensions: `flet_*` packages moved to separate repositories ([#4721](https://github.com/flet-dev/flet/pull/4721))

ci/whats-new.ps1

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,36 @@
1-
$milestone = 7
1+
$milestone = 12
22

33
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
4-
#Invoke-RestMethod https://api.github.com/repos/appveyor/ci/milestones
5-
$issues = Invoke-RestMethod "https://api.github.com/repos/flet-dev/flet/issues?state=all&per_page=100&milestone=$($milestone)&sort=created&direction=asc"
64

7-
$itemLabels = @{}
5+
# Fetch issues from GitHub
6+
$issues = Invoke-RestMethod "https://api.github.com/repos/flet-dev/flet/issues?state=all&per_page=100&milestone=$($milestone)&sort=created&direction=asc"
87

9-
foreach ($issue in $issues) {
8+
# Prepare an array with sorting
9+
$sortedIssues = $issues | ForEach-Object {
10+
$isBug = 0
11+
foreach ($label in $_.labels) {
12+
if ($label.name -eq 'bug') {
13+
$isBug = 1
14+
}
15+
}
16+
[PSCustomObject]@{
17+
Issue = $_
18+
IsBug = $isBug # Sorting key: 0 for non-bug, 1 for bug
19+
}
20+
} | Sort-Object IsBug # Sort: Non-bug first, bug last
1021

22+
# Output sorted issues
23+
foreach ($item in $sortedIssues) {
24+
$issue = $item.Issue
1125
$prefix = ""
1226

1327
foreach ($label in $issue.labels) {
1428
if ($label.name -eq 'bug') {
1529
$prefix = "Fixed: "
16-
#break
1730
}
1831
}
1932

2033
$title = $issue.title.replace('fix: ', '')
2134

22-
#"$($issue.html_url) $prefix$($issue.title)"
2335
"* $prefix$($title) ([#$($issue.number)]($($issue.html_url)))"
2436
}

packages/flet/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# 0.27.0
2+
3+
* `DropdownMenu` control ([#1088](https://github.com/flet-dev/flet/issues/1088))
4+
* feat: `ReorderableListView` Control ([#4865](https://github.com/flet-dev/flet/pull/4865))
5+
* Remove v0.24.0 deprecations [#4932](https://github.com/flet-dev/flet/pull/4932))
6+
* Implement `Container.dark_theme` property ([#4857](https://github.com/flet-dev/flet/issues/4857))
7+
* Upgrade to Pyodide 0.27 for `httpx` Support ([#4840](https://github.com/flet-dev/flet/issues/4840))
8+
* Remove `CupertinoCheckbox.inactive_color` in favor of `fill_color` ([#4837](https://github.com/flet-dev/flet/issues/4837))
9+
* `flet build`: use Provisioning Profile to sign iOS app archive (`.ipa`), deprecate `--team` option ([#4869](https://github.com/flet-dev/flet/issues/4869))
10+
* feat: `flet doctor` CLI command ([#4803](https://github.com/flet-dev/flet/pull/4803))
11+
* feat: implement button themes (for `ElevatedButton`, `OutlinedButton`, `TextButton`, `FilledButton`, `IconButton `) ([#4872](https://github.com/flet-dev/flet/pull/4872))
12+
* `ControlEvent.data` should be of type `Optional[str]` and default to `None` ([#4786](https://github.com/flet-dev/flet/issues/4786))
13+
* `flet build`: add `--source-packages` to allow installing certain Python packages from source distros ([#4762](https://github.com/flet-dev/flet/issues/4762))
14+
* disable markup for flet-cli stdout logs ([#4796](https://github.com/flet-dev/flet/pull/4796))
15+
* Fixed: Disable rich's Markup for stdout logs ([#4795](https://github.com/flet-dev/flet/issues/4795))
16+
* Fixed: Setting `SearchBar.bar_border_side` isn't visually honoured ([#4767](https://github.com/flet-dev/flet/issues/4767))
17+
* Fixed: Dropdown: Long options cause the down-arrow to oveflow ([#4838](https://github.com/flet-dev/flet/issues/4838))
18+
* Fixed: CupertinoSlider initialisation does not allow values less then zero/greater then 1 ([#4853](https://github.com/flet-dev/flet/issues/4853))
19+
* Fixed: Same code shows different appearance in Flet APP/Web/PC local. ([#4855](https://github.com/flet-dev/flet/issues/4855))
20+
* Fixed: Transforming scale renders a grey screen ([#4759](https://github.com/flet-dev/flet/issues/4759))
21+
* Fixed: UnicodeDecodeError when using accented characters in manifest.json ([#4713](https://github.com/flet-dev/flet/issues/4713))
22+
* Fixed: Implement `SearchBar.blur()` to programmatically unfocus the bar ([#4827](https://github.com/flet-dev/flet/issues/4827))
23+
124
# 0.26.0
225

326
* Flutter extensions: `flet_*` packages moved to separate repositories ([#4721](https://github.com/flet-dev/flet/pull/4721))

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class _ListViewControlState extends State<ReorderableListViewControl> {
8787
parentAdaptive: adaptive)
8888
: null;
8989
var autoScrollerVelocityScalar =
90-
widget.control.attrDouble("autoScrollerVelocityScalar", 1.0);
90+
widget.control.attrDouble("autoScrollerVelocityScalar");
9191

9292
void onReorder(int oldIndex, int newIndex) {
9393
debugPrint("onReorder: $oldIndex -> $newIndex");

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.26.0
5+
version: 0.27.0
66

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

0 commit comments

Comments
 (0)