Skip to content

v0.10.2

Choose a tag to compare

@github-actions github-actions released this 24 Feb 07:12
· 365 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.

Added

  • Core (dear-imgui-rs)
    • Context::alive_token() / ContextAliveToken: allow extension crates to detect if an ImGui context has been dropped (helps avoid calling FFI with dangling ImGuiContext*).

Fixed

  • Extensions
    • dear-imnodes: fix potential use-after-free hazards by scoping editor post-frame handles and style tokens to the active editor/frame lifetime.
    • dear-imnodes: ensure minimap callbacks remain alive for the full editor frame.
    • dear-imnodes: harden context binding (ImGui/ImNodes/editor) for editor operations and token drops.
    • dear-imnodes: guard ImGui context rebinding against dropped contexts (panic instead of UB on misuse).
    • dear-imnodes: validate raw style-var indices in push_style_var_* helpers to avoid out-of-bounds access in release builds.
    • dear-imnodes: fix imnodes_basic context menu crash (Fixes #19).
    • dear-implot: harden ImGui context binding and guard context drop order hazards via ContextAliveToken (panic or best-effort leak instead of UB).
    • dear-implot3d: guard context drop order hazards via ContextAliveToken (best-effort leak instead of UB).
    • dear-imgui-test-engine: record bound ImGui context liveness via ContextAliveToken and guard shutdown/drop order hazards (panic or best-effort leak instead of UB).