Skip to content

fix(deps): build on MyGo v0.9.0 - #8

Merged
bketelsen merged 1 commit into
mainfrom
chore/mygo-0.9.0
Nov 11, 2026
Merged

bketelsen merged 1 commit into
mainfrom
chore/mygo-0.9.0

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

Moves frostui to MyGo v0.9.0, which ships egoist/mygo#1654 (Buffer.EditRemote) and #1655 (State.SetReplacements), the editor work Frostnotes uses. The kit needed no code change: the exported API is unchanged, and TestMyGoProductionSwitchExists still finds the production switch, the mygo_noinspector files and the updater names in v0.9.0's source.

v0.9.0's only breaking change is SQLite loading through native modules, which the kit doesn't use. Its other changes that could touch the kit's widgets: focus now scrolls the element into view, lists, outlines and context menus do less work per frame, and glyph positions on Linux match GTK. The tests cover the first two, and the snapshot examples still render.

Apps that import the kit get v0.9.0 as their minimum through this. Frostmail, Frostnotes and ChairLift are moving to it too.

Risk tier

Level: from go.mod in the risk list.

Risk tier: 3 — a dependency's minor version, which every app built on the kit gets. No code changes.

Docs housekeeping

  • Conformance aliases and canonical symlinks are unchanged; canonical targets are edited instead

Verification

  • make ci BASE=origin/main green on this head: verify, js/wasm tests, the race detector and all 7 cross-targets.

@github-actions github-actions Bot added level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json (core ADR-0068) labels Nov 11, 2026
@bketelsen
bketelsen merged commit 30fd87e into main Nov 11, 2026
9 checks passed
@bketelsen
bketelsen deleted the chore/mygo-0.9.0 branch November 11, 2026 11:33

@frostyard-machines frostyard-machines left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of head 61e8b92a814df460a3d55cefd3132953bca9671a (base fa06b1d): no findings.

MyGo bump check (AGENTS.md, MyGo's rules), done on v0.9.0's source in GOMODCACHE:

  • The theme still resets at the start of every frame (ui/context.go: c.theme = c.rt.defaultTheme()).
  • Window.Update has no change from v0.8.3.
  • The Tester only adds Alerts and UseScreenReader; no existing method was removed.
  • The shared libraries that the kit's MyGo packages load are the same as at v0.8.3 (libgtk-3, libepoxy, Pango, cairo and the rest). The kit does not import the new native, video or SQLite code, so the images need no change.
  • v0.9.0's only breaking change is how SQLite loads, and the kit does not use SQLite.

Checks:

  • Local GOTOOLCHAIN=local make ci BASE=origin/main with go1.27.4 passes at this head.
  • make snapshot renders the 3 examples (light and dark), and the command-center frame looks correct.
  • The risk-tier section names go.mod (L2) and gives the reason. api.txt does not change.

Note (not a finding), about the overlap with #7: #7 pins MyGo to v0.8.4-0.20261110203557-f5c3a6e111a3. v0.9.0 contains that commit, and 26 commits after it. Both PRs change the same go.mod line, so the one that merges second has a conflict. If this PR merges first, #7 keeps v0.9.0 and drops its pseudo-version. Its design-doc line "The MyGo dependency is pinned to upstream commit f5c3a6e111a3 ... its next release can replace the pseudo-version" then needs an update to name v0.9.0.

The next step is the independent cross-review, after verify is green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json (core ADR-0068)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants