- Added support for Cloud Endpoints (currently in private beta).
- Renamed the Policy Module to the Traffic Policy Module on HTTP Edge Routes, TCP Edges, and TLS Edges, which allows you to configure rules that can be used to influence and control traffic to and from your upstream service. The Traffic Policy itself is now specified as either a JSON or YAML string.
-
Added support for the Bot User API. The Bot User API allows you to manage the bots that are registered to your ngrok account. You can automate the creation, management, and deletion of bot users in your account.
-
Added support for the Policy Module on HTTP Edge Routes, TCP Edges, and TLS Edges, which allows you to configure rules that can be used to influence and control traffic to and from your upstream service.
ENHANCEMENTS:
- Added
owner_id
field to theapi_key
,credential
, andssh_credential
resources. If supplied at credential creation, ownership will be assigned to the specified User or Bot. Only admins may specify an owner other than themselves. Defaults to the authenticated User or Bot. - Added
failover_backend
,http_response_backend
, andtunnel_group_backend
resources. A Failover backend defines failover behavior within a list of referenced backends. Traffic is sent to the first backend in the list. If that backend is offline or no connection can be established, ngrok attempts to connect to the next backend in the list until one is successful.
ENHANCEMENTS:
- Restructure to use classes instead of embedded objects
- Added support for namespaces to avoid clutter
- Rewrote README explaining async usage, error handling, and more examples
- Run tests against mock or actual API
- Improved Typedoc generated documentation
FIXES:
- Use the correct naming convention for TypeScript properties
- Use Markdown instead of plain text for Typedoc
- Use Promise when a method returns no result instead of an empty object
ENHANCEMENTS:
- List iterators supporting automatic paging
- Generate TypeScript documentation
FIXES:
- Fix missing Ngrok module
- Fix Map type JSON serialization
ENHANCEMENTS:
- Refine error messages to an Error type
- Add a CHANGELOG and an example usage