Skip to content

Releases: flet-dev/flet

v0.25.2

13 Dec 19:00
717424a
Compare
Choose a tag to compare

Changes

  • Fix flet publish creates broken website if no requirements.txt or pyproject.toml found (#4493).
  • Fix PyInstaller hook to avoid download Flet app bundle on first run (#4549).
  • Support git, path, url Poetry-style dependencies in pyproject.toml (#4554).
  • Fixed broken Map.center_on() and default animations (#4519).
  • Fixed Tooltip corruption in Segment and BarChartRod on update() (#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

30 Nov 00:13
f967229
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.25.0...v0.25.1

v0.25.0

28 Nov 17:36
Compare
Choose a tag to compare

New controls

  • Mobile Ads (Banner and Interstitial) (details and example).
  • Button control (#4265) - which is just an alias for ElevatedButton control.

Breaking changes

  • Refactor Badge Control to a Dataclass; added new badge property to all controls (#4077).

Other changes

  • Added {value_length}, {max_length}, and {symbols_left} placeholders to TextField.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 and icon_content props into icon: str | Control (#4305).
  • Migrated colors and icons variables to Enums (#4180).
  • TextField: suffix_icon, prefix_icon and icon can be Control or str (#4173).
  • Added --pyinstaller-build-args to flet 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 using MarkdownCodeTheme enum (#4373).
  • Fixed Segment and NavigationBarDestination 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, use MainAxisSize.min for the Row (#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 and elevation (#4126).
  • Fixed scrolling issues on Windows (#4145).
  • Skip running flutter doctor on windows if no_rich_output is True (#4108).
  • Fixed TextField freezes on Linux Mint #4422](#4422)).

v0.24.1

03 Sep 20:32
fb0d037
Compare
Choose a tag to compare
  • FIXED: Tooltip displays wrong message when used with IconButton, FloatingActionButton and PopupMenuButton (#3922)
  • FIXED: Image.src_base64 (#3919)

v0.24.0

31 Aug 16:32
Compare
Choose a tag to compare
  • 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 to Theme (#3771)
  • NEW: Added on_completed event to flet_video (#3758)
  • NEW: Add focus, on_focus, on_blur to SearchBar (#3417, #3752)
  • NEW: --no-rich-output flag to prevent rich output (#3708)
  • CHANGED: make Tooltip a dataclass which can be used in Control.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.map is not available after building app (#3845)
  • FIXED: InputFilter clears TextField 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 and height properties (#3670)
  • FIXED: parsing issues in TextStyle and *Event classes (#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 Sequence instead of list (#3661)
  • CHORE: Bump Flutter packages (#3719)
  • CHORE: Cleanup (#3640)

v0.23.2

25 Jun 23:16
843c717
Compare
Choose a tag to compare
  • 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 to min (#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 in SnackBar.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

20 Jun 00:14
f1c6c32
Compare
Choose a tag to compare

v0.23.0

18 Jun 20:21
Compare
Choose a tag to compare
  • 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 to NavigationBarDestination (#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_* and page.browser_context_menu_* properties to Window and BrowserContextMenu classes (#3463)
  • FIX: Container.on_tap_down not called when on_click is not provided (#3442)
  • FIX: SnackBar bug #3311 (#3313)

v0.22.1

09 May 16:49
Compare
Choose a tag to compare
  • AutoComplete control (#3003)
  • Added --exclude option to flet 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 requires dependency_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

10 Apr 16:33
c7121e3
Compare
Choose a tag to compare
  • Controls enhancement (#2882)
  • Theme Enhancement (#2955)
  • Rive Control (#2841)
  • Control.parent property (#2906)
  • Container.on_tap_down event
  • Add upload_endpoint_path into flet.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 both on_click and on_long_press events (#2914)