Skip to content

Releases: schroffl/teamspeak-query

Version 3.1.0

01 Oct 15:02
Compare
Choose a tag to compare
  • 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

21 Sep 07:51
Compare
Choose a tag to compare
  • 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

15 Aug 08:30
Compare
Choose a tag to compare

Changelog


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

06 Jul 10:18
Compare
Choose a tag to compare
  • 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 running clientlist -ip (See #12)

Version 2.1.0

15 Aug 08:30
Compare
Choose a tag to compare

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 >5min [1][2]). This was proposed in #9.

[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

06 Mar 11:38
Compare
Choose a tag to compare

This patch improves backwards compatibility by reintroducing the host and port properties, as mentioned in #8.

Version 2.0.0

01 Mar 16:04
Compare
Choose a tag to compare

Version 1.5.4

01 Mar 16:07
Compare
Choose a tag to compare

This release introduces tests to the package.