What v1.0 means
Status: decided on 2026-10-08. This page is the definition a v1.0 tag is checked against. The decisions behind it are recorded at the end.
Before v1.0 a release may remove or change exported identifiers, and CHANGELOG.md names each one. v1.0 ends that: it is a promise about what will not change. This page says what the promise covers, what it leaves out, and what must be true before the tag is made.
The promise
Section titled “The promise”From v1.0.0, for every package the promise covers:
- No exported identifier is removed, renamed or given a different signature. A change that would break a program that compiled against v1.0.0 waits for v2.
- An exported identifier may be deprecated. It keeps working for the rest of v1.
- Behaviour a doc comment states does not change. Behaviour no doc comment states may, when the old behaviour was a bug.
- api.txt is the list of what is covered. The
apiCI job already fails when a line of it is removed or changed without a- BREAKING:entry; from v1.0.0 it fails on any such change in a covered package, entry or not.
New identifiers, new packages, and new fields on structs meant to be built with field names arrive in minor releases (v1.1, v1.2). Fixes arrive in patch releases.
What the promise covers
Section titled “What the promise covers”Packages are at one of three levels today, listed in the README and in the package comment of each:
| Level | Packages | In the promise |
|---|---|---|
| Core | tui, ansi, layout, theme, term, motion, input, keymap, hittest, tuitest |
Yes |
| Stable-ish | cellbuf, widgets, widgets/chart, markdown, focus and 39 components |
Each one that has been used from outside its own tests; at v1.0 those are named Stable |
| Experimental | 35 packages, listed in doc.go, and any Stable-ish package not yet used from outside | No |
A package has been used from outside its own tests when ACLine imports it or
a program under examples/ does. A Stable-ish package that has not is marked
Stability: experimental. before the tag, and promoted in a later minor
release once it has. When this was decided that was 17 packages: clockview,
colorpicker, contextmenu, datepicker, drawer, emailinput,
filepicker, maskedinput, menu, menubar, numberinput, popover,
scrollbar, skeleton, splitpane, taginput and virtuallist. The example
programs written since use all 17 (the first five, inputs, menus, pickers,
panes and timers, were later replaced by the rebuilt examples), and
examples/gallery uses autocomplete, colorpicker, dialog, drawer,
emailinput, loadingbar, maskedinput, menu, popover, scrollbar,
skeleton, toast, virtuallist and wizard. None is left. A new
Stable-ish package needs an example program to stay off this list.
What it leaves out
Section titled “What it leaves out”- Experimental packages. A package whose comment says
Stability: experimental.may change or disappear in any minor release. Each change is still a- BREAKING:entry in the changelog. - Everything under
internal/, which no other module can import. examples/,bench/andsite/. They are programs and pages, not API.- The bytes written to the terminal. The promise is about what a frame
shows, not which escape sequences draw it. A release may draw the same
screen with different bytes, so a test that compares raw output can break;
one that reads the screen through
tuitestdoes not. - Exact rendered text of widgets. A widget’s spacing, glyphs and colours
may be corrected in a minor release. Golden files of a widget’s
Viewmay need regenerating; the changelog says when. - Timing. Frame pacing, tick coalescing and how many
Updatecalls a burst of input produces are not promised. - A minimum Go version. tui supports the two newest Go releases, as Go
itself does, and CI tests on both. The minimum in
go.modmay rise in a minor release, never past the older of those two.
Experimental packages
Section titled “Experimental packages”Experimental packages stay in this module, outside the promise. Of the ten
marked experimental at v0.1.0, two are promoted (commandpalette and
avatar) and eight stay as they are. Packages added since are experimental
until an outside program uses them: 35 in all today (see doc.go).
Evidence as of 2026-10-08: ACLine is the only known program outside this
repository that imports tui, and of these ten it imports only
commandpalette.
| Package | Outside user | Outcome |
|---|---|---|
commandpalette |
ACLine | Promote, after its deprecated Init is removed |
clipboard |
none | Keep experimental |
notificationcenter |
none | Keep experimental; it has Render(base) where every other component has Update and View |
imageview |
none | Keep experimental; it has no Update |
appshell |
none | Keep experimental |
streamtext |
none | Keep experimental |
toolapproval |
none | Keep experimental |
errorretry |
none | Keep experimental |
faces |
none | Keep experimental |
avatar |
examples/routerapp, tui demo |
Promote: it has a guide, golden views and a fuzz target |
A package nobody outside has used has an API nobody has tested by using it. Keeping it experimental costs nothing and leaves room to fix what its first real user finds.
Before the tag
Section titled “Before the tag”v1.0.0 is tagged when all of these hold. Each is a check, not a judgement.
- No deprecated identifier is exported. Thirteen are today:
layout.Box.Render,ansi.SetClusterWidth,textinput.Model.ClipboardWrite,textarea.Model.ClipboardWrite,autocomplete.Model.Init,commandpalette.Model.Init, and seven chart forwards inwidgets(BarChart,Gauge,HeatMap,LineChart,Sparkline,SparklineWith,BarItem). They are removed in the last v0 release, with a- BREAKING:entry each. No package of the library calls one that another package exports; thestaticcheckCI job fails if one does.layout.BoxNodeis still built onBox.Renderinside packagelayout, so removing that method means making it unexported, not deleting it. - The
Experimental:list in doc.go is right:commandpaletteis off it, and every Stable-ish package not yet used from outside its own tests is on it. - CI is green on Linux, macOS, Windows and FreeBSD, with
staticcheck,gosec, the coverage floor and theapijob. - The last v0 release has been used. ACLine builds and passes its tests against it, with no workaround in ACLine for a tui defect.
- Every covered package has been used from outside its own tests: by
ACLine, or by a program under
examples/. This holds for every Stable-ish package:examples/galleryand the other programs underexamples/use them, andcellbufis used byexamples/galleryand the widgets that draw cells. The experimental packages with no example (appshell,clipboard,errorretry,notificationcenter) are outside the promise. - The docs are enough to build from. A first tutorial exists that goes from an empty directory to a working program, and migrating-to-v1.md names a replacement for every identifier removed since v0.1.0.
- A release candidate has been out for a week with no breaking change
needed:
v1.0.0-rc.1, with ACLine built against it for that week. - CI tests on the two newest Go releases, and
go.modnames the older of them. Met on 2026-10-08:go.modnames 1.26 and the test jobs run on 1.26 and 1.27.
The tag is made when these hold, not on a date. The target is 2026-10-31, which needs the release candidate out by 2026-10-24. If a condition is not met on the day, a v0 release goes out and the tag waits.
After v1.0
Section titled “After v1.0”- A covered package that turns out to be wrong is fixed by adding the right API beside the old one and deprecating the old one, never by changing it.
- An experimental package is promoted in a minor release, by removing the
Stability: experimental.line. Promotion is one-way. - v2 would be a new module path, with a
/v2suffix, and is not planned.
Decisions
Section titled “Decisions”Made by the owner on 2026-10-08. Each lists what was chosen and what was turned down.
- Which Stable-ish packages the promise covers. Only those used from outside their own tests; the rest are marked experimental until they are. Turned down: all 42 as they are, which would freeze an API most of which no outside program has used; and core packages only.
- What counts as use. ACLine importing the package, or a program under
examples/. Turned down: ACLine only; and no condition at all. - Date or condition. By condition, with 2026-10-31 as the target. Turned down: tagging on the date and narrowing the promise to fit.
- Release candidate. One week. Turned down: two weeks; and none.
- Go versions. The two newest releases. Turned down: 1.25 for all of v1; and the newest release only.
- Where experimental packages live. In this module, outside the promise. Turned down: a nested module.
- The ten experimental packages.
commandpaletteis promoted once its deprecatedInitis removed; the other nine stay experimental.