1.6.0
Highlights
- Added proxy support (#193)
- Added support for inferring NULL values passed as query parameters (#189)
- Fixed bug with NULL handling for Arrow results (#195)
Full diff: 1.5.0...1.6.0
Proxy support
This feature allows to pass through proxy all the requests library makes. By default, proxy is disabled.
To enable proxy, pass a configuration object to DBSQLClient.connect
:
client.connect({
// pass host, path, auth options as usual
proxy: {
protocol: 'http', // supported protocols: 'http', 'https', 'socks', 'socks4', 'socks4a', 'socks5', 'socks5h'
host: 'localhost', // proxy host (string)
port: 8070, // proxy port (number)
auth: { // optional proxy basic auth config
username: ...
password: ...
},
},
})
Note: using proxy settings from environment variables is currently not supported