NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #1226 most downloaded on crates.io
Rust bindings for the GLib library
Latest stable
0.22.10
Last release 2 months ago
19 Sep 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
3 versions withdrawn
withdrawn after publishing
12 years old
115 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
``` Bilal Elmoussaoui (3): gio: Add helpers for setting SettingBinding flags glib: Fix docs links gio: Add set_only/get_only helpers to BindingBuilder
Bilal Elmoussaoui (3):
gio: Add helpers for setting SettingBinding flags
glib: Fix docs links
gio: Add set_only/get_only helpers to BindingBuilder
Sebastian Dröge (3):
glib: Add `ObjectSubclass::obj()` as a shorter alias for `instance()`
glib: Add unsafe bindings to `g_object_run_dispose()`
Update versions to 0.16.2
anteater (1):
Correct outdated references to `subclass::simple`
Bilal Elmoussaoui:
SettingBinding flagsset_only/get_only helpers to BindingBuilderSebastian Dröge:
ObjectSubclass::obj() as a shorter alias for instance()g_object_run_dispose()anteater:
subclass::simple``` Bilal Elmoussaoui (2): glib: Add helpers for setting property bindings flags cairo: Fix rectangle getter
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Bilal Elmoussaoui (2):
glib: Add helpers for setting property bindings flags
cairo: Fix rectangle getter
Sebastian Dröge (2):
glib: Add a getter for `ObjectBuilder::type_`
Update versions to 0.16.1
Bilal Elmoussaoui
Sebastian Dröge
ObjectBuilder::type_ObjectSubclass::obj() as a shorter alias for instance()Nothing published for this version
``` Ben Kimock (1): Fix off-by-one in GString::from (and missing null)
Ben Kimock (1):
Fix off-by-one in GString::from (and missing null)
Bilal Elmoussaoui (3):
CI: remove -sys conditions tests for windows
gdk_pixbuf: opt-in for gi-docgen
CI: update the gh-package job
Jason Francis (13):
glib: allow unused imports in gobject::auto
cairo: restrict pdf tests to only emit PDF 1.5
Port Dockerfile to fedora rawhide and use system deps from git
ci: Bump versions in image workflow
image: Don't build gdk-pixbuf tests
ci: Bump versions in image workflow
ci: push image to github container repository
dockerfile: disable gdk-pixbuf man pages
ci: add toplevel repo to safe.directory when running checker
ci: bump some more action versions
ci: use set-safe-directory for gtk-rs/checker checkout
Revert "ci: use set-safe-directory for gtk-rs/checker checkout"
ci: don't build full gtk in windows ci
Matteo Biggio (5):
glib: add missing emit_by_name methods
SocketAddressEnumerator: `next` return value should be nullable
translate.rs: free the container memory also when the container is empty
gstring: implement AsRef<Path> for GString and GStr
ProcessLauncher: `close` method should be available on unix only
Maximiliano Sandoval R (4):
Fix GBindingGroup bindings
binding_group: Correct doc for build
binding_group: Add test
Use RefCell::take() when possible
Mițca Dumitru (3):
cairo: Add safety docs for low hanging fruits
gio: Add safety docs for Unix and Win32 streams
glib: Add safety docs for log_writer_default_set_use_stderr
Sebastian Dröge (14):
glib/gio: Implement `FusedFuture` / `FusedStream` in some places
Implement `FusedIterator` for various custom iterators
Fix/silence various new clippy warnings
bindinggroup: Make sure to use NUL-terminated strings for the `source_property` in all cases
bindinggroup: Fix test by making the binding bidirectional as expected from the test
bindingroup: Pass a `String` to the transform function instead of a `*const u8`
bindingroup: Fix transform_to test
bindinggroup: Add test for changing the value type between properties
binding: Add tests for Binding
ci: Fix syntax in windows.yml
Update versions to 0.15.12
ranfdev (7):
remove unused mod_name in define_param_spec!
add common numeric spec impl, common assert_param_name
remove useless from_glib in min_max macro
add #[track_caller] to assert_param_name
fully define a corresponding `Builder` for each `ParamSpec`
reuse new fn in ParamSpecOverride
impl Default for ParamFlags
``` Jason Francis (9): glib-macros: Fix clippy lints glib: Generate docs for BindingGroupBuilder glib: implement ValueTypeOptional for Variant, Varian
Jason Francis (9):
glib-macros: Fix clippy lints
glib: Generate docs for BindingGroupBuilder
glib: implement ValueTypeOptional for Variant, VariantType, BoxedValue
glib: Add safety docs for WatchedObject::borrow
glib: Implement Sync for WatchedObject
Implement ValueTypeOptional for BoxedInline and cairo types
cairo: Fix soundness in ToValueOptional for inline structs
cairo: Implement FromValue for reference types
cairo: Implement GValue wrappers for Matrix
Luca BRUNO (1):
glib/variant: add some more safe wrappers
Mițca Dumitru (5):
gdk_pixbuf: Improve `Pixbuf::pixels` documentation
glib: Remove redundant null-checks before `g_free`
glib: Remove redundant null-checks before `free`-like functions
gio: Remove redudant null-checks before `g_free`
gio: Remover redundant null-checks before `g_strdup`
Paolo Borelli (1):
error: add `matches` method
Rodrigo Rivas Costa (1):
glib: Fix conversion between Variant and OsString/PathBuf.
SeaDve (1):
glib-macros: Remove boxed_nullable and shared_boxed_nullable attribute for glib::Boxed
Sebastian Dröge (12):
glib: Fix build with `v2_72` and require 2.72.0 now
Fix a couple of new clippy warnings
gio: Update serial_test dependency to 0.6
glib: Add `to_glib_full()` for `Path` / `OsStr`
glib: Fix `mkdtemp()` and `mkdtemp_full()`
glib: Add new `ObjectImplRef` and `ObjectImplWeakRef` types
glib: Add getter for `glib::Error` domain quark
ci: Update gvsbuild version
ci: Switch to windows-2019 image
Update versions to 0.15.11
glib: Lower glib-macros version requirement to 0.15.10
ranfdev (1):
remove extend_from_slice position subtraction, add test
``` Jason Francis (6): glib: Add GStr for borrowing GStrings glib: Finish adding all structured logging functions glib: Simplify g_log_inner and g_pri
Jason Francis (6):
glib: Add GStr for borrowing GStrings
glib: Finish adding all structured logging functions
glib: Simplify g_log_inner and g_print_inner
glib: Optimize GlibLogger to avoid some copies
glib: Disable log_structured doc test before v2_50
Use Send+Sync for more Boxed types
Paolo Borelli (3):
Update gir
regen
gio: add AsyncInitable
Sebastian Dröge (5):
Update versions to 0.15.10
glib: Depend on glib-macros 0.15.10
arcnmx (4):
glib: clarify wording on VariantTy fns
glib: impl FromStr for VariantType
glib: VariantTy tuple type iterator
glib: print and parse for Variant
`` Sebastian Dröge (4): glib: Add license file to gobject-sys glib: Allow borrowing a ParamSpec reference from a Value Update versions to 0.15.9 ``
Sebastian Dröge (4):
glib: Add license file to gobject-sys
glib: Allow borrowing a `ParamSpec` reference from a `Value`
Update versions to 0.15.9
` Sebastian Dröge (2): Revert "fix warning about unnecessary parentheses in boxed_inline" Update versions to 0.15.8 `
Sebastian Dröge (2):
Revert "fix warning about unnecessary parentheses in boxed_inline"
Update versions to 0.15.8
``` Guillaume Gomez (1): Fix clippy lints
Guillaume Gomez (1):
Fix clippy lints
Jason Francis (5):
Add new classes from glib 2.72
Fix broken gnome/gtk doc links
glib: Use "%s" instead of replacing % in log functions
glib: Correctly cast log messages to C char types
Use glib 2.71 for minimum v2_72 pkg-config versions
Sebastian Dröge (2):
Update versions to 0.15.7
ranfdev (3):
make generics work in boxed_inline wrapper macro
fix warning about unnecessary parentheses in boxed_inline
impl `ToValue`, `FromValue` for char
songww (2):
pango: Add LayoutLine.runs()
pango: Add missing getter for GlyphItemIter.
``` Colin Walters (1): translate: Pre-allocate Rust hashmap at correct size
Colin Walters (1):
translate: Pre-allocate Rust hashmap at correct size
Hofer-Julian (1):
glib: add trait `StaticTypeExt` with method `type_ensure`
Jason Francis (1):
glib-macros: Pass a pointer for watched objects into closure macro
Sebastian Dröge (14):
Update versions to 0.15.5
Handle empty slices correctly
Update gir-files
glib: Mark `UnicodeScript::Math` as available in 2.72
gio: Implement `File::move_async` manually
glib: Ignore aligned allocation functions
glib: Fix handling of closures that provide a return value pointer that is initialized to `G_TYPE_INVALID`
glib: Add an `Object` specific value type checker
glib: Don't use `from_glib_full()` for the individual items of an array for boxed inline types
Regenerate
Update versions to 0.15.6
arcnmx (6):
glib: Variant::from_dict_entry
glib: VariantType::new_dict_entry
glib: VariantType::new_array
glib: VariantType::new_maybe
glib: VariantType::new_tuple
glib: impl AsRef<Variant> for Variant
songww (1):
Add missing pango attrs
``` Matteo Biggio (1): gtask: fix memory leak in when calling g_task_return_value
Matteo Biggio (1):
gtask: fix memory leak in when calling g_task_return_value
Sebastian Dröge (5):
Update gir-files
Regenerate with latest gir-files
gio: Add version to `CredentialsType::Win32Pid`
Update versions to 0.15.5
arcnmx (8):
glib: Pointer type
glib: give a name to c_void
glib: basic Pointer tests
glib: impl FromGlib<gconstpointer> for Pointer
glib: explicitly alias Pointer as `ffi::gpointer`
glib: dynamic type APIs for Variants and Values
glib: `Variant::as_maybe()`
glib: remove all translate traits from pointers
``` Paolo Borelli (1): gio: add Initable::with_type
Paolo Borelli (1):
gio: add Initable::with_type
Sebastian Dröge (14):
Update manual implementations to not require `Send` closures for GIO-style async functions
Update gir-files
glib/gio: Remove unnecessary overrides
gio: Add `v2_72` feature
gio: Add 2.72 marker to `G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD`
Update gir
Regenerate with latest gir
Update versions to 0.15.4
gio: Use correct callback type for `File::copy_async()`
glib: Pass module path instead of `None` for the function
glib: Never pass `NULL` to `g_log_structured_standard()`
gio/gdk-pixbuf: Depend on glib 0.15.3 for `ThreadGuard` API
``` Andrey Kutejko (1): glib-macros: Remove redundant allocations
Andrey Kutejko (1):
glib-macros: Remove redundant allocations
Andy Russell (1):
glib: implement To/FromVariant for OS strings and paths (#483)
Paolo Borelli (1):
glib: Add more documentation on how to replace g_signal_connect_object
Sebastian Dröge (5):
glib: Add an object builder
glib: Provide `ThreadGuard` and `thread_id()` as public API
gio: Use `ThreadGuard` from glib instead of providing a separate implementation
Update versions to 0.15.3
ranfdev (2):
glib-macros: use bool::then in subclass macro
glib-macros: reduce subclass macro size
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.