Releases: schroffl/teamspeak-query
Releases · schroffl/teamspeak-query
Version 3.1.0
- Added the
disconnect
method, which should be called to clean up any resources that might prevent garbage collection. This closes #19 and hopefully is the fix for #20.
Version 3.0.1
- Fix #17 by lowering the default timeout from five to only four minutes. The five minutes were too close to the actual
query_timeout
option of the server. If you manually changed that option, I suggest you to use a keepalive-timeout of at least 10 seconds less for this library
Version 3.0.0
Changelog
- Add SSH Support (#13, #15, Documentation Example)
- Make keep-alive interval configurable via
keepalive.setDuration
Upgrading
If you are upgrading and just want to use the plain old TeamspeakQuery, you'll only have to make some minor changes.
# Old API
- const TeamspeakQuery = require('teamspeak-query');
- const query = new TeamspeakQuery('127.0.0.1', 10011);
# New API
# If you use the default connection options (host '127.0.0.1' on port 10011)
# you don't have to specify them explicitly
+ const TeamspeakQuery = require('teamspeak-query').Raw;
+ const query = new TeamspeakQuery({ host: '127.0.0.1', port: 10011 });
Version 2.1.1
- Fix
EADDRNOTAVAIL
when not explicitly specifying a port in the constructor - Fix parsing of response parameters without a value. This is what caused the missing
connection_client_ip
on the server query client when runningclientlist -ip
(See #12)
Version 2.1.0
This version adds a keep-alive mechanism, so the connection isn't closed when no commands are sent for a few minutes (I don't know the exact duration, but apparently [1][2]). This was proposed in #9.>5min
[1] The duration is now configurable in the Teamspeak Server version 3.3.0
[2] The default has been lower to 4 minutes in Version 3.0.1
Version 2.0.1
This patch improves backwards compatibility by reintroducing the host
and port
properties, as mentioned in #8.
Version 2.0.0
- The third argument a user can pass to the TeamspeakQuery constructor is given to
net.Socket.connect
instead of theSocket
constructor. This was proposed in #7. The(Back in v2.0.1)host
andport
properties are removed
Version 1.5.4
This release introduces tests to the package.