From d0538ad1abce718ae9262af33eed4e00200fad4e Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Tue, 3 Jan 2023 10:01:38 -0800 Subject: [PATCH 1/4] Changelog updated --- CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ package/CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83f991904..7fb057695 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # Flet changelog +## 0.3.0 + +* `flet pack` CLI to create app bundles with custom icons and metadata (https://github.com/flet-dev/flet/issues/770) +* Control comments (https://github.com/flet-dev/flet/issues/681) +* Fix MaterialState error in ButtonStyle (https://github.com/flet-dev/flet/issues/689) +* Flet CLI moved into separate module (https://github.com/flet-dev/flet/issues/679) +* Added BorderRadius to `__init__.py` (https://github.com/flet-dev/flet/issues/691) +* Added dense property to TextField and Dropdown controls (https://github.com/flet-dev/flet/issues/696) +* Correctly handle control replacement (https://github.com/flet-dev/flet/issues/710) +* Fix "replace" when moving children in the collection (https://github.com/flet-dev/flet/issues/711) +* Remove hard-coded colors in Markdown default code theme (https://github.com/flet-dev/flet/issues/731) +* Authorization should allow to override, such as request_token() methods (https://github.com/flet-dev/flet/issues/776) + +## 0.2.4 + +* Use correct Flet viewer path when installed from a source package (https://github.com/flet-dev/flet/issues/675) +* add `ControlEvent` to __init__.py (https://github.com/flet-dev/flet/issues/657) +* fix: handle a few corner cases (https://github.com/flet-dev/flet/issues/503) + +## 0.2.2 + +* Make `Control.offset` work without animation enabled (https://github.com/flet-dev/flet/issues/632) +* Added `Dropdown.alignment` property (https://github.com/flet-dev/flet/issues/630) +* Remove beartype runtime check for all `value` properties +* Fix `page.scroll` to allow None and strings +* Literals to Enums (https://github.com/flet-dev/flet/issues/626) +* `gapless_playback` is `True` by default for base64 images +* Ability to change border shape of FAB control (https://github.com/flet-dev/flet/issues/621) +* Added Slider's `on_change_start` and `on_change_end` events (https://github.com/flet-dev/flet/issues/620) +* DataTable control: 1-to-1 mapping to Flutter (https://github.com/flet-dev/flet/issues/583) +* Implemented `page.can_launch_url()` (https://github.com/flet-dev/flet/issues/582) +* Update project changelog from very beginning (https://github.com/flet-dev/flet/issues/581) +* Publish pre releases to pypi.org (https://github.com/flet-dev/flet/issues/579) +* Theming Slider control (https://github.com/flet-dev/flet/issues/573) + ## 0.1.65 * Fixed: Floating Action Button now showing on top left ([#567](https://github.com/flet-dev/flet/issues/567)) diff --git a/package/CHANGELOG.md b/package/CHANGELOG.md index 9bacec0d1..e71a2e746 100644 --- a/package/CHANGELOG.md +++ b/package/CHANGELOG.md @@ -1,3 +1,38 @@ +## 0.3.0 + +* `flet pack` CLI to create app bundles with custom icons and metadata (https://github.com/flet-dev/flet/issues/770) +* Control comments (https://github.com/flet-dev/flet/issues/681) +* Fix MaterialState error in ButtonStyle (https://github.com/flet-dev/flet/issues/689) +* Flet CLI moved into separate module (https://github.com/flet-dev/flet/issues/679) +* Added BorderRadius to `__init__.py` (https://github.com/flet-dev/flet/issues/691) +* Added dense property to TextField and Dropdown controls (https://github.com/flet-dev/flet/issues/696) +* Correctly handle control replacement (https://github.com/flet-dev/flet/issues/710) +* Fix "replace" when moving children in the collection (https://github.com/flet-dev/flet/issues/711) +* Remove hard-coded colors in Markdown default code theme (https://github.com/flet-dev/flet/issues/731) +* Authorization should allow to override, such as request_token() methods (https://github.com/flet-dev/flet/issues/776) + +## 0.2.4 + +* Use correct Flet viewer path when installed from a source package (https://github.com/flet-dev/flet/issues/675) +* add `ControlEvent` to `__init__.py` (https://github.com/flet-dev/flet/issues/657) +* fix: handle a few corner cases (https://github.com/flet-dev/flet/issues/503) + +## 0.2.2 + +* Make `Control.offset` work without animation enabled (https://github.com/flet-dev/flet/issues/632) +* Added `Dropdown.alignment` property (https://github.com/flet-dev/flet/issues/630) +* Remove beartype runtime check for all `value` properties +* Fix `page.scroll` to allow None and strings +* Literals to Enums (https://github.com/flet-dev/flet/issues/626) +* `gapless_playback` is `True` by default for base64 images +* Ability to change border shape of FAB control (https://github.com/flet-dev/flet/issues/621) +* Added Slider's `on_change_start` and `on_change_end` events (https://github.com/flet-dev/flet/issues/620) +* DataTable control: 1-to-1 mapping to Flutter (https://github.com/flet-dev/flet/issues/583) +* Implemented `page.can_launch_url()` (https://github.com/flet-dev/flet/issues/582) +* Update project changelog from very beginning (https://github.com/flet-dev/flet/issues/581) +* Publish pre releases to pypi.org (https://github.com/flet-dev/flet/issues/579) +* Theming Slider control (https://github.com/flet-dev/flet/issues/573) + ## 0.1.65 * Fixed: Floating Action Button now showing on top left ([#567](https://github.com/flet-dev/flet/issues/567)) From dd290c0029ef26b1e696a1f1e08291bcf6242c04 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Tue, 3 Jan 2023 10:21:51 -0800 Subject: [PATCH 2/4] Try publishing dart package --- .appveyor.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 6b7454118..aaefa9dcc 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -128,6 +128,15 @@ for: - flutter test - echo "TODO" + deploy_script: + # publish package + - sh: | + #if [[ ("$APPVEYOR_REPO_BRANCH" == "main" || "$APPVEYOR_REPO_TAG_NAME" != "") && "$APPVEYOR_PULL_REQUEST_NUMBER" == "" ]]; then + mkdir -p $HOME/.config/dart + echo $PUB_DEV_TOKEN | base64 --decode > $HOME/.config/dart/pub-credentials.json + dart pub publish + #fi + # ====================================== # Build Flet View for Windows # ====================================== From db4e3cccb5c3c431423d69ff2726ae9e726de9ce Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Tue, 3 Jan 2023 10:26:36 -0800 Subject: [PATCH 3/4] Force publishing --- .appveyor.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index aaefa9dcc..dbf6e26d7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -126,15 +126,14 @@ for: build_script: - cd package - flutter test - - echo "TODO" deploy_script: # publish package - sh: | - #if [[ ("$APPVEYOR_REPO_BRANCH" == "main" || "$APPVEYOR_REPO_TAG_NAME" != "") && "$APPVEYOR_PULL_REQUEST_NUMBER" == "" ]]; then + #if [[ "$APPVEYOR_REPO_TAG_NAME" != "" ]]; then mkdir -p $HOME/.config/dart echo $PUB_DEV_TOKEN | base64 --decode > $HOME/.config/dart/pub-credentials.json - dart pub publish + dart pub publish -f #fi # ====================================== From 6b20deb67dd27e48c669088be0cdf226c5ec581b Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Tue, 3 Jan 2023 10:35:48 -0800 Subject: [PATCH 4/4] Publish Flutter package on a tag --- .appveyor.yml | 4 ++-- client/pubspec.lock | 2 +- package/pubspec.yaml | 2 +- studio/client/pubspec.lock | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index dbf6e26d7..8bcf93186 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -130,11 +130,11 @@ for: deploy_script: # publish package - sh: | - #if [[ "$APPVEYOR_REPO_TAG_NAME" != "" ]]; then + if [[ "$APPVEYOR_REPO_TAG_NAME" != "" ]]; then mkdir -p $HOME/.config/dart echo $PUB_DEV_TOKEN | base64 --decode > $HOME/.config/dart/pub-credentials.json dart pub publish -f - #fi + fi # ====================================== # Build Flet View for Windows diff --git a/client/pubspec.lock b/client/pubspec.lock index ec51ab4bf..7c09aac1b 100644 --- a/client/pubspec.lock +++ b/client/pubspec.lock @@ -147,7 +147,7 @@ packages: path: "../package" relative: true source: path - version: "0.1.65" + version: "0.3.0" flutter: dependency: "direct main" description: flutter diff --git a/package/pubspec.yaml b/package/pubspec.yaml index 552be4216..bb506d6fa 100644 --- a/package/pubspec.yaml +++ b/package/pubspec.yaml @@ -2,7 +2,7 @@ name: flet description: Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app. homepage: https://flet.dev repository: https://github.com/flet-dev/flet -version: 0.1.65 +version: 0.3.0 # This package supports all platforms listed below. platforms: diff --git a/studio/client/pubspec.lock b/studio/client/pubspec.lock index f808f6ffc..1a8562737 100644 --- a/studio/client/pubspec.lock +++ b/studio/client/pubspec.lock @@ -147,7 +147,7 @@ packages: path: "../../package" relative: true source: path - version: "0.1.65" + version: "0.3.0" flutter: dependency: "direct main" description: flutter