New
v1.3.0
Introduction
This release mainly contains cmd/codegen improvements as well as some backend changes that makes backend interface easier to use.
Release highlights
- codegen module (
cmd/codegen) received several updates and cleanups incuding:- it uses an external flag package so writing flags is easier now. It also supports long version of flags (e.g.
-dand--definitions) Presetwas extended with several fields including imgui-specific stuff from argument/return_wrapper- gofumpt and goimports are now integrated with codegen so that you don't need to run them on your own.
- documentation was added.
- it uses an external flag package so writing flags is easier now. It also supports long version of flags (e.g.
backend.WindowCloseCallback: type was changedfunc(b Backend[T])->func()(it is not generic anymore).
What's Changed - detailed changelog
- Codegen refactor and cleanup by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/391
- make gengo_callbacks separated gengo unit by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/392
- remove files prefix by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/393
- Logger updates by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/394
- Remove hardcoded imgui refs by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/395
- build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.8.4 to 2.8.5 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/396
- change(backend): dont take Backend as an arg to WIndowCloseCallback by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/398
- Remove hardcoded IDs by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/400
- Codegen: compile-in gofumpt by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/401
- codegen: documentation and cmdline args cleanup by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/402
Full Changelog: https://github.com/AllenDang/cimgui-go/compare/v1.2.0...v1.3.0