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.
-d
and--definitions
) Preset
was 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 #391
- make gengo_callbacks separated gengo unit by @gucio321 in #392
- remove files prefix by @gucio321 in #393
- Logger updates by @gucio321 in #394
- Remove hardcoded imgui refs by @gucio321 in #395
- build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.8.4 to 2.8.5 by @dependabot in #396
- change(backend): dont take Backend as an arg to WIndowCloseCallback by @gucio321 in #398
- Remove hardcoded IDs by @gucio321 in #400
- Codegen: compile-in gofumpt by @gucio321 in #401
- codegen: documentation and cmdline args cleanup by @gucio321 in #402
Full Changelog: v1.2.0...v1.3.0