github egoist/mygo v0.6.4
MyGo 0.6.4

3 hours ago

Highlights

  • Images in the terminal through Kitty's Unicode placeholders. Tools that place images this way, like yazi's previews, now show the images instead of boxes of tofu. (#696)
  • A terminal scroll bar you can drag. It works like macOS's overlay scroll bars: it shows while you scroll or hover, you can drag the thumb or click to jump, and it fades out afterwards. (#679)
  • Back and forward with swipes on macOS. Touchpad swipes, and mouse side buttons that send swipes (like Logi Options+), now go back and forward in a Router and in apps that read those keys. (#685)
  • Japanese. MyGo's own controls, editor, dialogs and menus are now translated to Japanese. (#692)

New

  • The code editor folds a run of imports, for Go, JS/TS, Python, Rust, C/C++, Java, Kotlin, Swift, C#, Ruby, Lua, PHP, CSS, Protobuf and Zig. (#711, thanks @hyoban)
  • The code editor now draws bold and italic syntax tokens in bold and italic, as the theme asks. (#707)
  • MYGO_LDFLAGS adds your own linker flags to mygo build, for example -X values like a crash reporter's DSN. (#642, @HeroSizy)
  • On Linux, file associations can name a custom x- MIME type, and the package now defines it so file managers recognize those files. (#634, @firede)

Fixes

Editing and text

  • Very long lines (minified or generated files) no longer freeze the app when you move the caret. (#584, @Garfielk)
  • Python code with single-quoted f-strings (f'…') no longer crashes the editor. (#684)
  • In Chinese and Japanese text, each character now counts as its own word. Word-by-word deleting, moving and double-click selection no longer swallow a whole clause. (#671)

Terminal

  • Holding Command while a touchpad scroll is still coasting no longer zooms the font. (#709, @iamvicliu)
  • Command-click and the hover underline now work on bare filenames like notes.md. (#646, @xierenyuan)
  • Powerline's rounded caps now fill the whole cell at line heights above 1, matching the prompt background. (#694)
  • Mouse selection works again in crossterm TUIs (like herdr) over a mirrored session. (#688)
  • Backspace, keypad and Alt keys now follow the modes the running program sets in a mirrored session. (#689)

UI and apps

  • Dragging files or data from other apps now scrolls a list when you hold it near the edge. (#607, @zzstar101)
  • A button that comes back after a route change shows its own colors right away, instead of fading in from another button's. (#697, @zzstar101)
  • An atomic save (a temp file renamed over a watched file) is now reported as one write, not a delete then a create. If your app watches a directory and treated the delete as "the file is gone", this stops that. (#686)
  • mygo dev and mygo build no longer generate a TypeScript client for a native UI project just because it has a package.json. They now only do it when the project depends on mygo-runtime. (#700)

macOS

  • Apps no longer start the "AutoFill" helper process. It used CPU and could stall scrolling. Fixed for macOS 26 and macOS 27. (#699, #701)

Windows

  • Popups opened with window.open keep window.opener and postMessage to their opener. (#710)
  • A navigation replaced by another one is no longer reported as a load failure, and a host name that doesn't resolve is now reported instead of dropped. (#712)
  • Short labels no longer get cut off with an ellipsis (for example, a four-character CJK button showing "停止翻…"). (#661, @ACAne0320)
  • Windows drawn without the GPU (MYGO_GPU=0) no longer stay white or freeze on their first frame. (#691)
  • On Windows 10, flyouts no longer show up empty when their content relies on a material that the system can't draw. (#678)

Linux

  • Fixed a crash when a window is closed from its own native UI, for example by its close button. (#674, @ak4duy)
  • The first click on a tray icon with an OnClick handler now runs the handler instead of being dropped. (#706, thanks @YangtseSu)
  • A click that's released while the app is still handling the press no longer leaves the pointer stuck pressed. This happened most with quick touchpad taps. (#633, @firede)
  • Web views now show through the content around them when frames are drawn without the GPU on X11. (#695)
  • Fewer cases of GPU windows going blank after their GL context changed. This is a partial fix for #680. (#681)
  • Two apps starting at the same time no longer corrupt the shared font cache. (#683)

Internal

  • Go toolchain raised to 1.27.3 for a crypto/x509 security fix (GO-2026-6809). (#616, @zzstar101)
  • The terminal example waits for its window before OnTitle/OnExit run. (#669)
  • gofmt cleanup. (#672)

New Contributors

Full Changelog: v0.6.3...v0.6.4

Don't miss a new mygo release

NewReleases is sending notifications on new releases.