Bot releases are visible (Hide)
Published by alexdlaird over 4 years ago
NgrokLog
did not properly split on just the first =
character when parsing a log.Published by alexdlaird over 4 years ago
Published by alexdlaird over 4 years ago
Published by alexdlaird over 4 years ago
ngrok
is being downloaded and installed for the first time.--help
.installer.install_ngrok()
and installer._download_file()
now accept **kwargs
, which are passed down to urllib.request.urlopen, and updated the documentation.Published by alexdlaird over 4 years ago
Published by alexdlaird over 4 years ago
_DEFAULT_NGROK_CONFIG_PATH
from ngrok
module to conf
module, renamed to DEFAULT_NGROK_CONFIG_PATH
.Published by alexdlaird over 4 years ago
PyngrokConfig
, which contains all of pyngrok
's configuration for interacting with the ngrok
binary rather than passing these values around in an ever-growing list of kwargs
. It is documented here.log_event_callback
is a new configuration parameter in PyngrokConfig
, a callback that will be invoked each time a ngrok
log is emitted.monitor_thread
is a new configuration parameter in PyngrokConfig
which determines whether ngrok
should continue to be monitored (for logs, etc.) after it has finished starting. Defaults to True
.startup_timeout
is a new configuration parameter in PyngrokConfig
.max_logs
is a new configuration parameter in PyngrokConfig
.start_monitor_thread()
and stop_monitor_thread()
to NgrokProcess.timeout
parameter that was passed down to ngrok.api_request()
is now configurable by request_timeout
in PyngrokConfig
.NgrokProcess
from 500 to 100.NgrokProcess.log_boot_line()
renamed to NgrokProcess._log_startup_line()
.NgrokProcess.log_line()
renamed to NgrokProcess._log_line()
.name
is not given when calling ngrok.connect()
) are no prefixed with proto
and port
.web_addr
cannot be set to false
in, as the pyngrok
modules depends on this API.installer.install_default_config()
documentation now properly reflects that data
is a dict
and not a str
.ngrok_path
, config_path
, auth_token
, and region
were all removed from process.get_process()
. Use PyngrokConfig instead.ngrok_path
, config_path
, auth_token
, and region
were all removed from ngrok.get_ngrok_process()
. Use PyngrokConfig instead.ngrok_path
, config_path
, auth_token
, region
, and timeout
were all removed from ngrok.connect()
. Use PyngrokConfig instead.ngrok_path
, config_path
, and timeout
were all removed from ngrok.disconnect()
. Use PyngrokConfig instead.ngrok_path
, and timeout
were all removed from ngrok.get_tunnels()
. Use PyngrokConfig instead.ngrok
's logs for more accessible debugging.logs
variable to NgrokProcess
class, which is a NgrokLog
object.ngrok_logs
in PyngrokNgrokException
is now a list of NgrokLog
s instead of str
s.ngrok
process, log levels now match ngrok
s in its startup logs.startup_logs
from NgrokProcess
, use logs
instead.