- Add policy support to Listener builders and
ngrok.forward
- Move to
ngrok.forwardfromngrok.connect, keeping an alias
- Add
allow_user_agentanddeny_user_agentoptions to HTTP listeners - Add
client_idandclient_secretoptions to OAuth
- Rename all assets to listener
- Add links to ngrok documentation
- Log if an auth token was used for session creation
- Fix publishing for aarch64
- Add
listen_and_forwardandlisten_and_serveto listener builders. - Update to latest version of underlying rust library, allowing TLS backends.
- Fix aarch64 build for docker-ubuntu-on-macos and raspberry pi.
- Flattened
listener.forward_pipe()andlistener.forward_tcp()intolistener.forward(). Determination will be made based onaddrinput. - Added Mypy static typing information.
- Added
session.get_listeners()to get a list of current non-closed listeners for the session. - Added
ngrok.set_auth_token(<token>)to set a default auth token to use for sessions. - Added ngrok error codes as 3rd argument to thrown Errors, when available.
- Cleanly return from a listener forward call after a
session.close()
- Add
Session.client_info() - Rename to
ngrok-python
- Add
ngrok.disconnect(url)andngrok.kill()convenience functions. - Add examples for Tornado, OpenPlayground, Streamlit, GPT4All.
- Handle protocols in
addr, and dots inconnectoption keys, for ease-of-use. - Docs improvements
- Add
ngrok.connect(options)convenience function. - Add Gradio example.
- Consolidate multiple listener classes into one.
- Add ngrok-asgi ASGI runner.
- Migrate
ca_certto the upstream call inngrok-rust.
- Django, auto-format, and windows support in examples.
- Add wrapper convenience functions.
- Add
close,ca_cert,handle_disconnection,handle_heartbeatto Session.
- Initial public release.