Skip to content

Releases: tsl0922/ttyd

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)

1.5.1

12 Jul 13:04
1.5.1
Compare
Choose a tag to compare

This is a bug fix release for 1.5.0.

Zmodem support should be more stable now, error handling of the frontend got a lot of improvements too.

Changelog

  • Bump to 1.5.1 (0a8eb1d)
  • html: update modal style (ef00274)
  • Update dependencies to enable Greenkeeper 🌴 (#200) (54711e8)
  • build(deps): bump lodash from 4.17.11 to 4.17.14 in /html (#199) (819d605)
  • xterm.js 3.14.5 (a1b5c23)
  • html: abort zmodem session on ctrl+c (e8fd62e)
  • html: add empty check for copy (39f89ce)
  • html: polish zmodem code (218b149)
  • html: handle websocket error (20f2026)
  • server: remove the reconnect option (enabled by default) (0fc275f)
  • html: retry websocket connection with exponential backoff (fd29928)
  • html: reformat code (b0ed073)
  • html: move zmodem code as Component/ITerminalAddon (84ac40a)
  • xterm.js 3.14.4 (c4b9b6e)
  • protocol: remove the O_NONBLOCK flag on pty fd (513c64c)
  • html: abort on zmodem consume error (9633942)

1.5.0

23 Jun 12:35
1.5.0
Compare
Choose a tag to compare

In this release, we dropped support for ie11, and the frontend is based on preact and typescript now. Some long time being issues such as http keepalive support and process hanging are resolved too.

Changelog

  • Bump to 1.5.0 (6505289)
  • http: handle lws_send_pipe_choked state (9b0166b)
  • http: fix libwebsockets 1.7 support (afadc00)
  • html: polish zmodem code (70f16a7)
  • html: auto reconnect on zmodem error (9762993)
  • html: add zmodem support back (6a40f32)
  • html: update lint rules (86123ca)
  • http: add basic auth support back (ae83791)
  • http: fix keepalive for lws_serve_http_file (c1c82b1)
  • http: remove hack for old libwebsocket versions (7901265)
  • html: attach the term instance to window (5dfcb8d)
  • html: enable copy on select (11c1e1b)
  • html: use ts string template (e67d567)
  • html: add xterm weblinks addon (19c89ff)
  • html: restore prefix to console message (37ab5e9)
  • xterm.js 3.14.2 (089182b)
  • http: fix keepalive issue (e3b5691)
  • html: fix lint (dbb72de)
  • html: replace with preact version (66718bc)
  • preact: convert to typescript (3f52934)
  • preact: update dependencies (2b30756)
  • preact: add README (bffedd4)
  • preact: intial commit (8ee982b)
  • html: convert numeric value to enum (38cad37)
  • xterm.js 3.13.2 (c42f885)
  • html: reload page when basic auth is failed (#187) (b525417)
  • html: add tslint to webpack (2aa2035)
  • html: update webpack (ccea4d2)
  • html: hide modal on ws close (3f21d86)
  • html: zmodem.js 0.1.9 (356d13f)
  • html: drop support for ie11 (de37a78)
  • html: migrate to typescript (cd1241c)
  • html: use more es6 syntax (ba77795)
  • xterm.js 3.13.0 (63315dd)
  • html: add ttyd prefix to console log (c8e9815)
  • server: allow reconnect to be 0 (66025e6)
  • utils: fix wait status (1069024)
  • protocol: cleanup process without hanging (e73a8e8)

1.4.4

21 Apr 02:49
1.4.4
Compare
Choose a tag to compare

Changelog

  • protocol: set the pty file descriptor non blocking (4cd6d48)
  • html: remove bulma (14670ed)
  • protocol: do not block main thread when destroying client (d5a542d)

1.4.3

20 Apr 05:55
1.4.3
Compare
Choose a tag to compare

ChangeLog

  • xterm.js 3.12.2 (1bc92df)
  • server: do not block main thread when acquiring lock (e954cb5)
  • Dockerfile: add tini as entrypoint (222cd67)
  • server: add support for cli args via url (74e091f)
  • server: remove unused options (bd8d2cf)
  • server: use the default ssl_cipher_list (348de8e)
  • html: do not apply winptyCompat addon (7ed537a)
  • protocol: exit thread as soon as the command terminate, fixes #112 (f95cacd)
  • Add instructions for Gentoo Linux users (#147) (10b479e)
  • Update Dockerfile-alpine (#166) (0f23415)
  • Update max_heaser_data deafult from 4K to 20K (#163) (7f7bf3c)
  • protocol: kill process group (154cacc)
  • cmake: fix compile on macOS (80bcfee)
  • Close the websocket after forking so that child processes don't prevent new connections (#162) (0b44b9b)
  • protocol: cleanup stale thread (51c1ec0)
  • server: add option to toggle IPv6 support (62bef0d)
  • expose term instance to window for programatic use cases (#131) (a428a7a)

1.4.2

12 Sep 04:24
Compare
Choose a tag to compare

This is a bug fix release for 1.4.1.

ChangeLog

1.4.1

04 Sep 16:19
1.4.1
Compare
Choose a tag to compare

This release comes with experimental libwebsockets 3.0 support, and the latest version of xterm.js. Thanks to the richfelker/musl-cross-make project, you can download precompiled linux binary for more platforms now.

Changelog

Notable changes:

  • protocol: ignore invalid message (ff1f19d)
  • html: add development server (68b5882)
  • html: check trailing slash on pathname for ws url (6a217d7)
  • xterm.js: 3.6.0 (30f6688)
  • msys2: upgrade PKGBUILD files (44272fa)
  • libwebsockets 3.0 support (0f97a69)
  • protocol: replace sleep with pthread cond (176f3e1)
  • server: custom terminal type support (aac89aa)
  • Add docker musl-cross compile script (ea46a24)
  • Add git commit id to version string (aaa6fd8)

1.4.0

03 Sep 11:08
1.4.0
Compare
Choose a tag to compare

ttyd 1.4.0 is out, it is our biggest release yet!

This release comes with significant performance improvements and less memory usage.

xterm.js has been updated to 3.0 version which moves from DOM-based rendering to canvas-based, there was a 5 to 45 times performance improvement depending on the situation.

The ZMODEM protocol support is added, yes you can use lrzsz now 🎉 , here is a screenshot:

sz

ChangeLog

  • protocol: fix host origin checking (784ac09)
  • protocol: fix a regression that may crashes the server(710aa1c)
  • protocol: use binary message (47ba5da)
  • protocol: avoid extra copy of pty data (9dd8a97)
  • server: use libwebsockets's built-in ping-pong (26f8b17)
  • openwrt: add a simple luci app for ttyd(a566c6c)
  • Removed the --signal-list option (a59da79)
  • Support numeric value for --signal (a5b8905)
  • Sync window title with the terminal (2087fc6)
  • Replace browserify with webpack (9715585)
  • Upgraded xterm.js to 3.0.2 (40c8861)
  • Added ZMODEM support 🎉 (8ff3d31)