Releases: flet-dev/flet
Releases · flet-dev/flet
v0.26.0
What's Changed
- feat: implement
Window.ignore_mouse_eventsby @ndonkoHenri in #4465 - Update project_dependencies.py by @omamkaz in #4459
- Remove
v0.26.0deprecations by @ndonkoHenri in #4479 - fix:
SafeAreaobject has no attribute_SafeArea__minimumby @ndonkoHenri in #4500 - fix broken
Map.center_on()and default animations by @ndonkoHenri in #4519 - fix: Tooltip corruption in
SegmentandBarChartRodonupdate()by @ndonkoHenri in #4525 - fix: Setting
CheckBox.border_side.stroke_alignto an Enum fails by @ndonkoHenri in #4526 - fix:
ControlStateshould be resolved based on user-defined order by @ndonkoHenri in #4556 - fix: broken
Dismissible.dismiss_directionby @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 buildcommand: 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:
CupertinoBottomSheetapplies a red color and yellow underline toTextcontent by @ndonkoHenri in #4673 - Remove
Optional[]from predefined typing*Values by @ndonkoHenri in #4702 - feat: Throttle
InteractiveViewerupdate 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
ButtonThemedisplays a grey screen by @ndonkoHenri in #4731 - fix:
Textfieldinput border color considers user-specifiedborder_colorproperty by @ndonkoHenri in #4735 - fix: make
Tooltip.messagea required parameter by @ndonkoHenri in #4736 - feat: add
ListView.build_controls_on_demandproperty 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
- @omamkaz made their first contribution in #4459
Full Changelog: v0.25.1...v0.26.0
v0.25.2
Changes
- Fix
flet publishcreates broken website if norequirements.txtorpyproject.tomlfound (#4493). - Fix PyInstaller hook to avoid download Flet app bundle on first run (#4549).
- Support
git,path,urlPoetry-style dependencies inpyproject.toml(#4554). - Fixed broken
Map.center_on()and default animations (#4519). - Fixed Tooltip corruption in
SegmentandBarChartRodonupdate()(#4525). - Fixed Setting
CheckBox.border_side.stroke_alignto an Enum fails (#4526). - Fixed
ControlStateshould 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.pyby @ndonkoHenri in #4450 - Fix app packaging call in
flet buildcommand by @FeodorFitsner in #4452 - feat:
InteractiveViewerprogrammatic 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 (
BannerandInterstitial) (details and example). Buttoncontrol (#4265) - which is just an alias forElevatedButtoncontrol.
Breaking changes
- Refactor
BadgeControl to a Dataclass; added newbadgeproperty to all controls (#4077).
Other changes
- Added
{value_length},{max_length}, and{symbols_left}placeholders toTextField.counter_text(#4403). - Added
--skip-flutter-doctorto build cli command (#4388). WebViewenhancements (#4018).Mapcontrol enhancements (#3994).- Exposed more
Themeprops (#4278, #4278). - Exposed more properties in multiple Controls (#4105)
- Added
__contains__methods in container-alike Controls (#4374). - Added a custom
Markdowncode theme (#4343). - Added
barrier_colorprop to dialogs (#4236). - Merged
iconandicon_contentprops intoicon: str | Control(#4305). - Migrated
colorsandiconsvariables to Enums (#4180). - TextField:
suffix_icon,prefix_iconandiconcan beControlorstr(#4173). - Added
--pyinstaller-build-argstoflet packCLI 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
Iconrotation (#4384). - Fixed regression in
Markdown.code_themewhen usingMarkdownCodeThemeenum (#4373). - Fixed
SegmentandNavigationBarDestinationaccept only string tooltips (#4326). - Display informative message when
datehas wrong format (#4019). - Fixed
MapConfiguration.interaction_configurationis 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
CupertinoContextMenuActiondoesn'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
labelis set, useMainAxisSize.minfor theRow(#3998). - Fixed
NavigationBarDestination.disabledhas no visual effect (#4073). - Fixed autofill in
CupertinoTextField(#4103). - Linechart:
jsonDecodetooltip before displaying (#4069). - Fixed button's
bgcolor,colorandelevation(#4126). - Fixed scrolling issues on Windows (#4145).
- Skip running flutter doctor on windows if
no_rich_outputisTrue(#4108). - Fixed
TextFieldfreezes on Linux Mint #4422](#4422)).
v0.24.1
v0.24.0
- NEW:
PlaceholderControl (#3646) - NEW:
InteractiveViewerControl (#3645) - NEW: Adding Background/Foreground Services to GeoLocator UPDATE (#3803)
- NEW:
Container.ignore_interactionsproperty (#3639) - NEW: Add
rtlprop to more controls (#3641) - NEW:
TextField.counterproperty (#3676) - NEW: window.icon: make the usage of relative paths possible (#3825)
- NEW: Add event to
flet_videoto know what song is playing (#3772) - NEW: adds
floating_action_button_themeproperty toTheme(#3771) - NEW: Added
on_completedevent toflet_video(#3758) - NEW: Add
focus,on_focus,on_blurtoSearchBar(#3417, #3752) - NEW:
--no-rich-outputflag to prevent rich output (#3708) - CHANGED: make
Tooltipa dataclass which can be used inControl.tooltip(#3837) - CHANGED: wrap
Views 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.mapis not available after building app (#3845) - FIXED:
InputFilterclearsTextFieldwhen an invalid character is entered (#3779) - FIXED:
Dropdown.alignmentnot 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.typeon web (#3611) - FIXED:
Switch.widthandheightproperties (#3670) - FIXED: parsing issues in
TextStyleand*Eventclasses (#3551) - FIXED: issues with
*Buttons (#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
Sequenceinstead 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.valuedefaults 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
isinstancecheck inSnackBar.before_updateto 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
v0.23.1
v0.23.0
- NEW:
PermissionHandlercontrol (#3276) - NEW:
Mapcontrol (#3093) - NEW:
Geolocator control(#3179) - NEW:
AutoFillGroupControl (#3047) - NEW: Migrated to Flutter 3.22 (#3396)
- NEW: An ability to access PubSubHub from outside Flet app (#3446)
- NEW:
TextStyleprops:overflow,word_spacing,baseline(#3435) - NEW: Enable/disable browser context menu (#3434)
- NEW:
Container.color_filterproperty (#3392) - NEW:
dropdown.Option.text_styleproperty (#3293) - NEW:
dropdown.Option.contentproperty (#3456) - NEW:
Video.configurationproperty (#3074) - NEW: Enable Impeller on Android and macOS (#3458)
- NEW: AutoComplete: add selected_index read-only property (#3298)
- NEW: Renamed
NavigationDestinationtoNavigationBarDestination(#3172) - CHANGED: Prettify "build" command cli output (#3407)
- CHANGED: Set colorScheme.primary as defaultSideColor (#3421)
- CHANGED: feat(map): add missing py-events, better typing (#3464)
- CHORE: Refactor
numbers.dartutils (#3263) - CHORE: Global Code Refactoring/Clean-up (#3186)
- CHORE: Cleanup (#3406)
- CHORE: Error handling enhancements (#3175)
- CHORE: Improve type hint for run_task and run_thread (#3459)
- CHORE: Move
page.window_*andpage.browser_context_menu_*properties toWindowandBrowserContextMenuclasses (#3463) - FIX:
Container.on_tap_downnot called whenon_clickis not provided (#3442) - FIX: SnackBar bug #3311 (#3313)
v0.22.1
AutoCompletecontrol (#3003)- Added
--excludeoption toflet buildcommand (#3125) CupertinoTimePicker.alignmentproperty (#3036)- Bump
file_pickerdependency to 8.0.3. - Fix latest flet-build-template version in development mode (#3021)
- Fix
flet --versioncommand for source checkout. - LineChart: fix regression (#3033)
- Fixed: OAuth expiry of token will hang fastapi server (#3150)
- Fixed: Disabled the dropwown, but the color isnot gray (#2989)
- Fixed:
pubspec.yamlfor adding custom Flutter packages requiresdependency_overrides(#3187) - Fixed
disableddropdown (#3183) - Fixed default value for scrollbar thickness (#3147)
- Fixed: autoreload, restrict eventhandler from restart on open (#3098)
- Fixed (#3035) switch Flutter RichText to Text.rich (#3066)
- Fixed: Markdown code block is not selectable (#1753)