mirror of
https://github.com/ngrok/ngrok-api-go.git
synced 2026-05-17 16:50:37 +00:00
2.1 KiB
2.1 KiB
v5.3.1
INTERNAL:
- Moved location of BaseClient
v5.3.0
ENHANCEMENTS:
- Added support for the Traffic Policy module on TCP edges, TLS edges, and HTTPS edge routes. A Traffic Policy allows traffic to and from your edges to be shaped and influenced by defining rules that contain expression to filter the traffic and actions to take effect.
- Added
static_backendresource, which defines a static address at which traffic should be forwarded.
v5.2.0
ENHANCEMENTS:
- Added support for the User Agent Filter module on HTTPS edge routes. The User Agent Filter module enables you to block bots, crawlers, or certain browsers from accessing your web application. It allows or denies traffic based on the User-Agent header of incoming HTTP requests.
- Added support for the JWT Validation module on HTTPS edge routes. The JWT Validation module allows or denies traffic based on validation of the JSON Web Token (JWT) provided within the request that was initiated to your ngrok endpoints.
v5.1.0
ENHANCEMENTS:
- Added
owner_idfield to theapi_key,credential, andssh_credentialresources. 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_backendresources. 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.
v5.0.0
Breaking Changes
v5.0.0 has breaking changes. Notably, properties that
previously had pointers to slices or maps no longer have pointers. For instance,
Hostports: *[]string `json:"hostports,omitempty"`
are now
Hostports: []string `json:"hostports,omitempty"`
Additions
New clients have been generated for ApplicationSessions and ApplicationUsers.