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
Support for ngrok's tunnel definitions when calling ngrok.connect(). If a tunnel definition in ngrok's config matches the given name, it will be used to start the tunnel.
Support for a ngrok tunnel definition named "pyngrok-default" when calling ngrok.connect(). When name is None and a "pyngrok-default" tunnel definition exists it ngrok's config, it will be used.
data to NgrokTunnel, which holds the original tunnel data.
ngrok.update() to update ngrok, if an update is available.
Stability improvements.
Documentation improvements.
Logging improvements.
Changed
ngrok.connect() now returns a NgrokTunnel instead of a str of the
public URL. The returned NgrokTunnel has a reference to the previously returned public_url in it.
ngrok.connect() changed its signature, renamed kwarg port (the first arg) to addr to match ngrok's documentation.
ngrok.connect() changed its signature, the options kwarg should now be unpacked, pass each option directly to the method as a kwarg.
ngrok.disconnect() no longer installs and starts ngrok, it simply returns if the ngrok process has not been started.
Renamed conf.DEFAULT_PYNGROK_CONFIG to conf._default_pyngrok_config (use conf.set_default() instead).
Renamed ngrok.ensure_ngrok_installed() to ngrok.install_ngrok().
ngrok.install_ngrok() (formerly ngrok.ensure_ngrok_installed()) changed its signature, now takes a pyngrok_config (optional) instead of ngrok_path as its only arg.
Renamed process._ensure_path_ready() to process._validate_path().
Removed
Support for Python 2.7. Legacy documentation for 4.1, the latest version with Python 2.7 support, can be found here.
return_ngrok_tunnel from ngrok.connect(). The kwarg can still be passed, but it will do nothing, it now always uses the True behavior.