fyne v2.2.0 Release Notes

Release Date: 2022-06-07 // 18 days ago
  • โž• Added

    • โž• Add SetIcon method on ToolbarAction (#2475)
    • ๐Ÿ“‡ Access compiled app metadata using new App.Metadata() method
    • โž• Add support for System tray icon and menu (#283)
    • ๐Ÿ‘Œ Support for Android Application Bundle (.aab) (#2663)
    • ๐ŸŽ‰ Initial support for OpenBSD and NetBSD
    • โž• Add keyboard shortcuts to menu (#682)
    • โž• Add technical preview of web driver and fyne serve command
    • โž• Added iossimulator build target (#1917)
    • ๐Ÿ‘ Allow dynamic themes via JSON templates (#211)
    • Custom hyperlink callback (#2979)
    • โž• Add support for .ico file when compiling for windows (#2412)
    • โž• Add binding.NewStringWithFormat (#2890)
    • โž• Add Entry.SetMinRowsVisible
    • โž• Add Menu.Refresh() and MainMenu.Refresh() (#2853)
    • ๐Ÿง Packages for Linux and BSD now support installing into the home directory
    • โž• Add .RemoveAll() to containers
    • โž• Add an AllString validator for chaining together string validators

    ๐Ÿ”„ Changed

    • Toolbar item constructors now return concrete types instead of ToolbarItem
    • Low importance buttons no longer draw button color as a background
    • ProgressBar widget height is now consistent with other widgets
    • Include check in DocTabs menu to show current tab
    • Don't call OnScrolled if offset did not change (#2646)
    • Prefer ANDROID_NDK_HOME over the ANDROID_HOME ndk-bundle location (#2920)
    • ๐Ÿ‘Œ Support serialisation / deserialisation of the widget tree (#5)
    • ๐Ÿ‘ Better error reporting / handling when OpenGL is not available (#2689)
    • ๐Ÿ‘ Memory is now better reclaimed on Android when the OS requests it
    • ๐Ÿง Notifications on Linux and BSD now show the application icon
    • ๐Ÿ”„ Change listeners for preferences no longer run when setting the same value
    • ๐Ÿ‘ The file dialog now shows extensions in the list view for better readability
    • ๐ŸŽ Many optimisations and widget performance enhancements
    • โšก๏ธ Updated various dependencies to their latest versions

    ๐Ÿ›  Fixed

    • ๐Ÿ SendNotification does not show app name on Windows (#1940)
    • ๐Ÿ Copy-paste via keyboard don't work translated keyboard mappings on Windows (#1220)
    • OnScrolled triggered when offset hasn't changed (#1868)
    • Carriage Return (\r) is rendered as space (#2456)
    • storage.List() returns list with nil elements for empty directories (#2858)
    • Entry widget, position of cursor when clicking empty space (#2877)
    • ๐Ÿ’ป SelectEntry cause UI hang (#2925)
    • Font cutoff with bold italics (#3001)
    • Fyne error: Preferences load error (#2936, 3015)
    • Scrolled List bad redraw when window is maximized (#3013)
    • ๐Ÿง Linux and BSD packages not being installable if the name contained spaces

Previous changes from v2.1.4

  • ๐Ÿ›  Fixed

    • SetTheme() is not fully effective for widget.Form (#2810)
    • FolderOpenDialog SetDismissText is ineffective (#2830)
    • ๐Ÿ›  window.Resize() does not work if SetFixedSize(true) is set after (#2819)
    • ๐Ÿšš Container.Remove() race causes crash (#2826, #2775, #2481)
    • ๐Ÿ›  FixedSize Window improperly sized if contains image with ImageFillOriginal (#2800)