v0.14.0
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.
- Now you can disable strings registration in font atlas (see
- Combo Widget now has a Filter option (Thanks to @theaino)

- 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.

- See examples/translation for more details.
- A special version of
RangeBuilderfor 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