Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: AllenDang/giu

v0.14.1

27 May 12:14
14e9c65

Choose a tag to compare

Summary

Hi there!
This is a 🐞 bugfix 🐞 release for v0.14.0.
This fixes crash caused by combos without filter.

What's Changed

Full Changelog: v0.14.0...v0.14.1

v0.14.0

23 May 07:04
832c12d

Choose a tag to compare

Release Highlights

Hi everyone!
Here is a new giu minor release, including the following changes:

  • Code Editor - a giant memory leak has been eliminated
  • CSS updates:
    • You can now parse CSS into an object and read StyleSetters for css tags
    • fixed bug causing certain css rules not being applied.
  • Font Atlas changes:
    • Now you can disable strings registration in font atlas (see (*FontAtlas).AutoRegisterStrings) [default behaviour remains the same]
    • Fixed a bug on windows that caused font scaling to not work on higher (different than 100%) DPI.
    • Added font scaling for linux and mac as well.
  • Combo Widget now has a Filter option (Thanks to @theaino)
    image
  • Translation system - a new interface that allows you to implement a translation system easily.
    • The default placeholder Translator does nothing.
    • We've added a simple implementation based on go maps which you can use for fast setup.
    • A new interface accepts custom translators. You can implement an external project that fits your needs best.
      out
    • See examples/translation for more details.
  • A special version of RangeBuilder for maps was added.

What's Changed - more details

  • deps: upgrade cimgui-go (Code Editor memory leak) by @gucio321 in #969
  • build(deps): bump golang.org/x/image from 0.25.0 to 0.26.0 by @dependabot in #967
  • CSS: rewrite system to make it more flexible by @gucio321 in #966
  • font atlas: add possibility to disable RegisterString by @gucio321 in #972
  • Add rangebuilder variant that accepts maps by @11Spades in #974
  • minor readme updates by @gucio321 in #976
  • build(deps): bump golang.org/x/image from 0.26.0 to 0.27.0 by @dependabot in #978
  • workflows: upgrade golangci to v2.1.6 (required by #977) by @gucio321 in #980
  • build(deps): bump golangci/golangci-lint-action from 7 to 8 by @dependabot in #977
  • go(deps): upgrade go-css by @gucio321 in #981
  • build(deps): bump github.com/napsy/go-css from 0.0.0-20250508132236-8278eaa6e93f to 1.0.0 by @dependabot in #982
  • build(deps): bump github.com/mazznoer/csscolorparser from 0.1.5 to 0.1.6 by @dependabot in #983
  • Add translator mechanism by @gucio321 in #921
  • font atlas: do not scale font size exclusively on windows by @gucio321 in #984
  • fix(FontAtlas): copy scaled font size before modifying it by @gucio321 in #985
  • Added Filter to ComboWidget by @theaino in #950

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

02 Apr 11:27
dfc8fc5

Choose a tag to compare

Intro

Hi there!
Today we come with a new giu minor release. It brings several small but really handy additions.

Release Highlights

  • BREAKING: DragInt widget was redesigned.
    • Check out go doc giu.DragIntWidget
    • Changed in the following way: DragInt("id", &i, min, max) => DragInt(&i).ID("id").MinValue(min).MaxValue(max)
    • You can use this regex to modify your code s/DragInt(\(.*\),\(.*\),\(.*\),\(.*\))/DragInt(\2)\.Label(\1)\.MinValue(\3).MaxValue(\4)/g
    • DragFloatWidget was added.
  • you can now merge 2 StyleSetter by adding them together (e.g. s1.Add(s2))
  • giu.MasterWindow has SetTheme now, which takes StyleSetter argument.
    • Default theme could be obtained by DefaultTheme and then modified.
  • a new LinkWidget was added
  • This version of giu uses cimgui-go v1.3.1, which fixes go mod tidy bug.
  • Some fixes has been applied to the following widgets
    • TabItemWidget now allows attaching EventHandler (like TreeNodeWidget)
    • Plot axis can now set Scale.
    • TableWidget supports sorting (when TableFlagsSortable set); see examples/sortable-table

Detailed Changelog

New Contributors

Full Changelog: v0.12.0...v0.13.0

v0.12.0

20 Jan 22:25
ac3f0dc

Choose a tag to compare

Intro

Hi everyone! After 2 months since last release we present v0.12.0 which comes with a bunch of fixes and enhancements to the project.

Release highlights

  • add missing ID() methods to the following widgets
    • ComboWidget
    • CheckboxWidget
    • ImageButtonWidget
  • Fix a minor inconsistence in EventHandler pinned to TreeNodeWidget
    • Now you can pin EventHandler directly to the TreeNode header (previously it worked only for closed nodes)
  • Invisible Button now has a default size of (-1, -1) which makes it take all available space.
    • Until now it was (0, 0). Leaving it at this state caused a panic.
  • GIU now has its own imgui backend implementation (currently copy of GLFWBackend).
    • This will make it possible to change backends in the future.
  • Transparent example has been updated so that it shows more useful use-case
    image

What's Changed

  • readme: do not recommend tdm-gcc anymore by @gucio321 in #912
  • build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #914
  • widgets: add ID() method to the ComboWidget by @gucio321 in #915
  • CheckboxWidget: add ID method by @gucio321 in #916
  • TreeNode: allow pinning EventHandler to TreeNode by @gucio321 in #918
  • context: use sync.Map for widget counter by @gucio321 in #920
  • Clickable widget: push auto ids by @gucio321 in #924
  • feat(SplitLayout): support different sashPos interpretations by @gucio321 in #925
  • build(deps): bump golang.org/x/image from 0.22.0 to 0.23.0 by @dependabot in #926
  • build(deps): bump github.com/AllenDang/cimgui-go from 1.2.0 to 1.3.0 by @dependabot in #929
  • Backend abstraction layer by @gucio321 in #932
  • fix(InvisibleButton): Set default size to -1, -1 by @gucio321 in #934
  • Transparent example: makes frameless windows movable by @cjbrigato in #935

Full Changelog: v0.11.0...v0.12.0

v0.11.0

13 Nov 13:48
a968b4e

Choose a tag to compare

Intro

Hi everyone!
Here we present a new version of giu!

If you need help with giu or cimgui-go, you can join our new discord server! \

Discord Shield

Release Highlights

  • Re-enable CodeEditorWidget
    • didn't work since v0.7.0 due to a migration to cimgui-go
  • Re-enable MarkdownWidget
    • since cimgui-go v1.2.0, this widget is usable again.
      image

What's Changed - detailed changelog

Full Changelog: v0.10.0...v0.11.0

v0.10.0

30 Oct 14:08
c353d6e

Choose a tag to compare

Release Highlights

  • Important bugfix in ReflectiveBoundTexture
    • ReflectiveBoundTexture used broken cimgui-go's implementation of texture, which caused app crashes while GC.
  • A new Gizmo widget
    • Since v1.1.0 cimgui-go implements ImGuizmo which is now aailable as an easy-to-use giu widget.
    • Gizmos API is similar to Plots mechanism.
    • The following Gizmos are currently available
      • Grid
      • Cube
      • Manipulate
      • View Manipulat
    • For usage details, check out examples/gizmo
      image
  • Added Plots styling
    • Now you can apply Color and Var style to Plots.
    • StyleSetter itself now implements PlotWidget interface so it can be applied to a single Plot.
    • Plots styling works with CSS as well

What's Changed - detailed changelog

New Contributors

Full Changelog: v0.9.0...v0.10.0

v0.9.0

04 Oct 09:48
2fc7d72

Choose a tag to compare

Introduction

Today we come with the new release of giu, which includes:

  • Upgrade of cimgui-go - this is now a stable version v1.0.1
  • Fix to bug in ImageWithRgbaWidget (causing giu crashes on some platforms)
  • Completion of the missing documentation - now new PRs are forced to add the docs by revive linter.
  • Addition of a new way for Texture management (ReflectiveBoundTexture) along with fully functional paint example.
  • And much more! See the list below for full changelog.

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.9.0

v0.8.1

07 Jul 21:41
0651ee5

Choose a tag to compare

INTRO

This is a bugfix release for v0.8.0. It contains several minor bugfixes reported after the last release.
for more details, check out our milestone.

What's Changed

  • build(deps): bump golang.org/x/image from 0.17.0 to 0.18.0 by @dependabot in #806
  • add Context.Backend() method that returns currently used cimgui-go ba… by @gucio321 in #811
  • master window: fix DPI scaling by @gucio321 in #812
  • GetWidgetWidth: undo SameLine call by calling NewLine by @gucio321 in #813

Full Changelog: v0.8.0...v0.8.1

v0.8.0

26 Jun 15:19
6f51d85

Choose a tag to compare

Introduction

Hi everyone,
I'd like to annouce a new release of GIU.
The main change since v0.7.0 was a migration from deprecated (since 31.12.2024) inkyblackness/imgui-go to a new auto-generated Dear ImGui's implementation - the cimgui-go.

For live API changes reports see our wiki page

Regression

Unfortunately, since we lack some C wrappers for C++ ImGui plugins, we had to disable our support for the following features:

  • Markdown editor
  • Code editor
  • Memory editor

All remaining API is unchanged

What's Changed

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

22 Sep 11:55
46b00d8

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.2...v0.7.0