Skip to content

Releases: rymdport/portal

v0.4.1

26 Feb 08:35
Compare
Choose a tag to compare

This release adds support for the Memory Monitor, Network Monitor, Power Profile Monitor and Proxy Resolver portals. A new helper function to format an X11 window handle has been added. It also cleans up a lot of code duplication while also preparing for future additions for interfaces using requests and sessions.

v0.4.0

11 Feb 17:59
Compare
Choose a tag to compare

This is a breaking release that fixes a spelling error for an OpenURI option field and implements some more portals.

Changes:

  • Rename the Writeable field in openuri.OpenURIOptions to Writable to fix spelling error.
  • Implement the OpenFile and OpenDirectory functions in the OpenURI protocol.
  • Implement the Trash protocol.
  • Add some new helpers to the settings/appearance package to convert any values to corresponding values. Useful inside the change listener of the settings package.

v0.3.0

10 Nov 09:08
Compare
Choose a tag to compare

This is just a small release for making a namespace constant public.

Correctly unwrap value in settings.OnSignalSettingChanged

09 Aug 10:40
Compare
Choose a tag to compare

This fixes an issue where the value of the changed data would be a variant and not the underlying type.

Fall back to Read when ReadOne does not exist

09 Aug 10:23
Compare
Choose a tag to compare

This is a small change to make sure that we try to use Read when ReadOne fails when looking up settings.

Fall back to Gnome interface preference if FreeDesktop appearance fails

07 Aug 12:42
Compare
Choose a tag to compare

This is a small release with an improvement to make sure to look up the gnome interface preference in the case where the Gnome version is too old to support the new FreeDesktop appearance setting.

Fix notification icon displaying as broken when none is passed

30 Apr 08:35
a9536c1
Compare
Choose a tag to compare

This release includes a bug fix to allow the notification icon to be optional. This fix was kindly contributed by @quexten in #11.

Fix crash for unexpected response in OnSignalSettingChanged

20 Mar 19:31
868abfe
Compare
Choose a tag to compare

This issue fixes a possible crash in settings.OnSignalSettingChanged.

Changelog

Changes

  • Fix an issue where an unexpected response would crash in settings.OnSignalSettingChanged.

Improved file choosers and baxckground API added

20 Mar 18:57
a0b0dc5
Compare
Choose a tag to compare

This release adds support for the background portal and implements all of the remaining input options for the file chooser. The remaining work for filechooser on the output side can not be completed without an API break so that will happen later on.

Screenshot from 2024-03-20 19-33-12

Changelog

Additions

  • The org.freedesktop.portal.Background interface was implemented with full API coverage.

Changes

  • All of the remaining input options for the file choosers have been implemented.
    • The .SaveFiles API is now useable (the most important option was missing earlier, whoops).
    • It is now possible to specify file filters.
    • It is now possible to add comboboxes that the user can select at will. This is not very useful until you can read the corresponding output for it but that requires an API break.

Improved performance and api plus new interfaces

16 Mar 15:41
3f4cfa6
Compare
Choose a tag to compare

This is a breaking release with many important changes.

Changelog

Additions

  • The org.freedesktop.portal.Account interface was implemented with full API coverage.
  • The org.freedesktop.portal.Settings interface now has full API coverage (apart from deprecated methods).
  • More options for the methods in the org.freedesktop.portal.FileChooser interface have been added.
  • All methods that support the handle_token option now support setting that.

Changes

  • Various refactoring and code cleanups.
  • A few performance optimizations regarding string concatenation and the conversion to dbus.Variant types.
  • The documentation has been greatly improved more or less everywhere.
  • The application will no longer crash when passing a nil option.
  • The watcher for setting changes now formats the values into a struct with mostly typed values for a more understandable API.

Breaking changes

  • A lot of the APIs have been renamed to more closely follow naming upstream.
  • Helpers for reading appearance settings values are moved into a settings/appearance package.