Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@gucio321 gucio321 released this 12 Nov 15:13
· 33 commits to main since this release
086586f

Introduction

Hi!
Today we present a next release of cimgui-go with many new features and bugfixes.

Breaking Changes

We're so sorry for that, but again we had to do some (fortunately small) breaking changes.

  • Plot* and ImNodes* prefixes were removed from auto-generated functions.
    • for fast migration check out #364 (comment) (you can use a one-line sed instruction to update your project)

Release Highlights

  • A new imgui plugin was added: ImGuiColorTextEdit
    • Special thanks goes to @sonoro1234 for help with C code generation
      image
  • Callback types were added to codegen 🎉
  • Many functions have been added (these using Callback typedefs; enum pointer arguments were added too)
  • github.com/AllenDang/cimgui-go/cmd/codegen now uses a json file for imgui-specific generator configuration.
    • Our goal is to make the codegen a useful tool not only for cimgui-go but make it able to generate any Go binding based on cimgui-like JSON configs.
    • Things like renames or skipped typedefs/structs/funcs are not hardcoded anymore.
  • Some types were given a NewEmptyXXX creator initializing them with their 0 values (like they would be by using new(XXX))

What's Changed - detailed changelog

Full Changelog: v1.1.0...v1.2.0