You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Changed
timeout parameter that was passed down to ngrok.api_request() is now configurable by request_timeout in PyngrokConfig.
Max number of logs stored by the NgrokProcess from 500 to 100.
NgrokProcess.log_boot_line() renamed to NgrokProcess._log_startup_line().
NgrokProcess.log_line() renamed to NgrokProcess._log_line().
Auto-generated tunnel names (if 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.
Fixed
installer.install_default_config() documentation now properly reflects that data is a dict and not a str.
Removed
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.