Releases: vi/websocat
A heartbeat release
A release to pretend that Websocat development is going on (while in reality it has mostly petered out). Also to check that release script still works.
Triggered by activity in #55.
Although version number "rolled back" to 1.x series, it is a continuation of the "2.0.0-alpha0" below and contains everything from it. It is possible to connect to a websocket using new "2.0"-ish scheme, but it's a low-level-only command and is not the default method.
In addition to everything specified in "v2.0.0-alhpa0" changelog, there are:
- Base64 mode for binary WebSocket messages
- Prefixes for text and binary WebSocket messages, allowing to discriminate incoming binary and text WebSocket messages and intermix outgoing binary and text WebSocket messages.
- Sort-of-unfinished
http-post-sse:
specifier allowing to use HTTP server-sent events (in one direction) and POST request bodies (in the other direction) instead of (or in addition to) a WebSocket and to bridge them together. This mode is not tested properly although.
As usual, in case of Websocat fails to start or work for you, try a nossl
version, try some previous release or try just building it from source code.
Unfinished migration away from Hyper, new features.
Release is built on my laptop using autorelease.sh
script. Not tested at all (even on Linux), releasing just because of enough mini-features accumulated.
New features:
- UDP multicast options
foreachmsg:
overlay - run specifier (i.e. connect somewhere or execute a program) on each WebSocket message instead of on each WebSocket connection.- Various minor options like
--max-messages
or zero-length message handling. - Low-level Websocket features:
--just-generate-key
and--just-generate-accept
options which help generating HTTP headers for WebSockets.ws-lowlevel-server:
andws-lowlevel-client:
overlays to use expose WebSocket's data encoder/decoder without HTTP part. - Basic
http://
client with arbitrary method, uri and so on. - Delay for
autoreconnect:
overlay - More pre-built release assets
It is not actual Websocat 2.0, as planned [disruptive] internal changes are not finished and by default it works like good old Websocat 1.0.
As usual, it may be worth to try older builds in case of problems.
Client basic auth, header-to-env
Changelog:
- Using client URI's like
websocat ws://user:password@host/
now adds basic authentication HTTP header to request - New command-line option:
--header-to-env
- Minor dependencies update
- Built with newer Rust on newer Debian
As usual, try various neighbouring and previous versions in case of problems.
P.S. Bonus: preview of advanced UDP options for static x86_64 linux version.
WebSocket ping and Sec-WebSocket-Protocol improvements
- New options:
--server-protocol
,--ping-timeout
,--ping-interval
,--server-header
- Fixed replying to WebSocket pings
- Fixed replying to requests with
Sec-WebSocket-Protocol
.
Not systematically tested; multiple published files may suit you; try v1.2.0 or 1.1.0 if something fails. v1.2.0 release contains some additional prebuilt targets.
tokio, conncap, pkcs12-passwd, typos
Not all release artifacts available for 1.2.0 is uploaded for 1.3.0 (at least yet).
Not formally tested, especially on non-Linux.
More than one file may suit you. It may be worth to try alternative files and/or previous versions in case of failure.
Ubuntu 16.04 or Debian Jessie should use ssl1.0
variant of the deb package.
-k (--insecure), native-tls
Notes:
- More than one file may be suitable for you
- In case of strange problems, report to issues and try another suitable file
- In case of problems it may be worth to try previous pre-built file
- If there are problems with libssl, try nossl version
Not properly tested yet.
Special for Ubuntu 16.04 (and maybe other older systems), there are additional deb packages that depend on libssl1.0
instead of libssl1.1
.
More features
Mini-chanelog:
- Static files aside from the websocket for easy prototyping
- SOCKS5 proxy client
- wss:// listener
- Setting environment variables for
exec:
- Sending SIGHUP signal to child process on client disconnect
--jsonrpc
mode
Preview of 1.1
With --set-environment option and --static-file
Files here may be re-uploaded from time to time.
The release. Finally.
Note that not all attached executables are actually really tested. File issues if something fails.
If usual version fails, try nossl version.
Refactor and more features
Also Windows actually tested somewhat.
Actually the release is created just to avoid master running too ahead of the pre-built code.
Note that attached files are based on futher commits compared to the tag.