fyne v2.1 Release Notes

Release Date: 2021-09-17 // about 1 month ago
  • ➕ Added

    • DocTabs container for handling multiple open files
    • Lifecycle API for handling foreground, background and other event
    • ➕ Add RichText widget and Markdown parser
    • ➕ Add TabWidth to TextStyle to specify tab size in spaces
    • ➕ Add CheckGroup widget for multi-select
    • ➕ Add FyneApp.toml metadata file to ease build commands
    • Include http and https in standard repositories
    • ➕ Add selection color to themes
    • Include baseline information in driver font measurement
    • Document storage API (App.Storage().Create() and others)
    • ➕ Add "App Files" to file dialog for apps that use document storage
    • Tab overflow on AppTabs
    • ➕ Add URI and Unbound type to data bindings
    • ➕ Add keyboard support for menus, pop-ups and buttons
    • ➕ Add SimpleRenderer to help make simple widgets (#709)
    • ➕ Add scroll functions for List, Table, Tree (#1892)
    • ➕ Add selection and disabling to MenuItem
    • ➕ Add Alignment to widget.Select (#2329)
    • 🔦 Expose ScanCode for keyboard events originating from hardware (#1523)
    • 👌 Support macOS GPU switching (#2423)

    🔄 Changed

    • Focusable widgets are no longer focused on tap, add canvas.Focus(obj) in Tapped handler if required
    • 🚚 Move to background based selection for List, Table and Tree
    • 💅 Update fyne command line tool to use --posix style parameters
    • 📦 Switch from gz to xz compression for unix packages
    • 🐎 Performance improvements with line, text and raster rendering
    • Items not yet visible can no longer be focused
    • Lines can now be drawn down to 1px (instead of 1dp) (#2298)
    • 👌 Support multiple lines of text on button (#2378)
    • 👌 Improved text layout speed by caching string size calculations
    • ⚡️ Updated to require Go 1.14 so we can use some new features
    • Window Resize request is now asynchronous
    • Up/Down keys take cursor home/end when on first/last lines respectively

    🛠 Fixed

    • Correctly align text tabs (#1791)
    • Mobile apps theme does not match system (#472)
    • Toolbar with widget.Label makes the ToolbarAction buttons higher (#2257)
    • Memory leaks in renderers and canvases cache maps (#735)
    • FileDialog SetFilter does not work on Android devices (#2353)
    • Hover fix for List and Tree with Draggable objects
    • Line resize can flip slope (#2208)
    • Deadlocks when using widgets with data (#2348)
    • ⚡️ Changing input type with keyboard visible would not update soft keyboards
    • MainMenu() Close item does NOT call function defined in SetCloseIntercept (#2355)
    • Entry cursor position with mouse is offset vertically by theme.SizeNameInputBorder (#2387)
    • Backspace key is not working on Android AOSP (#1941)
    • 🍎 macOS: 'NSUserNotification' has been deprecated (#1833)
    • 🍎 macOS: Native menu would add new items if refreshed
    • 🏗 iOS builds fail since Go 1.16
    • 👍 Re-add support for 32 bit iOS devices, if built with Go 1.14
    • 🏗 Android builds fail on Apple M1 (#2439)
    • SetFullScreen(true) before ShowAndRun fails (#2446)
    • Interacting with another app when window.SetFullScreen(true) will cause the application to hide itself. (#2448)
    • Sequential writes to preferences does not save to file (#2449)
    • Correct Android keyboard handling (#2447)
    • MIUI-Android: The widget’s Hyperlink cannot open the URL (#1514)
    • 👌 Improved performance of data binding conversions and text MinSize

Previous changes from v2.0.4

  • 🔄 Changed

    • Disable Form labels when the element it applys to is disabled (#1530)
    • Entry popup menu now fires shortcuts so extended widgets can intercept
    • ⚡️ Update Android builds to SDK 30

    🛠 Fixed

    • 🏁 sendnotification show appID for name on windows (#1940)
    • 🛠 Fix accidental removal of windows builds during cross-compile
    • ⚡️ Removing an item from a container did not update layout
    • ⚡️ Update title bar on Windows 10 to match OS theme (#2184)
    • Tapped triggered after Drag (#2235)
    • 👌 Improved documentation and example code for file dialog (#2156)
    • Preferences file gets unexpectedly cleared (#2241)
    • ⚡️ Extra row dividers rendered on using SetColumnWidth to update a table (#2266)
    • 🛠 Fix resizing fullscreen issue
    • Fullscreen changes my display resolution when showing a dialog (#1832)
    • Entry validation does not work for empty field (#2179)
    • 👍 Tab support for focus handling missing on mobile
    • ScrollToBottom not always scrolling all the way when items added to container.Scroller
    • 🛠 Fixed scrollbar disappearing after changing content (#2303)
    • Calling SetContent a second time with the same content will not show
    • Drawing text can panic when Color is nil (#2347)
    • Optimisations when drawing transparent rectangle or whitespace strings