Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2025

Bumps fyne.io/fyne/v2 from 2.5.5 to 2.6.0.

Release notes

Sourced from fyne.io/fyne/v2's releases.

With v2.6.0 Fyne is faster than ever and passing Go's race checks too :)

This massive update to Fyne introduces a new threading model that allows it to be a lot faster whilst being free of data races as well! Developers who use background processing will need to make use of the new fyne.Do and anyone with custom widgets that make use of locking to provide thread safety can now remove it as all Fyne callbacks occur on the same goroutine.

Your app may need a few updates (logs will show you where behaviour changes should be added) but can see up to 3x speed increase depending on the number of graphical elements and how frequently they are updated.

Added

  • Added [fyne.Do] and [fyne.DoAndWait] to call from goroutines. This makes it possible to eliminate race conditions.
  • Add "Migrations" section to FyneApp.toml to mark migrations like fyneDo = true
  • Add Calendar and DateEntry widgets
  • Add a third state ([Check.Partial]) to the check widget (#3576)
  • Add ability to select label text using new [Label.Selectable]
  • Support for storage on web driver (#4634)
  • test: Add RenderToMarkup and RenderObjectToMarkup (#5124)
  • Add ability to choose a text size for label widget (#5561)
  • Show soft keyboard on Web build with mobile device (#4394)
  • APIs for testing dialogs (#2771)
  • Add ScrollToOffset functions to collection widgets
  • Add Prepend method to Accordion (#5418)
  • Support Apple intel apps on M1/2 (using Rosetta) (#3971)
  • Ability to turn off re-scaling when a window moves between monitors for Linux (#5164)
  • Add functions to get text location for position (and vice-versa) with a TextGrid
  • Add support for scrolling many lines in TextGrid
  • Add Append function to TextGrid
  • Add Prepend function to Accordion
  • Support custom titles in file dialogs using SetTitleText
  • Add utility methods to handle colouring of SVG images
  • Add preference bind APIs for list (slice) types
  • Added Greek, Ukrainian & Chinese (Simplified) translations

Changed

  • All callbacks from Fyne drivers and widgets now call on the same goroutine
  • Shortcuts on menu items are now called before widget or canvas shortcuts (#2627)
  • ActionItems in an Entry should now match the standard button size
  • Tidy the fyne CLI and moved to tools repo (#4920)
  • When scroll bar is expanded, clicking above or below the bar scrolls up or down (#4922)
  • Add generics to data binding package
  • File picker now ignores case (#5113)
  • Consistent callback order for dialogs - data before OnClosed
  • Improve drop-shadow to show light from top position
  • load markdown images from origin when not a URL
  • Debug now disabled by default for WASM builds
  • Updated theme of inner window borders with circle style and more customisations
  • Change Accordion.OpenAll when used with single-open accordion to open the first item instead of none

Fixed

  • Fixed all known race conditions

... (truncated)

Changelog

Sourced from fyne.io/fyne/v2's changelog.

2.6.0 - 10 April 2025

Added

  • Added [fyne.Do] and [fyne.DoAndWait] to call from goroutines. This makes it possible to eliminate race conditions.
  • Add "Migrations" section to FyneApp.toml to mark migrations like fyneDo = true
  • Add Calendar and DateEntry widgets
  • Add a third state ([Check.Partial]) to the check widget (#3576)
  • Add ability to select label text using new [Label.Selectable]
  • Support for storage on web driver (#4634)
  • test: Add RenderToMarkup and RenderObjectToMarkup (#5124)
  • Add ability to choose a text size for label widget (#5561)
  • Show soft keyboard on Web build with mobile device (#4394)
  • APIs for testing dialogs (#2771)
  • Add ScrollToOffset functions to collection widgets
  • Add Prepend method to Accordion (#5418)
  • Support Apple intel apps on M1/2 (using Rosetta) (#3971)
  • Ability to turn off re-scaling when a window moves between monitors for Linux (#5164)
  • Add functions to get text location for position (and vice-versa) with a TextGrid
  • Add support for scrolling many lines in TextGrid
  • Add Append function to TextGrid
  • Add Prepend function to Accordion
  • Support custom titles in file dialogs using SetTitleText
  • Add utility methods to handle colouring of SVG images
  • Add preference bind APIs for list (slice) types
  • Added Greek, Ukrainian & Chinese (Simplified) translations

Changed

  • All callbacks from Fyne drivers and widgets now call on the same goroutine
  • Shortcuts on menu items are now called before widget or canvas shortcuts (#2627)
  • ActionItems in an Entry should now match the standard button size
  • Tidy the fyne CLI and moved to tools repo (#4920)
  • When scroll bar is expanded, clicking above or below the bar scrolls up or down (#4922)
  • Add generics to data binding package
  • File picker now ignores case (#5113)
  • Consistent callback order for dialogs - data before OnClosed
  • Improve drop-shadow to show light from top position
  • load markdown images from origin when not a URL
  • Debug now disabled by default for WASM builds
  • Updated theme of inner window borders with circle style and more customisations
  • Change Accordion.OpenAll when used with single-open accordion to open the first item instead of none

Fixed

  • Fixed all known race conditions
  • Decouple clipboard from fyne.Window enhancement (#4418)
  • Odd looking SelectEntry with long PlaceHolder (#4430)
  • Crash when resizing mobile simulator window (#5397)
  • Deadlock when creating widget too fast (#3203)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [fyne.io/fyne/v2](https://github.com/fyne-io/fyne) from 2.5.5 to 2.6.0.
- [Release notes](https://github.com/fyne-io/fyne/releases)
- [Changelog](https://github.com/fyne-io/fyne/blob/master/CHANGELOG.md)
- [Commits](fyne-io/fyne@v2.5.5...v2.6.0)

---
updated-dependencies:
- dependency-name: fyne.io/fyne/v2
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 14, 2025
@tucuxi tucuxi merged commit c959c2f into main Apr 14, 2025
2 of 3 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/fyne.io/fyne/v2-2.6.0 branch April 14, 2025 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant