Releases: flet-dev/flet
Releases · flet-dev/flet
v0.27.2
What's Changed
- Fix: Error on second run "Because {app} depends on flet_{package} from path which doesn't exist" by @FeodorFitsner in #4958
- Added support for
tool.flet.dev_packages
by @FeodorFitsner in #4965 - Flet 0.27.2 fixes by @FeodorFitsner in #4956
Full Changelog: v0.27.1...v0.27.2
v0.27.1
Full Changelog: v0.27.0...v0.27.1
v0.27.0
What's Changed
- Remove
CupertinoCheckbox_inactive_color
in favor of itsfill_color
by @ndonkoHenri in #4847 - Set
Dropdown.options_fill_horizontally=True
by default by @ndonkoHenri in #4846 - Make
ControlEvent.data
of typeOptional[str]
withNone
as default by @ndonkoHenri in #4800 - fix: disable markup for flet-cli stdout logs by @ndonkoHenri in #4796
- feat: Implement
Container.dark_theme
property by @ndonkoHenri in #4867 - fix:
SearchBar.bar_border_side
not being visually honoured by @ndonkoHenri in #4768 - feat:
ReorderableListView
Control by @ndonkoHenri in #4865 - feat:
flet doctor
CLI command by @Gordon-Burns in #4803 - feat: implement button themes (for
ElevatedButton
,OutlinedButton
,TextButton
,FilledButton
,IconButton
) by @ndonkoHenri in #4872 - fix:
CupertinoSlider
raisesAssertionError
with valid values by @ndonkoHenri in #4873 - fix: Ensure
ListTile
's material parent has a transparent color for proper tilebgcolor
visibility by @ndonkoHenri in #4875 - fix: use utf8-encoding when opening files by @ndonkoHenri in #4911
- fix: grey screen displayed when scale-transforming by @ndonkoHenri in #4913
- For Flet Dropdown, flutter widget replaced with DropdownMenu by @InesaFitsner in #4885
- feat: implement
SearchBar.blur()
by @ndonkoHenri in #4919 - feat(packaging): use Provisioning Profile to sign iOS app archive (
.ipa
), deprecate--team
option by @FeodorFitsner in #4868 - Remove
v0.24.0
deprecations by @ndonkoHenri in #4932 - fix issue with datatable tooltip by @InesaFitsner in #4933
- Prepare Flet 0.27.0 by @FeodorFitsner in #4935
- Last-minute fixes for Flet 0.27.0 release by @FeodorFitsner in #4938
New Contributors
- @Gordon-Burns made their first contribution in #4803
Full Changelog: v0.26.0...v0.27.0
v0.26.0
What's Changed
- feat: implement
Window.ignore_mouse_events
by @ndonkoHenri in #4465 - Update project_dependencies.py by @omamkaz in #4459
- Remove
v0.26.0
deprecations by @ndonkoHenri in #4479 - fix:
SafeArea
object has no attribute_SafeArea__minimum
by @ndonkoHenri in #4500 - fix broken
Map.center_on()
and default animations by @ndonkoHenri in #4519 - fix: Tooltip corruption in
Segment
andBarChartRod
onupdate()
by @ndonkoHenri in #4525 - fix: Setting
CheckBox.border_side.stroke_align
to an Enum fails by @ndonkoHenri in #4526 - fix:
ControlState
should be resolved based on user-defined order by @ndonkoHenri in #4556 - fix: broken
Dismissible.dismiss_direction
by @ndonkoHenri in #4557 - Fix Rive not updating by @syleishere in #4582
- Migrate to Flutter 3.27.0 by @ndonkoHenri in #4593
- Fix CI jobs with Poetry by @FeodorFitsner in #4663
flet build
command: Copyflutter-packages
, support for platform-specific dependencies by @FeodorFitsner in #4667flet build
: package Python app before creating Flutter project to register user extensions by @FeodorFitsner in #4686- Flutter extensions:
flet_*
packages moved to separate repositories by @FeodorFitsner in #4721 - fix:
CupertinoBottomSheet
applies a red color and yellow underline toText
content by @ndonkoHenri in #4673 - Remove
Optional[]
from predefined typing*Value
s by @ndonkoHenri in #4702 - feat: Throttle
InteractiveViewer
update events by @ndonkoHenri in #4704 - Poetry 2.0 support, Flutter and JDK installation fixes by @FeodorFitsner in #4748
- feat: New control properties, Flutter 3.27 fixes by @ndonkoHenri in #4703
- fix: setting
ButtonTheme
displays a grey screen by @ndonkoHenri in #4731 - fix:
Textfield
input border color considers user-specifiedborder_color
property by @ndonkoHenri in #4735 - fix: make
Tooltip.message
a required parameter by @ndonkoHenri in #4736 - feat: add
ListView.build_controls_on_demand
property for optional on-demand building of controls by @ndonkoHenri in #4751 - Adding Google/Android TV platform support by @syleishere in #4581
- Flutter 3.27.3, JDK 17 by @FeodorFitsner in #4760
- Prepare Flet 0.26.0 release by @FeodorFitsner in #4755
New Contributors
Full Changelog: v0.25.1...v0.26.0
v0.25.2
Changes
- Fix
flet publish
creates broken website if norequirements.txt
orpyproject.toml
found (#4493). - Fix PyInstaller hook to avoid download Flet app bundle on first run (#4549).
- Support
git
,path
,url
Poetry-style dependencies inpyproject.toml
(#4554). - Fixed broken
Map.center_on()
and default animations (#4519). - Fixed Tooltip corruption in
Segment
andBarChartRod
onupdate()
(#4525). - Fixed Setting
CheckBox.border_side.stroke_align
to an Enum fails (#4526). - Fixed
ControlState
should be resolved based on user-defined order (#4556). - Fixed broken
Dismissible.dismiss_direction
(#4557).
v0.25.1
What's Changed
- fix: wrong imports in
flet-cli/hook-flet.py
by @ndonkoHenri in #4450 - Fix app packaging call in
flet build
command by @FeodorFitsner in #4452 - feat:
InteractiveViewer
programmatic transformations by @ndonkoHenri in #4451 - Fix "flutter/runtime/dart_vm_initializer.cc" on Linux by @FeodorFitsner in #4453
Full Changelog: v0.25.0...v0.25.1
v0.25.0
New controls
- Mobile Ads (
Banner
andInterstitial
) (details and example). Button
control (#4265) - which is just an alias forElevatedButton
control.
Breaking changes
- Refactor
Badge
Control to a Dataclass; added newbadge
property to all controls (#4077).
Other changes
- Added
{value_length}
,{max_length}
, and{symbols_left}
placeholders toTextField.counter_text
(#4403). - Added
--skip-flutter-doctor
to build cli command (#4388). WebView
enhancements (#4018).Map
control enhancements (#3994).- Exposed more
Theme
props (#4278, #4278). - Exposed more properties in multiple Controls (#4105)
- Added
__contains__
methods in container-alike Controls (#4374). - Added a custom
Markdown
code theme (#4343). - Added
barrier_color
prop to dialogs (#4236). - Merged
icon
andicon_content
props intoicon: str | Control
(#4305). - Migrated
colors
andicons
variables to Enums (#4180). - TextField:
suffix_icon
,prefix_icon
andicon
can beControl
orstr
(#4173). - Added
--pyinstaller-build-args
toflet pack
CLI command (#4187). - Made SearchBar's view height adjustable; added new properties (#4039).
- Bumped Rive version and fixed Linux app build template for
rive_common
.
Bug fixes
- Fixed
Icon
rotation (#4384). - Fixed regression in
Markdown.code_theme
when usingMarkdownCodeTheme
enum (#4373). - Fixed
Segment
andNavigationBarDestination
accept only string tooltips (#4326). - Display informative message when
date
has wrong format (#4019). - Fixed
MapConfiguration.interaction_configuration
is not honoured (#3976). - Fixed
Video.jump_to()
fails with negative indexes (#4294). - Fixed condition in
AppBar.tooltip_opacity
(#4280). - Fixed wrong type (asyncio.Future -> concurrent.futures.Future) and handle
CancelledError
(#4268). - Fixed clicking on
CupertinoContextMenuAction
doesn't close context menu (#3948). - Fixed dropdown
max_menu_height
(#3974). - Fixed prevent button style from being modified in
before_update()
(#4181). - Fixed disabling filled buttons is not visually respected (#4090).
- when
label
is set, useMainAxisSize.min
for theRow
(#3998). - Fixed
NavigationBarDestination.disabled
has no visual effect (#4073). - Fixed autofill in
CupertinoTextField
(#4103). - Linechart:
jsonDecode
tooltip before displaying (#4069). - Fixed button's
bgcolor
,color
andelevation
(#4126). - Fixed scrolling issues on Windows (#4145).
- Skip running flutter doctor on windows if
no_rich_output
isTrue
(#4108). - Fixed
TextField
freezes on Linux Mint #4422](#4422)).
v0.24.1
v0.24.0
- NEW:
Placeholder
Control (#3646) - NEW:
InteractiveViewer
Control (#3645) - NEW: Adding Background/Foreground Services to GeoLocator UPDATE (#3803)
- NEW:
Container.ignore_interactions
property (#3639) - NEW: Add
rtl
prop to more controls (#3641) - NEW:
TextField.counter
property (#3676) - NEW: window.icon: make the usage of relative paths possible (#3825)
- NEW: Add event to
flet_video
to know what song is playing (#3772) - NEW: adds
floating_action_button_theme
property toTheme
(#3771) - NEW: Added
on_completed
event toflet_video
(#3758) - NEW: Add
focus
,on_focus
,on_blur
toSearchBar
(#3417, #3752) - NEW:
--no-rich-output
flag to prevent rich output (#3708) - CHANGED: make
Tooltip
a dataclass which can be used inControl.tooltip
(#3837) - CHANGED: wrap
View
s into a background container (#3820) - FIXED: export BottomSheetTheme (#3858)
- FIXED: setting SearchBar.value to an empty string is not respected (#3872)
- FIXED: add full-screen events to WindowEventType (#3857)
- FIXED: snackbar margin (#3856)
- FIXED: not error on inputfield when errorText is empty (#3855)
- FIXED:
flet.map
is not available after building app (#3845) - FIXED:
InputFilter
clearsTextField
when an invalid character is entered (#3779) - FIXED:
Dropdown.alignment
not respected (#3737) - FIXED: scrolling issues in
CupertinoPicker
(#3678) - FIXED: scrolling controls are not able to scroll due to wrong super class call (#3702)
- FIXED: Dismissible (#3690)
- FIXED:
PieChartEvent.type
on web (#3611) - FIXED:
Switch.width
andheight
properties (#3670) - FIXED: parsing issues in
TextStyle
and*Event
classes (#3551) - FIXED: issues with
*Button
s (#3582) - Handle Multiple Trailing Controls in
CupertinoAppBar
(#3603) - Event: implement str and repr magic methods (#3601)
- CHORE: remove handler-subscription and enhance event typing (#3808)
- CHORE: improve type hint for OptionalEventCallable (#3659)
- CHORE: Using
Sequence
instead oflist
(#3661) - CHORE: Bump Flutter packages (#3719)
- CHORE: Cleanup (#3640)
v0.23.2
- CHANGED: Enhance Typing of Event Handlers (#3523)
- CHANGED: Delete Page.window.on_resize | deprecate Page.on_resize in favor of Page.on_resized (#3516)
- CHANGED: View is not opened on tap (#3513)
- FIXED:
Slider.value
defaults tomin
(#3503) - FIXED: add "hide" and "show" to WindowEventType enum (#3505)
- FIXED: TypeError raised for isinstance check with Union in before_update method (#3499)
- FIXED: Corrected
isinstance
check inSnackBar.before_update
to use a tuple of types instead of Union, resolving TypeError: "Subscripted generics cannot be used with class and instance checks". - FIXED:
Page.open()
breaking after multiple calls. - FIXED: Typo in on_resized setter decorator