- Publishes to npm whenever a GitHub Release is published
- Uses npm Trusted Publishing (OIDC) so no NPM_TOKEN secret is required
- Stable tags (vX.Y.Z) go to the latest dist-tag and commit the version
bump back to master; pre-release tags (vX.Y.Z-beta.N) publish to a
matching dist-tag without touching master
- Update GameDig from 5.1.4 to 5.3.2
- Server-down errors (timeouts, connection refused, DNS failures, etc.)
no longer call node.error(). The offline msg still flows out and
status still shows red, but the debug panel stays clean. Real gamedig
errors (parse failures, unexpected exceptions) still surface as before
- node.error() now passes msg as the second argument so downstream
catch nodes can handle gamedig errors
- Removed leftover console.error(error) call from the gamedig catch
block since node.error already handles logging when appropriate
- Switch the admin /gamedig/types call in the editor from $.getJSON to
RED.comms.request so it respects Node-RED's auth and httpAdminRoot
prefix. Adds a .fail() handler so editor load errors get logged
- Errors in parsing GameDig response now throw an error instead of returning to output
- Prevents "Class constructor Players cannot be invoked without 'new'" error
when Node-RED attempts to clone the server response data (this happens when the gamedig node feeds into a function node for example)
- Update gamedig from 4.0.6 to 5.1.0 (breaking change! various server types renamed)
- Fixed autocomplete for server types and now selecting a server type auto fills the query port with the default
- Added strip colors gamedig option
- Added address gamedig option to skip DNS resolution
- Added github funding links
- New option "Output options" that you can enable from config to output `msg.options` object that contains all options we passed to GameDig to query the server. This overrides all other options (whether set from the UI or from `msg.*` variables) so take note of that when chaining multiple server query nodes together with this enabled.
- Breaking Change: This node no longer returns `msg.max_attempts`, `msg.socket_timeout`, and `msg.attempt_timeout`, instead see "Output options" mentioned above if you need this.
- node description updated
- node now errors if msg.host or msg.port is left blank and not configured on the node
- server type & host is not required when configuring the node since it can be passed in via the inputs
- when modifying a node in the editor you can now view available server types at the bottom of the properties. This is parsed from the gamedig readme.
- Update gamedig version
- package-lock.json added
- palette label changed to "Query Game Server"
- Added support for maxAttempts, socketTimeout, and attemptTimeout advanced options in GameDig to be configurable on the node.
- Updated help information to match new changes.
- Fixed query-game-server node so it actually works instead of throwing browser errors when added to the user's work area.
- Updated query-game-server.html to look better
- Added stuff to the node help