glib breaking changes
Updated December 4, 2026
On this page
Latest version 0.22.11, released November 14, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
glib 0.22.0 breaking changes
- Removed
glib::source::unix_fd_add
glib::source::unix_fd_add was removed in glib 0.22.0 crates.io - Removed
glib::source::unix_fd_add_full
glib::source::unix_fd_add_full was removed in glib 0.22.0 crates.io - Removed
glib::source::unix_fd_add_local
glib::source::unix_fd_add_local was removed in glib 0.22.0 crates.io - Removed
glib::source::unix_fd_add_local_full
glib::source::unix_fd_add_local_full was removed in glib 0.22.0 crates.io - Removed
glib::source::unix_fd_source_new
glib::source::unix_fd_source_new was removed in glib 0.22.0 crates.io - Removed
glib::source::unix_signal_add
glib::source::unix_signal_add was removed in glib 0.22.0 crates.io - Removed
glib::source::unix_signal_add_local
glib::source::unix_signal_add_local was removed in glib 0.22.0 crates.io - Removed
glib::source::unix_signal_add_local_once
glib::source::unix_signal_add_local_once was removed in glib 0.22.0 crates.io - Removed
glib::source::unix_signal_add_once
glib::source::unix_signal_add_once was removed in glib 0.22.0 crates.io - Removed
glib::source::unix_signal_source_new
glib::source::unix_signal_source_new was removed in glib 0.22.0 crates.io - Removed
glib::unix_fd_add
glib::unix_fd_add was removed in glib 0.22.0 crates.io - Removed
glib::unix_fd_add_full
glib::unix_fd_add_full was removed in glib 0.22.0 crates.io - Removed
glib::unix_fd_add_local
glib::unix_fd_add_local was removed in glib 0.22.0 crates.io - Removed
glib::unix_fd_add_local_full
glib::unix_fd_add_local_full was removed in glib 0.22.0 crates.io - Removed
glib::unix_fd_source_new
glib::unix_fd_source_new was removed in glib 0.22.0 crates.io - Removed
glib::unix_open_pipe
glib::unix_open_pipe was removed in glib 0.22.0 crates.io - Removed
glib::unix_signal_add
glib::unix_signal_add was removed in glib 0.22.0 crates.io - Removed
glib::unix_signal_add_local
glib::unix_signal_add_local was removed in glib 0.22.0 crates.io - Removed
glib::unix_signal_add_local_once
glib::unix_signal_add_local_once was removed in glib 0.22.0 crates.io - Removed
glib::unix_signal_add_once
glib::unix_signal_add_once was removed in glib 0.22.0 crates.io - Removed
glib::unix_signal_future
glib::unix_signal_future was removed in glib 0.22.0 crates.io - Removed
glib::unix_signal_future_with_priority
glib::unix_signal_future_with_priority was removed in glib 0.22.0 crates.io - Removed
glib::unix_signal_source_new
glib::unix_signal_source_new was removed in glib 0.22.0 crates.io - Removed
glib::unix_signal_stream
glib::unix_signal_stream was removed in glib 0.22.0 crates.io - Removed
glib::unix_signal_stream_with_priority
glib::unix_signal_stream_with_priority was removed in glib 0.22.0 crates.io - Removed
glib::win32_check_windows_version
glib::win32_check_windows_version was removed in glib 0.22.0 crates.io - Removed
glib::win32_command_line
glib::win32_command_line was removed in glib 0.22.0 crates.io - Removed
glib::win32_error_message
glib::win32_error_message was removed in glib 0.22.0 crates.io - Removed
glib::win32_getlocale
glib::win32_getlocale was removed in glib 0.22.0 crates.io - Removed
glib::win32_package_installation_directory_of_module
glib::win32_package_installation_directory_of_module was removed in glib 0.22.0 crates.io - Removed
glib::Win32OSType
glib::Win32OSType was removed in glib 0.22.0 crates.io - Renamed
BindingBuilder
The binding_group transform functions were renamed to with_value, so callers must switch to the new name. github.com - Renamed
push_thread_default
The push_thread_default function was renamed in this release, so code calling the old name must be updated to the new name. github.com - Configuration changed
The minimum supported Rust toolchain is now 1.92, so older compilers can no longer build the crate. github.com - Signature changed
File.replace_contents_async
The etag argument of replace_contents_async is now optional, so its call signature changed for existing callers. github.com - Signature changed
g_closefrom
g_closefrom must now be called inside an unsafe block, so existing callers need to add one. github.com - Signature changed
glib::BindingGroupBuilder
Was struct BindingGroupBuilder<'a>; now struct BindingGroupBuilder<'a, 'f, 't>. crates.io - Signature changed
glib::BindingGroupBuilder::bidirectional
Was fn bidirectional(mut self) -> Self; now fn bidirectional(mut self) -> Self. crates.io - Signature changed
glib::BindingGroupBuilder::flags
Was fn flags(self, flags: BindingFlags) -> Self; now fn flags(self, flags: BindingFlags) -> Self. crates.io - Signature changed
glib::BindingGroupBuilder::invert_boolean
Was fn invert_boolean(mut self) -> Self; now fn invert_boolean(mut self) -> Self. crates.io - Signature changed
glib::BindingGroupBuilder::sync_create
Was fn sync_create(mut self) -> Self; now fn sync_create(mut self) -> Self. crates.io - Signature changed
glib::BindingGroupBuilder::transform_from
Was fn transform_from<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>(self, func: F) -> Self; now fn transform_from<S: FromValue<'f>, T: Into<Value>, F: Fn(&'f Binding, S) -> Option<T> + Send + Sync + 'static>(self, func... crates.io - Signature changed
glib::BindingGroupBuilder::transform_to
Was fn transform_to<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>(self, func: F) -> Self; now fn transform_to<S: FromValue<'t>, T: Into<Value>, F: Fn(&'t Binding, S) -> Option<T> + Send + Sync + 'static>(self, func: F)... crates.io - Signature changed
glib::enums::EnumValue::name
Was fn name(&self) -> &str; now fn name<'a>(&self) -> &'a str. crates.io - Signature changed
glib::enums::EnumValue::nick
Was fn nick(&self) -> &str; now fn nick<'a>(&self) -> &'a str. crates.io - Signature changed
glib::enums::FlagsValue::name
Was fn name(&self) -> &str; now fn name<'a>(&self) -> &'a str. crates.io - Signature changed
glib::enums::FlagsValue::nick
Was fn nick(&self) -> &str; now fn nick<'a>(&self) -> &'a str. crates.io - Signature changed
glib::EnumValue::name
Was fn name(&self) -> &str; now fn name<'a>(&self) -> &'a str. crates.io - Signature changed
glib::EnumValue::nick
Was fn nick(&self) -> &str; now fn nick<'a>(&self) -> &'a str. crates.io - Signature changed
glib::FlagsValue::name
Was fn name(&self) -> &str; now fn name<'a>(&self) -> &'a str. crates.io
And 4 more in this version. Sign up to see every change
glib 0.21.0 breaking changes
- Removed
Previously deprecated APIs were removed in this release; code still using them must be updated. github.com - Removed
glib::ExitCode::value
glib::ExitCode::value was removed in glib 0.21.0 crates.io - Removed
glib::GStringPtr::to_str
Use as_str instead. crates.io - Removed
glib::object::SendWeakRef::new
glib::object::SendWeakRef::new was removed in glib 0.21.0 crates.io - Removed
glib::SendWeakRef::new
glib::SendWeakRef::new was removed in glib 0.21.0 crates.io - Removed
glib::subclass::interface::ObjectInterfaceExt::from_instance
Use from_obj instead. crates.io - Removed
glib::subclass::prelude::ObjectInterfaceExt::from_instance
Use from_obj instead. crates.io - Removed
glib::subclass::prelude::ObjectSubclassExt::from_instance
Use from_obj instead. crates.io - Removed
glib::subclass::prelude::ObjectSubclassExt::instance
Use obj instead. crates.io - Removed
glib::subclass::types::ObjectSubclassExt::from_instance
Use from_obj instead. crates.io
And 40 more in this version. Sign up to see every change
glib 0.20.0 breaking changes
- Removed
DBusConnection.register_object
The generated register_object binding is ignored now; register DBus objects with the builder instead. github.com - Removed
File.copy_async_with_closures
File::copy_async_with_closures is no longer generated and cannot be used from this release. github.com - Removed
File.move_async_with_closures
File::move_async_with_closures is no longer generated and cannot be used from this release. github.com - Removed
gio.prelude
Code that relied on the gio prelude to bring in types must import those types directly. github.com - Removed
glib::subclass::TypeData::parent_ifaces
glib::subclass::TypeData::parent_ifaces was removed in glib 0.20.0 crates.io - Removed
glib::subclass::TypeData::private_imp_offset
glib::subclass::TypeData::private_imp_offset was removed in glib 0.20.0 crates.io - Removed
glib::subclass::TypeData::private_offset
glib::subclass::TypeData::private_offset was removed in glib 0.20.0 crates.io - Removed
glib::subclass::types::INIT_TYPE_DATA
glib::subclass::types::INIT_TYPE_DATA was removed in glib 0.20.0 crates.io - Removed
glib::subclass::types::TypeData::parent_ifaces
glib::subclass::types::TypeData::parent_ifaces was removed in glib 0.20.0 crates.io - Removed
glib::subclass::types::TypeData::private_imp_offset
glib::subclass::types::TypeData::private_imp_offset was removed in glib 0.20.0 crates.io
And 29 more in this version. Sign up to see every change
glib 0.19.0 breaking changes
- Removed
The deprecated ParamSpec constructors were removed. Code using them must switch to the remaining constructors. github.com - Removed
glib::access
glib::access was removed in glib 0.19.0 crates.io - Removed
glib::application_name
glib::application_name was removed in glib 0.19.0 crates.io - Removed
glib::base64_decode
glib::base64_decode was removed in glib 0.19.0 crates.io - Removed
glib::base64_encode
glib::base64_encode was removed in glib 0.19.0 crates.io - Removed
glib::Cast
glib::Cast was removed in glib 0.19.0 crates.io - Removed
glib::CastNone
glib::CastNone was removed in glib 0.19.0 crates.io - Removed
glib::check_version
glib::check_version was removed in glib 0.19.0 crates.io - Removed
glib::check_windows_version
glib::check_windows_version was removed in glib 0.19.0 crates.io - Removed
glib::codeset
glib::codeset was removed in glib 0.19.0 crates.io
And 122 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.