Skip to content

Releases: palkan/acli

0.6.0

10 Aug 03:22
Compare
Choose a tag to compare

Features

  • Adde --pong option to enable pong commands.

  • Added \h offset:<N> support.

Now you can retrieve the last observed stream history by offset.

  • Added messages meta information to output.

Now you can see history related information in addition to message contents:

{"action":"broadcast","test":3} # stream_id=all epoch=pHWQ offset=3

0.5.0

01 Mar 03:36
Compare
Choose a tag to compare

Features

  • Add --debug option to show debugging information.

Fixes

  • Fix input URL normalization to not change the case (query parameters can be case-sensitive, e.g., JWT tokens).

0.4.1

10 Aug 23:45
Compare
Choose a tag to compare

Features

  • Added experimental history command support.

Other

  • Apple M1 binaries are available.

0.4.0

20 May 17:24
Compare
Choose a tag to compare

Features

  • Add Msgpack support (--msgpack).

  • Add WS sub-protocols support (--sub-protocol).

Misc

  • Upgraded to mruby 3.0.

0.3.1

19 Nov 11:58
Compare
Choose a tag to compare

Features

  • Add --channel-params option.

Now you can connect and subscribe to a parameterized channel via a single command.

Fixes

  • Fix using namespaced Ruby classes as channel names.

  • Handle reject_subscription message.

Changes

  • Linux binaries are now statically compiled.

0.3.0

21 Apr 17:44
Compare
Choose a tag to compare

Features

  • Add HTTP headers support.

Example:

acli -u example.com --headers="x-api-token:secret,cookie:username=John"
  • Added disconnect messages support.

Changes

  • Replaced -m option with --quit-after.

Fixed

  • Fixed query string support.

Now ?q=s is passed to the server.

Support TLS

14 Jun 15:31
Compare
Choose a tag to compare

Secure connections are now supported (i.e. wss://...).

Installation

  • MacOS
curl -L https://github.com/palkan/acli/releases/download/0.2.0/acli-macos-x86_64 > /usr/local/bin/acli
chmod +x /usr/local/bin/acli
  • Linux
curl -L https://github.com/palkan/acli/releases/download/0.2.0/acli-linux-x86_64 > /usr/local/bin/acli
chmod +x /usr/local/bin/acli

Initial release

14 Jun 15:21
Compare
Choose a tag to compare

Provides basic functionality:

  • Connect to Action Cable server (non-secure, ws://, only)

  • Subscribe to a channel

  • Perform an action

  • Receive messages.