Skip to content

v0.10.4

Choose a tag to compare

@github-actions github-actions released this 17 Mar 05:26
· 347 commits to main since this release

Deprecated

  • Extensions
    • dear-imnodes: EditorContext::* methods that rely on the global current ImNodes context are deprecated and will be removed in 0.11.0. Use Context::bind_editor(&EditorContext) instead.
    • dear-imnodes: EditorContext::create/try_create are deprecated and will be removed in 0.11.0. Use Context::{create_editor_context,try_create_editor_context} instead.

Changed

  • Core (dear-imgui-rs)
    • Widgets: split widget::input into focused submodules for text callbacks and numeric builders without intended public API changes.
    • Platform: split platform_io into focused submodules for viewport wrappers and callback trampolines without intended public API changes.

Fixed

  • Core (dear-imgui-rs)
    • Fonts: keep FontAtlas::set_texture_id() aligned with the managed ImTextureData path so the atlas TexRef continues to track backend-driven texture ID updates instead of degrading to a legacy ID-only reference.
  • Backends
    • dear-imgui-glow: harden the modern texture update path by keeping the fallback font-atlas texture in sync with managed atlas create/update/destroy requests.
    • dear-imgui-glow: align texture destroy handling with other renderers by setting WantDestroyNextFrame before marking managed textures as Destroyed.
    • dear-imgui-glow: refactor sub-rectangle RGBA conversion into a reusable helper and add regression tests mirroring the dear-imgui-wgpu coverage for RGBA32 / Alpha8 uploads.
    • dear-imgui-glow: fix external-context rendering so render_with_context() now uses the caller-provided GL context for managed texture create/update/destroy requests from DrawData::textures() instead of failing when the renderer does not own the context. Fixes #22, thanks @CoffeeCatRailway.
    • dear-imgui-glow: add register_texture_with_context() / update_texture_with_context() helpers plus a runnable external-context regression example covering the create/update/destroy flow.
    • dear-imgui-wgpu: stop tracking a separate renderer-side font atlas ID cache in the fallback path; legacy fallback uploads now check the atlas TexRef plus live texture-manager state directly, keeping modern managed textures as the source of truth.