Repository navigation
Releases
Releases · sorenisanerd/gotty
v1.11.0
What's Changed
- Add a strip of special keys for phones and tablets. Phone keyboards have
no Esc, Tab, Ctrl, Alt or arrow keys, which made shells, vim and tmux
nearly unusable from a phone. While the on-screen keyboard is open, GoTTY
now shows Esc, Tab, Ctrl, Alt, Shift, the arrows, Home/End, PgUp/PgDn and
/ - |right above it; Ctrl, Alt and Shift apply to the next key typed on
either keyboard. Shown only when writing is permitted. Enabled by default;
pass--mobile-keys=falseto disable. Thanks, @ncongduy! - A terminal resize the server cannot apply now ends the session with an error
naming the dimensions that failed, instead of being ignored. Previously the
failure was silent: the pty kept its old size while the browser redrew at
the new one. Thanks, @prajexec! (#202) - Make the
localcommandtests portable:TestNewFactorynow resolves the
shell withLookPathinstead of assuming a fixed path, so the suite runs on
macOS as well as Linux. Thanks, @prajexec! (#201) - Document running GoTTY behind a reverse proxy: the HTTP/1.1
Upgradehop,
the101 Switching Protocolshandshake to look for when the terminal stays
black, and theHost/Originmatch that--ws-originrelaxes. - Refresh the JavaScript dependencies (webpack, sass, vitest, Playwright,
undici,fast-uri) and rebuild the bundle. - Build the Docker image's Go stage on
golang:1.27.
Full Changelog: v1.10.0...v1.11.0
v1.10.0
What's Changed
- Fix the terminal hanging when the
rzupload dialog is dismissed — Cancel,
the ✕ button, Esc, or the backdrop. The ZMODEM session stayed open and
disableStdinwas never cleared, so the terminal stopped accepting input.
Fixes #137. - Fix the same freeze when the
szdownload dialog is dismissed, which left
the incoming offer undeclined. - Ask the browser to confirm before the page is closed or reloaded while a
session is connected, so an accidental Ctrl+W doesn't silently drop the
session. The guard is removed as soon as the connection closes, so exiting
the shell (e.g. with Ctrl-D) still closes the tab without a prompt. Enabled
by default; pass--confirm-close=falseto disable. Fixes #142. Thanks,
@iTrooz, for the suggestion. - Fix the display settings picker's font handling. Changing the font size or
family now re-fits the terminal to the window instead of leaving it
overflowing the edge, and a restored preference is re-fitted on load too.
Font families that are not installed are now marked "not installed" instead
of silently falling back to monospace when selected. - Refresh the JavaScript toolchain — TypeScript 7 with the type check split
out of the bundler, preact 11, and the remainingnpm auditadvisories
cleared. Also dropreact-bootstrap, which nothing imported.
Full Changelog: v1.9.0...v1.10.0
v1.9.0
What's Changed
- ci: stop Dependabot CI noise and fix the PR trigger branch by @sorenisanerd in #157
- Return 503 when refusing a connection over --max-connection by @VXNCXNX in #155
- Register OSC 52 clipboard handler for TUI selection-to-copy by @tastypear in #156
- Bump webpack-dev-server from 5.2.4 to 5.2.6 in /js by @dependabot[bot] in #151
- Bump terser-webpack-plugin from 5.6.0 to 5.6.1 in /js by @dependabot[bot] in #132
- Bump webpack from 5.107.1 to 5.107.2 in /js by @dependabot[bot] in #133
- Bump @types/bootstrap from 5.2.10 to 5.2.11 in /js by @dependabot[bot] in #138
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #140
- Bump websocket-driver from 0.7.4 to 0.7.5 in /js by @dependabot[bot] in #145
- Bump actions/setup-go from 6 to 7 by @dependabot[bot] in #146
- Bump actions/setup-node from 6 to 7 by @dependabot[bot] in #147
- Bump immutable from 5.1.5 to 5.1.9 in /js by @dependabot[bot] in #148
- Bump fast-uri from 3.1.2 to 3.1.5 in /js by @dependabot[bot] in #153
- Bump postcss from 8.5.15 to 8.5.25 in /js by @dependabot[bot] in #152
- Bump compression from 1.8.1 to 1.8.2 in /js by @dependabot[bot] in #158
- Bump fast-uri from 3.1.5 to 3.1.8 in /js by @dependabot[bot] in #159
- Bump source-map-js from 1.2.1 to 1.2.2 in /js by @dependabot[bot] in #160
- Bump shell-quote from 1.10.0 to 1.12.0 in /js by @dependabot[bot] in #161
- Bump proxy-addr from 2.0.7 to 2.0.8 in /js by @dependabot[bot] in #162
- Bump postcss-selector-parser from 7.1.1 to 7.1.6 in /js by @dependabot[bot] in #163
- Bump browserslist from 4.28.2 to 4.29.3 in /js by @dependabot[bot] in #164
- Bump baseline-browser-mapping from 2.10.32 to 2.11.27 in /js by @dependabot[bot] in #165
- fix: restore zmodem Browser import for sz downloads by @sorenisanerd in #167
- release: fix release workflow + bring NEWS.md up to date for v1.9.0 by @sorenisanerd in #168
New Contributors
- @VXNCXNX made their first contribution in #155
- @tastypear made their first contribution in #156
Full Changelog: v1.8.0...v1.9.0
v1.8.0
What's New
Features
- Sixel graphics support — render sixel images directly in the terminal, via xterm-addon-image — by @a2800276 in #104
- Custom favicon — set a custom browser-tab favicon via the
.gottyconfig file (local path, URL, or base64 data URI) - Better embedding support — improved API for embedding gotty as a library — by @pancsta
- WebSocket Ping/Pong — server-side keepalives to prevent idle disconnects
Bug Fixes
- Fix WebSocket write deadline causing ~45 s disconnections
- Fix Zmodem protocol errors leaving terminal in a broken state
- Fix emoji spacing in Chrome (Unicode 11 character widths) — by @WeaselScience
- Fix terminal rendering gaps for box-drawing characters and custom fonts — by @artile in #109
- Fix terminal preferences not applied before xterm initializes — by @euisuh in #112
Contributors
Thanks to everyone who contributed to this release: @a2800276, @artile, @euisuh, @pancsta, @WeaselScience
v1.7.2
Commits
- apply 'default' theme on initial page load (fresh browser) (Søren L. Hansen)
- 2e37e3f: Update package-lock.json from npm install (Søren L. Hansen)
v1.7.1
Commits
- 8694c64: SASS 1.8 requires full paths & lib update via npm audit fix (Tim Becker) #102
- 5afbdb1: Add @a2800276 as a contributor (Soren L. Hansen)
- 426069c: Merge PR #102: SASS 1.8 requires full paths & lib update (Tim Becker) (Soren L. Hansen) #102
- 8c11936: Fix non-constant format string vet errors in fmt.Errorf and log.Printf (Soren L. Hansen)
- 458f7f7: Bump Dockerfile golang image from 1.23 to 1.25 (Soren L. Hansen) #111
v1.7.0
Added a color scheme / font switcher thingie.
v1.6.0
Meet 1.6.0. Same as v1.5.1, but that didn't adhere to semantic
versioning.
- Add Docker build. Thanks, @callumgare!
- Add a workflow to check embedded bundle is up-to-date.
- Allow setting arguments (like, say, an auth token) to be added to ws:// url. Thanks @josegonzalez!
- Update Golang imports for newer ioutil. Thanks @180909!
- Fix buffer size for slave output. Thanks @funnywwh!
- Add
--pass-headersoption to set environment variables based on HTTP headers. Thanks @lukaszlach!
v1.5.1
- Add Docker build. Thanks, @callumgare!
- Add a workflow to check embedded bundle is up-to-date.
- Allow setting arguments (like, say, an auth token) to be added to ws:// url. Thanks @josegonzalez!
- Update Golang imports for newer ioutil. Thanks @180909!
- Fix buffer size for slave output. Thanks @funnywwh!
- Add
--pass-headersoption to set environment variables based on HTTP headers. Thanks @lukaszlach!
v1.5.0
Commits
- 3ae13e0: Bump terser from 5.12.1 to 5.14.2 in /js (dependabot[bot]) #42
- 7706bf2: add slash (xgdgsc) #48
- c197990: Add @xgdgsc as a contributor (Søren L. Hansen)
- 2c4004d: Add @flechaig as a contributor (Søren L. Hansen)
- c2428c8: Add @Fan-SJ as a contributor (Søren L. Hansen)
- 7a96f37: Always disable CGO (Søren L. Hansen)
- 61a056c: Merge remote-tracking branch 'origin/master' (Søren L. Hansen)
- d0e3ffb: Add missing import "strings" (Søren L. Hansen)
- 94e5873: Refresh dependencies, drop node-sass (Søren L. Hansen)
- 7d431a7: Ensure --quiet flag is honored (Søren L. Hansen)
- 316d5ff: Run tests on pull requests (Soren L. Hansen) #50
- d8fe975: Create a release when a new tag is pushed (Søren L. Hansen)
- 6b2ae89: Add @dmartin as a contributor (Søren L. Hansen)
- 276767a: Add @ahmetb as a contributor (Søren L. Hansen)
- 74c1318: Add @CoconutMacaroon as a contributor (Søren L. Hansen)
- fcfa161: Add @DannyBen as a contributor (Søren L. Hansen)
- e03ea9c: Update @flechaig as a contributor (Søren L. Hansen)
- 270ae45: Add @George-NG as a contributor (Søren L. Hansen)
- 1a6bccd: Add @ghthor as a contributor (Søren L. Hansen)
- f52fbd7: Add @jpillora as a contributor (Søren L. Hansen)
- accff3a: Add @kaisawind as a contributor (Søren L. Hansen)
- 8014af3: Add @linyinli as a contributor (Søren L. Hansen)
- 3bd9836: Add @LucaMarconato as a contributor (Søren L. Hansen)
- 369e2f7: Add @masterkain as a contributor (Søren L. Hansen)
- ca691bc: Add @Nexuist as a contributor (Søren L. Hansen)
- 8d7f5fc: Update @prusnak as a contributor (Søren L. Hansen)
- 5a052e7: Add @qigj as a contributor (Søren L. Hansen)
- 95e1bbd: Add @shuaiyy as a contributor (Søren L. Hansen)
- 89a04d1: Update @sorenisanerd as a contributor (Søren L. Hansen)
- d594bef: Add @v20z as a contributor (Søren L. Hansen)
- 09f7e95: Update @xgdgsc as a contributor (Søren L. Hansen)
- 7b994ec: Add @Yann-Qiu as a contributor (Søren L. Hansen)
- 9877e9c: Update @flechaig as a contributor (Søren L. Hansen)
- 3c45888: Update @prusnak as a contributor (Søren L. Hansen)
- 34f516b: Update @sorenisanerd as a contributor (Søren L. Hansen)
- b3c5d03: Update @xgdgsc as a contributor (Søren L. Hansen)
- 1bbfd5e: Add make target to add contributors (Søren L. Hansen)