Skip to content

Releases: tsl0922/ttyd

1.7.4

02 Oct 07:29
Compare
Choose a tag to compare

Breaking Changes

  • The web terminal is readonly by default now, to make it writable, use -W option.

Changelog

Full Changelog: 1.7.3...1.7.4

1.7.3

18 Jan 03:48
Compare
Choose a tag to compare

Breaking Change

  • Sixel support is off by default now, use -t enableSixel=true to enable it.
  • ZMODEM support is off by default now, use -t enableZmodem=true to enable it.

Full Changelog: 1.7.2...1.7.3

1.7.2

18 Oct 16:16
1.7.2
Compare
Choose a tag to compare

Changelog

  • Snap created and ready for publication (#1003) (fde310b)
  • html: upgrade to xterm 5.0 (2f7e0e0)
  • scripts: update cross build lib versions (896e07e)
  • html: Initialize doReconnect to false when specified by client options (bae2b81)
  • pty: fix use-after-free issue when closing a connection (#997) (4ca49a1)
  • scripts: update mingw-build.sh (3c8dbbb)
  • html: only show resize overlay on ws (790cfb3)
  • html: add sixel support (#970) (b8a88f6)
  • server: allow http on https port (6482152)
  • protocol: ignore resize message if process freed (#968) (69b63fc)
  • cross: revert to mbedtls 2.x (2.28.1) (45ef578)
  • cmake: add check for util lib (b31ac86)

Full Changelog: 1.7.1...1.7.2

1.7.1

18 Aug 06:05
1.7.1
Compare
Choose a tag to compare

This release contains some stability improvement for 1.7.0.

Changelog

  • protocol: fix potential pty buf leak on process exit (efefd56)
  • pty: remove close call on windows (520ce17)
  • protocol: fix potential pty buf leak (6cfd9b2)
  • cmake: add windows rc file (eb05572)
  • protocol: fix potential null pss access (d7db637)
  • workflow: build win10 binary on release (b76c91e)

Full Changelog: 1.7.0...1.7.1

NOTE: the linux assets has been rebuilt with mbedtls 2.x to fix a SSL issue.

1.7.0

08 Aug 08:06
1.7.0
Compare
Choose a tag to compare

Notable changes:

  • tls 1.0/1.1 are disabled by default for openssl
  • added native windows support (requires conpty, windows 10+ only)
  • added s390x build of binary and docker image
  • added auth proxy support
  • renamed master to main

Changelog

  • html: update default font family (0b6eaa8)
  • pty.c: Fix errant use of fcntl F_SETFD (#951) (1be5f5c)
  • cross: use a github mirror of musl.cc artifacts (6e089f6)
  • server: disable tls 1.0/1.1 by default for openssl (8b6b71e)
  • cross-build: upgrade zlib to 1.2.12, show curl errors (#915) (83e514b)
  • html: merge object values for client-option (723ae96)
  • html: polish webgl init code (f896dff)
  • html: improve webgl2 detection code (1fbb979)
  • server: fix default keepalive not working (b37ea9f)
  • Disable WebGL2 on Safari (#799) (52adcc4)
  • html: fix rendererType updating issue (a5f0765)
  • cmake: check libuv support of libwebsockets (80c6f66)
  • pty: inherit env from parent process (fcec9a6)
  • pty: fix cwd on windows (1415e5c)
  • server: add cwd support (bff3a61)
  • pty: set TTYD_USER env (968f1e6)
  • server: add auth proxy support (e402edf)
  • drop libwebsockets < 3.2.0 support (b2cda1d)
  • protocol: check basic auth on ws connection (1e5c524)
  • http: polish basic auth code (8a75364)
  • server: validate numeric value command-line arguments (0206554)
  • pty: set TERM env for the pty process (619bfc3)
  • pty: fix error handling (811fb59)
  • server: update default ping interval to 5s (4a6b260)
  • html: drop backoff support (d7440fb)
  • cmake: find libwebsockts manually (b33f313)
  • server: use base64 function from lws (cb758b9)
  • html: add ability to press enter to reconnect (9c1e464)
  • repo: rename master to main (8f5d9a1)
  • all: remove the vla usage (c5f414b)
  • protocol: fix -Wstringop-overflow compile warning (2480810)
  • protocol: free memory allocated for url args (c0bdd7b)
  • protocol: cleanup unused code (21b9aef)
  • server: fix ssl ca option init (0b146b7)
  • protocol: improve exit code handling (cbb31ea)
  • workflow: switch to mingw build for win10 (79af0b8)
  • pty: rename pty_close to pty_kill (02bbbec)
  • protocol: fix auth token check (f67feeb)
  • protocol: set windows size on spawm process (96e88fb)
  • pty: polish pty_spawn code (3929e5c)
  • pty: use uint16_t for resize params (52adaba)
  • protocol: add conpty support (d6921b2)
  • msys2: build without ssl (2196e67)
  • scripts: add msys2 build (241ac85)
  • utils: remove useless include (49068cf)
  • protocol: fix uv handle closing (215849b)
  • protocol: use 2 pipe for read and write (75105f6)
  • src: move pty code to protocol (bfb2d0c)
  • workflow: add s390x build to backend and release (e648ad9)
  • server: increase max length of base path to 128 (7bd1638)
  • protocol: fix illegal ws path error msg (7ce3081)
  • update Dockerfiles (8c47c50)

Full Changelog: 1.6.3...1.7.0

1.6.3

03 Jan 04:09
1.6.3
Compare
Choose a tag to compare

This is a bugfix release, notable changes:

To reduce the binary size, the release artifacts wasn't build with SSL support for 1.6.2. Now it comes back in this release, with mbedtls as SSL backend.

Changelog

  • Bump to 1.6.3 (3b174da)
  • html: yarn upgrade (e2e1071)
  • html: keep the inlined html during build (32c8a23)
  • protocol: fix ws code on process exit (4f91d76)
  • html: fix yarn run start (bc1cf06)
  • cmake: fix mbedtls build (9ece7cf)
  • cmake: add openssl check back (d96492a)
  • cross: switch to mbedtls (763d01d)
  • server: add mbedtls support (6db541b)
  • cross: update dependency versions (cdaef3c)
  • protocol: do not show eof as error (c14b1fe)
  • update .gitattributes for generated code (8fb50ab)
  • html: fix styling for bottom of terminal (d4d854f)
  • html: implement flow control for xterm (4ab5479)
  • html: add disableReconnect client option (61a9bcd)
  • update README.md (e3335bd)
  • protocol: fix incorrect uv_close usage (5650606)
  • workflows: bump to lws 4.1.6 (75c9004)
  • html: show message on reconnect success (29ef8cb)
  • html: use webgl as the default renderer (c62de53)

1.6.2

13 Dec 15:36
1.6.2
Compare
Choose a tag to compare

Changelog

  • Bump to 1.6.2 (a109730)
  • update doc for --ping-interval option (c61cca0)
  • scripts: bump to lws 4.1.4 (268a6ff)
  • workflow: remove lws 4.0.x from matrix (c0369e9)
  • Dockerfile: update base images (9a3d660)
  • workflow: bump ubuntu and lws versions (c856189)
  • add websocket ping interval option (#519) (4732546)
  • scripts: download cross toolchain with https (94dd4a0)
  • html: add disableResizeOverlay client option (7e0f806)
  • update Dockerfile (7fc63b9)
  • workflow: update release action (cd270e6)
  • protocol: fix request path for h2 (f7c171f)
  • scripts: optimize libwebsockets build (aa6c6c7)
  • protocol: improve io error handling (f9d23de)
  • scripts: disable SSL by default (9edb245)
  • cmake: check LWS_WITH_SSL (4d33dc4)
  • scripts: upgrade to openssl 1.1.1 (c5862e2)
  • workflow: bump to lws 4.0.20 (7a6a560)
  • scripts: use cross compiler from musl.cc (6ef461b)
  • server: fix unix domain socket for lws 4.0 (e34fd09)
  • server: remove ws_ping_pong_interval on lws > 4.0 (5902726)
  • html: add titleFixed client option (a841738)
  • Refit to the browser window after changing font size (#416) (cb3e720)
  • scripts: apply shellcheck fixes (7f42964)

1.6.1

26 Jun 05:25
1.6.1
Compare
Choose a tag to compare

Changelog

  • Bump to 1.6.1 (079aa68)
  • html: add disableLeaveAlert client option (260778a)
  • src/http.c: fix checking pss's len member (#385) (31c0dff)
  • cmake: update git command args (#293) (b08d106)
  • cmake: fix build without C++ (#382) (ae65376)
  • http: fix build with lws 1.7 (70c12e4)
  • protocol: fix readonly handling (#373) (56d26ac)
  • Fix type declaration (#357) (2beab0d)
  • src: fix lws version check for keep alive (ff2eebc)
  • html: set URL of stylesheet by href (2511d2d)
  • html: recreate sentry object on zmodem reset (9fece9e)
  • all: use the static keyword on functions (b0c4ad9)
  • protocol: replace uv_try_write with uv_write (f467442)
  • Add -b, --base-path option for reverse proxies (#151) (#281) (9726085)
  • protocol: fix lws callback compatibility (48f53bc)
  • server: mute lws 4.0 extensions warning (79acf9e)
  • html: reuse xterm instance on reconnect (339889e)
  • Add 64-bit ARM (aarch64) build (#275) (b427903)

1.6.0

09 Feb 08:56
1.6.0
Compare
Choose a tag to compare

Highlights

Changelog

  • Bump to 1.6.0 (c15cfb7)
  • README: remove duplicate apt packages (ef38d28)
  • all: cleanup third party makefiles (731c0c1)
  • html: use api to fetch auth token (6bbe4db)
  • html: xterm.js 4.4.0 (463da83)
  • html: embed gziped version (437e63a)
  • http: add missing header (#263) (42349f2)
  • server: print listen port on start (985885c)
  • bugfix: off by one error (#257) (498874d)
  • protocol: print signal name (72dbba3)
  • protocol: use uv_kill to kill process (76eebaa)
  • protocol: fix json parsing (cb02d79)
  • Avoid trying to redefine sys_signame on Android (#253) (d991931)
  • server: improve child process handling (b67e382)
  • html: webgl renderer support (397b24f)
  • Dockerfile: use multi-stage build (1b2c450)
  • libuv: update cross build script (63dbdd6)
  • server: exit immediately on old lws versions (d5b303a)
  • terminal: set the pty fd non blocking (cfd338e)
  • protocol: split forkpty to separate file (ca91f40)
  • protocol: cleanup pipe handle (c0ebb57)
  • protocol: fix potential double free (36c9734)
  • protocol: rename tty_client to pss_tty (df6f3bd)
  • server: improve signal handling (f61b9ae)
  • server: remove sys/queue dep (fe7bad2)
  • libuv: initial support (5960132)
  • html: use file-saver to save file (e2ac723)
  • server: add a tiny timeout to lws_service (831379e)
  • server: remove the sleep from main loop (6d69f0a)
  • protocol: set pty fd close-on-exec (9126d54)
  • Focus to terminal after rz transfer completed (#237) (96528fe)
  • src: fix exit code check on linux (62844c2)
  • all: remove pthread (5381d0f)
  • Fix for upgrade of libwebsockets 3.2.0, it removes the poll which breaks every second in the previous version. (4ad0cc8)
  • src: refuse to compile with lws 3.2.0 (46064ee)
  • src: fallback to lws_get_peer_addresses on old libwebsockets (671427b)
  • Avoid slow reverse-DNS requests caused by libwebsocket (#222) (94817b4)

1.5.2

05 Aug 13:41
1.5.2
Compare
Choose a tag to compare

This is a bug fix release for 1.5.1.

Changelog

  • Bump to 1.5.2 (d8903e1)
  • Fix potential segmentation fault (SIGSEGV) error #209 (#210) (87a7052)
  • travis: compile html frondend (a6b4d28)
  • html: preact 8.5.0 (bee8af8)
  • server: fix pthread_mutex_trylock usage (251ad41)
  • use errno.h not sys/errno.h in utils.c as in other files (#207) (921ddda)
  • include pthread.h for pthread_mutex_t (#206) (6facf52)
  • html: added window.term.fit (12dd5c7)
  • server: fix the client-option and terminal-type long option (e074513)
  • scripts: enable ipv6 support for lws (243a9b4)
  • server: hide ipv6 option if not suppored by lws (287585d)
  • README: update SSL script to generate sha256 cert (da047be)
  • Update mini-css-extract-plugin in group default to the latest version 🚀 (#201) (62f869f)