---
title: "gio 0.22.0 Breaking Changes on crates.io | Since.dev"
description: "What each gio release removed, renamed or changed: 300 breaking changes in 4 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/gio
last_updated: 2026-12-04
---

# gio breaking changes

gio 0.22.0 (February 20, 2026) is its newest release with breaking changes, 45 of them. The first: Removed gio::DesktopAppInfo. Every breaking API change we have recorded in gio on crates.io: 300 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.22.11`, released November 14, 2026. [Source repository](https://github.com/gtk-rs/gtk-rs-core)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.19.0](#v-0-19-0) to [0.22.0](#v-0-22-0): 240 breaking changes in 3 versions.

## gio 0.22.0 breaking changes

gio 0.22.0, released February 20, 2026: 45 breaking changes.

- **Removed** `gio::DesktopAppInfo`  

gio::DesktopAppInfo was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::FileDescriptorBased`  

gio::FileDescriptorBased was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::functions::unix_is_mount_path_system_internal`  

gio::functions::unix_is_mount_path_system_internal was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::functions::unix_is_system_device_path`  

gio::functions::unix_is_system_device_path was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::functions::unix_is_system_fs_type`  

gio::functions::unix_is_system_fs_type was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::ApplicationCommandLineExt::exit_status`  

gio::prelude::ApplicationCommandLineExt::exit_status was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::ApplicationCommandLineExt::set_exit_status`  

gio::prelude::ApplicationCommandLineExt::set_exit_status was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::DesktopAppInfoExtManual`  

gio::prelude::DesktopAppInfoExtManual was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::FileDescriptorBasedExtManual`  

gio::prelude::FileDescriptorBasedExtManual was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::FileExtManual::measure_disk_usage`  

gio::prelude::FileExtManual::measure_disk_usage was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::UnixFDListExtManual`  

gio::prelude::UnixFDListExtManual was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::UnixFDMessageExt`  

gio::prelude::UnixFDMessageExt was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::UnixFDMessageExtManual`  

gio::prelude::UnixFDMessageExtManual was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::UnixInputStreamExt`  

gio::prelude::UnixInputStreamExt was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::UnixInputStreamExtManual`  

gio::prelude::UnixInputStreamExtManual was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::UnixOutputStreamExt`  

gio::prelude::UnixOutputStreamExt was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::UnixOutputStreamExtManual`  

gio::prelude::UnixOutputStreamExtManual was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::UnixSocketAddressExtManual`  

gio::prelude::UnixSocketAddressExtManual was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::UnixSocketAddressPath`  

gio::prelude::UnixSocketAddressPath was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::Win32InputStreamExt`  

gio::prelude::Win32InputStreamExt was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::prelude::Win32OutputStreamExt`  

gio::prelude::Win32OutputStreamExt was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::SocketMsgFlags`  

gio::SocketMsgFlags was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::UnixFDMessage`  

gio::UnixFDMessage was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::UnixInputStream`  

gio::UnixInputStream was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::UnixMountEntry`  

gio::UnixMountEntry was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::UnixMountMonitor`  

gio::UnixMountMonitor was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::UnixMountPoint`  

gio::UnixMountPoint was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::UnixOutputStream`  

gio::UnixOutputStream was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::Win32InputStream`  

gio::Win32InputStream was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `gio::Win32OutputStream`  

gio::Win32OutputStream was removed in gio 0.22.0 [crates.io](https://crates.io/crates/gio/0.22.0)
- **Removed** `UnixFdMessage`  

UnixFdMessage was dropped, so code that uses it will no longer compile. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)
- **Renamed**  

The binding_group transform functions were renamed to with_value, so callers must use the new name. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)
- **Renamed** `push_thread_default`  

The function was renamed, so existing calls to push_thread_default must be updated to the new name. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)
- **Configuration changed**  

The minimum supported Rust version is now 1.92, so older toolchains can no longer build the crate. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)
- **Signature changed** `cairo_script_create_for_stream`  

The return type of cairo_script_create_for_stream was changed, so callers relying on the old type must be updated. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)
- **Signature changed** `File.replace_contents_async`  

The etag parameter of File::replace_contents_async is now optional, so callers must adapt to the new type. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)
- **Signature changed** `g_closefrom`  

g_closefrom() is now an unsafe function, so calls must be wrapped in an unsafe block. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)
- **Signature changed** `gio::IOModuleScopeFlags`  

Was enum IOModuleScopeFlags; now pub use self::flags::IOModuleScopeFlags. [crates.io](https://crates.io/crates/gio/0.22.0)
- **Signature changed** `gio::prelude::DBusInterfaceExt::info`  

Was fn info(&self) -> DBusInterfaceInfo; now fn info(&self) -> Option\<DBusInterfaceInfo>. [crates.io](https://crates.io/crates/gio/0.22.0)
- **Signature changed** `gio::prelude::FileExtManual::load_contents_future`  

Was fn load_contents_future(&self) -> Pin\<Box\<dyn std::future::Future\<Output = Result<(glib::collections::Slice\<u8>, Option\<glib::GString>), glib::Error>> + 'static>>; now fn load_contents_future(&self) -> impl std::future::Future\<Output =... [crates.io](https://crates.io/crates/gio/0.22.0)
- **Signature changed** `gio::TlsCertificateRequestFlags`  

Was enum TlsCertificateRequestFlags; now pub use self::flags::TlsCertificateRequestFlags. [crates.io](https://crates.io/crates/gio/0.22.0)
- **Signature changed** `gio::TlsDatabaseLookupFlags`  

Was enum TlsDatabaseLookupFlags; now pub use self::flags::TlsDatabaseLookupFlags. [crates.io](https://crates.io/crates/gio/0.22.0)
- **Signature changed** `Regex.match`  

The Regex::match API was changed, so callers must adapt to the updated interface. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)
- **Signature changed** `setenv`  

setenv() is now an unsafe function, so calls must be wrapped in an unsafe block. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)
- **Signature changed** `unsetenv`  

unsetenv() is now an unsafe function, so calls must be wrapped in an unsafe block. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.22.0)

## gio 0.21.0 breaking changes

gio 0.21.0, released July 15, 2025: 187 breaking changes.

- **Removed**  

Deprecated APIs were removed in this release. Code that still uses them will stop compiling and must move to the replacements. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.21.0)
- **Removed** `gio::prelude::ApplicationExt::connect_command_line`  

gio::prelude::ApplicationExt::connect_command_line was removed in gio 0.21.0 [crates.io](https://crates.io/crates/gio/0.21.0)
- **Removed** `gio::prelude::ApplicationExt::connect_handle_local_options`  

gio::prelude::ApplicationExt::connect_handle_local_options was removed in gio 0.21.0 [crates.io](https://crates.io/crates/gio/0.21.0)
- **Removed** `gio::prelude::FileEnumeratorExt::close`  

gio::prelude::FileEnumeratorExt::close was removed in gio 0.21.0 [crates.io](https://crates.io/crates/gio/0.21.0)
- **Removed** `SendWeakRef.new`  

SendWeakRef::new was removed because its implementation was unsound. Code calling it must be changed. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.21.0)
- **Configuration changed**  

The minimum supported Rust version is now 1.80. Users on older Rust toolchains must upgrade. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.21.0)
- **Configuration changed**  

The UNIX mount compatibility API is now only provided on UNIX platforms, so it is unavailable elsewhere. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.21.0)
- **Signature changed**  

The signal accumulator function signature was changed. Custom accumulators must be updated to the new signature. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.21.0)
- **Signature changed** `gio::functions::content_type_guess`  

Was fn content_type_guess(filename: Option\<impl AsRef\<std::path::Path>>, data: &\[u8\]) -> (glib::GString, bool); now fn content_type_guess<'a>(filename: Option\<impl AsRef\<std::path::Path>>, data: impl Into\<Option<&'a \[u8\]>>) ->... [crates.io](https://crates.io/crates/gio/0.21.0)
- **Signature changed** `gio::prelude::ActionExt`  

Was trait ActionExt: IsA\<Action> + sealed::Sealed + 'static; now trait ActionExt: IsA\<Action> + 'static. [crates.io](https://crates.io/crates/gio/0.21.0)

And 177 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## gio 0.20.0 breaking changes

gio 0.20.0, released July 10, 2024: 8 breaking changes.

- **Removed** `DBusConnection.register_object`  

The method is explicitly ignored in the bindings, so callers must register DBus objects through the new builder instead. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.20.0)
- **Removed** `File.copy_async_with_closures`  

The method is now marked as ignored and is no longer available in the bindings. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.20.0)
- **Removed** `File.move_async_with_closures`  

The method is now marked as ignored and is no longer available in the bindings. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.20.0)
- **Removed** `gio::builders::ApplicationBuilder::action_group`  

gio::builders::ApplicationBuilder::action_group was removed in gio 0.20.0 [crates.io](https://crates.io/crates/gio/0.20.0)
- **Removed** `gio::prelude::ApplicationExt::connect_action_group_notify`  

gio::prelude::ApplicationExt::connect_action_group_notify was removed in gio 0.20.0 [crates.io](https://crates.io/crates/gio/0.20.0)
- **Removed** `gio::prelude::ApplicationExt::set_action_group`  

gio::prelude::ApplicationExt::set_action_group was removed in gio 0.20.0 [crates.io](https://crates.io/crates/gio/0.20.0)
- **Removed** `gio.prelude`  

The prelude no longer re-exports every gio type, so code relying on those names from the prelude must import them directly. [github.com](https://github.com/gtk-rs/gtk-rs-core/releases/tag/0.20.0)
- **Signature changed** `gio::ffi`  

Was pub use ffi; now pub use gio_sys. [crates.io](https://crates.io/crates/gio/0.20.0)

## gio 0.19.0 breaking changes

gio 0.19.0, released February 4, 2024: 60 breaking changes.

- **Removed** `gio::builders::*`  

gio::builders::\* was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)
- **Removed** `gio::bus_get`  

gio::bus_get was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)
- **Removed** `gio::bus_get_future`  

gio::bus_get_future was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)
- **Removed** `gio::bus_get_sync`  

gio::bus_get_sync was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)
- **Removed** `gio::content_type_can_be_executable`  

gio::content_type_can_be_executable was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)
- **Removed** `gio::content_type_equals`  

gio::content_type_equals was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)
- **Removed** `gio::content_type_from_mime_type`  

gio::content_type_from_mime_type was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)
- **Removed** `gio::content_type_get_description`  

gio::content_type_get_description was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)
- **Removed** `gio::content_type_get_generic_icon_name`  

gio::content_type_get_generic_icon_name was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)
- **Removed** `gio::content_type_get_icon`  

gio::content_type_get_icon was removed in gio 0.19.0 [crates.io](https://crates.io/crates/gio/0.19.0)

And 50 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [gdk-pixbuf](https://since.dev/packages/crates/gdk-pixbuf.md)
- [cairo-rs](https://since.dev/packages/crates/cairo-rs.md)
- [glib](https://since.dev/packages/crates/glib.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
