Skip to content

v4.2.2

Latest

Choose a tag to compare

@Nedomas Nedomas released this 10 Nov 09:23
8bf6a94

latest moves from 4.2.1 to 4.2.2: a warning when anyone on the network can use the gateway, and plain debug logs with NO_COLOR. No new options, and nothing changes for clients.

Changes

  • A warning when anyone on the network can use the gateway. A gateway serving MCP without an API key on an address other machines can reach (no --host, 0.0.0.0, :: or a network address) prints one WARNING: No API key is set line on stderr after its startup listing, even with --logLevel none. With several servers in a --config file, it names the ones without a key. --apiKey, SUPERGATEWAY_API_KEY or --host 127.0.0.1 turn it off. It changes nothing else (#360, #370, #371)
  • Debug logs honour NO_COLOR. With --logLevel debug in a terminal, NO_COLOR, FORCE_COLOR=0 and TERM=dumb now turn colour off (#368)

Validation

New tests cover the warning on every output, wildcard, network and loopback address, every way to set a key, --logLevel none, JSON logs and config files with one or several servers, and check that clients without a key are still served. 4.2.2-rc.1 passed a 25-hour soak on Linux, Windows and macOS.

Thanks to: