Skip to content

Releases: gtk-rs/gtk4-rs

0.11.1

14 Mar 13:44

Choose a tag to compare

Charlie-XIAO:
      fix: unsound pointer cast in gdk4::ToplevelExtManual::connect_compute_size and drag_surface_size

Sebastian Dröge:
      Update gir-files
      Regenerate with latest gir files
      Update versions to 0.11.1

0.11.0

20 Feb 09:04

Choose a tag to compare

Alessio Biancalana:
      gtk: add gnome_49 features
      gtk: add gnome_49 features to the README file

Bilal Elmoussaoui:
      ci/docs: Update the list of supported releases
      Post release version bump
      Update gtk-rs-core version as well
      ci/msvs: Mark the job as ok to fail
      gtk: Generate PathPaintable
      gtk: Add SymbolicPaintable.snapshot_with_weight vfunc support
      gtk: Add AccessibleText new vfuncs support
      gtk: Export v4_22 feature
      gtk: Add IMContext.invalid_composition vfunc support
      ci: Add rustfmt component where needed
      gtk: Add v4_22 vfuncs support
      Regenerate with latest gir files
      gdk/win32: Generate new types
      ci/msvc: Build GLib as a first step
      Generate new APIs
      gsk: Automatically generate RenderReplay
      gdk-x11: Use dynamically linked variant of x11 crate

Hofer-Julian:
      Fix unclosed tag in todo_2.md video (#2192)
      book: Use `adw::ShortcutDialog` and update dependencies (#2193)
      book: Add chapter about Meson (#2209)
      Fix comment typo in meson.build
      Add D-Bus activation to book (#2229)
      book: internationalization (#2234)
      Update i18n.md to correct merge_file() details
      ci(book): Make sure meson and schemas can be installed (#2238)

Jake Stanger:
      fix(gdk4-wayland): `egl` feature does not compile without `wayland-crate` feature
      fix(gtk4): remove deprecated warnings on style_context methods

Julian Hofer:
      dockerfile: upgrade libadwaita branch from 1-7 to 1-8
      docker: Add additional dependencies

Kévin Commaille:
      gtk4-macros: Fix link to Blueprint homepage

Lucas Dondo:
      Added missing dot (#2219)

Maximiliano Sandoval:
      Add version features post regen
      Add bindings for gtk::ReducedMotion
      Add bindings for gtk::RestoreReason
      gdk: Ignore RGBA::print
      Add bindings for GtkSvg
      gdk: README: Fix typo
      examples: Port to PaintableFlags::STATIC_SIZE
      gsk: path: Remove PartialOrd, Ord, and Hash
      Temporarily ignore ScrollEvent::relative_direction
      gsk: Allow empty_line_after_outer_attr
      Revert "gsk: Allow empty_line_after_outer_attr"
      Revert "Temporarily ignore ScrollEvent::relative_direction"
      Generate bindings for gsk::PorterDuff
      Generate Copy, Paste and Composite node bindings
      Add gsk::RenderReplay bindings manually
      render_replay: Add unset for optional parameters
      Run cargo fix --edition
      Run cargo fmt
      Update gir & regen
      cargo: Set workspace.resolver to 3
      cargo: Set edition to 2024
      cargo: Run clippy --fix
      cargo: Run fmt
      clippy: Allow let_and_return for mod auto
      Manual cargo fixes
      Update gir and regen bindings

Rafał Mikrut:
      Iter next mutable
      Iter previous, unsound fix

Sebastian Dröge:
      gsk: Manually implement `Transform::matrix_2d()`
      gsk: Generate new `ComponentTransferNode`
      gtk: Generate new `InterfaceContrast` / `InterfaceColorScheme` enums
      gtk: Add `Gsk.ComponentTransfer` as manual to generate new API
      gtk4: Fix new clippy warning about implicit lifetimes
      gsk: Add missing version to `Gsk.ComponentTransferNode` type function
      gtk: Add missing `gsk/v4_20` feature
      deny: Add quick-xml override
      Update Cargo.lock
      gdk: Generate new `ScrollRelativeDirection` enum
      ci: Disable building of gdk-pixbuf docs on Windows
      gtk: Don't leak temporary hash table in `ConstraintLayout::add_constraints_from_description`
      Update Cargo.lock
      gdk4-win32: Allow windows 0.61 and 0.62
      DROP Update to windows 0.62
      Revert "DROP Update to windows 0.62"
      Revert "build(deps): bump femtovg from 0.14.1 to 0.17.0"
      Update Cargo.lock
      deny: Update
      Update dependencies
      Revert "build(deps): bump femtovg from 0.14.1 to 0.18.1"
      Update MSRV to 1.86
      Update all dependencies
      Switch MSRV CI to 1.86
      gtk4: Add back missing doc aliases
      Revert "fix(gtk4): remove deprecated warnings on style_context methods"
      Update gir
      Regenerate with latest gir
      Update docs.rs hack in gdk4-sys build.rs
      Remove `--cfg docsrs` from the Cargo.tomls
      Don't pass `--cfg docsrs` via RUSTFLAGS on the CI
      Set RUSTDOCFLAGS globally in the docs CI job
      Set DOCS_RS=1 in the CI docs build
      Fix broken doc attribute in gdk4-wayland
      Update various dependencies
      Update MSRV to 1.92
      examples: Update to femtovg 0.19 / libloading 0.9
      Update Cargo.lock
      gtk4: Fix docs CI
      Update versions to 0.11.0-alpha.1
      Downgrade gir temporarily
      Regenerate with downgraded gir
      gsk4: Allow clippy type-complexity lint for auto-generated code
      Update gtk-rs-core dependencies
      Update Cargo.lock
      Update versions to 0.11.0-alpha.2
      Update Cargo.lock
      Update version requirements for 4.20 / 4.22
      Generate new APIs
      gsk: Fix `ComponentTransferNode::transfer()` bindings
      gtk4: Fix a couple of new clippy warnings
      gtk4: Remove bindings for removed 4.22 application save/restore APIs
      Update Cargo.lock
      Update versions to 0.11.0-alpha.3
      Update gir
      Regenerate with latest gir
      Update versions to 0.11.0
      Update dependencies

Zhao Gang:
      book: Fix main event loop examples (#2174)

alexkrz:
      Replace user_config_dir by user_data_dir (#2105)

yvt:
      gtk: Do not assume parent impl of `GLArea.create_context` returns non-null

0.10.3

02 Dec 10:15

Choose a tag to compare

Bilal Elmoussaoui:
      ci/msvc: Build GLib as a first step

Sebastian Dröge:
      Update gir
      Regenerate with latest gir
      Update docs.rs hack in gdk4-sys build.rs
      Remove `--cfg docsrs` from the Cargo.tomls
      Don't pass `--cfg docsrs` via RUSTFLAGS on the CI
      Set RUSTDOCFLAGS globally in the docs CI job
      Set DOCS_RS=1 in the CI docs build
      Fix broken doc attribute in gdk4-wayland
      Update Cargo.lock
      Merge pull request #2190 from gtk-rs/0.10-backports
      Update versions to 0.10.3

Zhao Gang:
      book: Fix main event loop examples (#2174)

0.10.2

30 Oct 20:43

Choose a tag to compare

Alessio Biancalana:
      gtk: add gnome_49 features

Bilal Elmoussaoui:
      ci: Add rustfmt component where needed

Jake Stanger:
      gdk4-wayland: `egl` feature does not compile without `wayland-crate` feature

Sebastian Dröge:
      Update gir
      Regenerate with latest gir
      Update dependencies
      Update versions to 0.10.2

yvt:
      gtk: Do not assume parent impl of `GLArea.create_context` returns non-null

0.10.1

17 Sep 11:40

Choose a tag to compare

Bilal Elmoussaoui:
      ci/msvs: Mark the job as ok to fail

Kévin Commaille:
      gtk4-macros: Fix link to Blueprint homepage

Sebastian Dröge:
      Update gir / gir-files
      Regenerate with latest gir / gir-files
      gsk: Manually implement `Transform::matrix_2d()`
      gsk: Generate new `ComponentTransferNode`
      gtk: Generate new `InterfaceContrast` / `InterfaceColorScheme` enums
      gtk: Add `Gsk.ComponentTransfer` as manual to generate new API
      gtk4: Fix new clippy warning about implicit lifetimes
      gsk: Add missing version to `Gsk.ComponentTransferNode` type function
      gtk: Add missing `gsk/v4_20` feature
      deny: Add quick-xml override
      gdk: Generate new `ScrollRelativeDirection` enum
      ci: Disable building of gdk-pixbuf docs on Windows
      gtk: Don't leak temporary hash table in `ConstraintLayout::add_constraints_from_description`
      gdk4-win32: Allow windows 0.61 and 0.62
      Update Cargo.lock
      deny: Update
      Update versions to 0.10.1

0.10.0

15 Jul 13:44

Choose a tag to compare

✨ Features & Improvements

  • Add gdk4-macos bindings #1909
  • MemoryTextureBuilder now generated in gdk #1916
  • Added missing traits for TemplateChild #1870
  • Implemented PropertyGet for TemplateChild #1886
  • Added link to 🇨🇳 Chinese translation of the book #1894
  • AccessibleText made implementable #1789
  • native_window method manually implemented for macOS #1938

🐛 Fixes

  • Fixed segfault in FileChooserExtManual::add_choice() #1834
  • Fixed mutability in callback userdata #1902
  • Fix for AccessibleValue error message layout #1887

📚 Book Updates

  • Updated book to new clone! syntax #1795
  • Book examples now work on macOS #1866, #1867

🔧 Maintenance & Cleanup

  • Dropped sealed auto traits #1868
  • Additional type/interface bounds added to impls #1854, #1883

0.9.7

21 Jun 08:01

Choose a tag to compare

Biswajit Thakur:
      fix doc: disappear `#` from hidden line

Khalid Abu Shawarib:
      gtk: Change disable_portals() assertion to non-initialized

Oscar Pernia:
      gtk: Use a 'static lifetime in EventController::set_static_name

Sebastian Dröge:
      Update Cargo.lock
      Update versions to 0.9.7

William Ashton:
      Adjust install of `ashpd` to avoid `tokio`

0.9.6

16 Feb 11:52

Choose a tag to compare

Bilal Elmoussaoui:
      Ignore manual_c_str_literals clippy warning
      book: Fix typo
      ci:  Use cairo as a renderer
      Update dependencies
      Export v4.18 feature
      Ignore unused imports warning on auto code
      gdk-wayland: Export auto traits on prelude
      Update dependencies

Sebastian Dröge:
      Update gir / gir-files
      Regenerate with latest gir / gir-files
      Update versions to 0.9.6

Zander Brown:
      gtk: don't leak snapshots

0.9.5

19 Dec 08:30

Choose a tag to compare

Bilal Elmoussaoui:
      Add a basic gdk4-macos
      gdk4-macos: Ignore Monitor.get_geometry
      gdk4-macos: Export v4.8 feature and fixup readme
      ci: Build & test gdk4-macos
      readme: Add gdk4-macos
      ci: Build & deploy gdk4-macos docs
      examples: Fix typos
      deny: Allow Unicode-3.0 from unicode-ident
      Fix new beta clippy warnings

Ignacio Casal Quinteiro:
      gdk4-macos: manually implement native_window method
      README: point to gdk4-macos instead of wayland

Sebastian Dröge:
      Update to femtovg 0.11 and glow 0.15
      deny: Add override for quick-xml
      Update gir
      Update gir-files
      Regenerate with latest gir
      deny: Remove obsolete entries
      ci: Update macOS CI to macos-14
      gtk4-macros: Wait for blueprint-compiler process in all branches
      Update Cargo.lock
      Update version to 0.9.5

Sophie Herold:
      gdk: Generate MemoryTextureBuilder

dependabot[bot]:
      build(deps): bump quick-xml from 0.36.2 to 0.37.1
      build(deps): bump docker/metadata-action from 5.5.1 to 5.6.1
      build(deps): bump docker/build-push-action from 6.9.0 to 6.10.0
      build(deps): bump glium from 0.35.0 to 0.36.0

0.9.4

12 Nov 13:30

Choose a tag to compare

Bilal Elmoussaoui:
      gdk: Export v4.18 feature

François Laignel:
      gtk4: fix userdata mutability for FnMut callbacks

Sebastian Dröge:
      Update gir
      Regenerate with latest gir
      Update Cargo.lock
      Update gir-files
      Regenerate with latest gir-files
      Update versions to 0.9.4
      Update -sys dependency versions