Releases: flet-dev/flet
Releases · flet-dev/flet
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
v0.23.1
v0.23.0
- NEW:
PermissionHandler
control (#3276) - NEW:
Map
control (#3093) - NEW:
Geolocator control
(#3179) - NEW:
AutoFillGroup
Control (#3047) - NEW: Migrated to Flutter 3.22 (#3396)
- NEW: An ability to access PubSubHub from outside Flet app (#3446)
- NEW:
TextStyle
props:overflow
,word_spacing
,baseline
(#3435) - NEW: Enable/disable browser context menu (#3434)
- NEW:
Container.color_filter
property (#3392) - NEW:
dropdown.Option.text_style
property (#3293) - NEW:
dropdown.Option.content
property (#3456) - NEW:
Video.configuration
property (#3074) - NEW: Enable Impeller on Android and macOS (#3458)
- NEW: AutoComplete: add selected_index read-only property (#3298)
- NEW: Renamed
NavigationDestination
toNavigationBarDestination
(#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.dart
utils (#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 toWindow
andBrowserContextMenu
classes (#3463) - FIX:
Container.on_tap_down
not called whenon_click
is not provided (#3442) - FIX: SnackBar bug #3311 (#3313)
v0.22.1
AutoComplete
control (#3003)- Added
--exclude
option toflet build
command (#3125) CupertinoTimePicker.alignment
property (#3036)- Bump
file_picker
dependency to 8.0.3. - Fix latest flet-build-template version in development mode (#3021)
- Fix
flet --version
command 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.yaml
for adding custom Flutter packages requiresdependency_overrides
(#3187) - Fixed
disabled
dropdown (#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)
v0.22.0
- Controls enhancement (#2882)
Theme
Enhancement (#2955)Rive
Control (#2841)Control.parent
property (#2906)Container.on_tap_down
event- Add
upload_endpoint_path
intoflet.fastapi.app
(#2954) - Add checkbox border side state (#2973)
- Global context for session (#2934)
- Fix silent error in
page.run_task
(#2959) - Web: patch html title with app_name (#2909)
Container
: fix triggered bothon_click
andon_long_press
events (#2914)
v0.21.2
- Add
--android-adaptive-icon-background
toflet build
command. - Fix for mobile Safari: Store session ID in SessionStorage instead of window.name.
- Fix
_FletSocketServer__receive_loop_task
error on Linux. - Replace deprecated (in Python 3.12)
datetime.utcnow()
withdatetime.now(timezone.utc)
. - Fix a call to
self.__executor.shutdown
for Python 3.8. - Add client IP and user agent to a session ID.
- Generate crypto-strong strings across the framework.