Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 33 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## 1.6.0

- Updated the internal ngrok SDK
- Added support for internal endpoints

## 1.5.0
Adds `poolingEnabled` to listener builders, allowing the endpoint to pool with other endpoints with the same host/port/binding

- Adds `poolingEnabled` to listener builders, allowing the endpoint to pool with
other endpoints with the same host/port/binding

## 1.4.1

Expand All @@ -9,24 +16,33 @@ Adds `poolingEnabled` to listener builders, allowing the endpoint to pool with o

- Rename `policy` to `traffic_policy`
- Fix quickstart example in README
- Add Microsoft Visual C++ Redistributable requirement for Windows to documentation
- Add Microsoft Visual C++ Redistributable requirement for Windows to
documentation

## 1.3.0:

- Add `rootCas` to session builder and `root_cas` to `ngrok.forward`. Setting this to `host` will use the host's trusted certificates to connect for the ngrok session.
- Add `session_ca_cert` and `server_addr` to `ngrok.forward`, which correspond to the same functions in the session builder.
- Add `rootCas` to session builder and `root_cas` to `ngrok.forward`. Setting
this to `host` will use the host's trusted certificates to connect for the
ngrok session.
- Add `session_ca_cert` and `server_addr` to `ngrok.forward`, which correspond
to the same functions in the session builder.

## 1.2.0:

- Add `verifyUpstreamTls` to listener builders and `verify_upstream_tls` to `ngrok.forward`. Setting this to false will skip verification of the upstream application's TLS certificate.
- Add `verifyUpstreamTls` to listener builders and `verify_upstream_tls` to
`ngrok.forward`. Setting this to false will skip verification of the upstream
application's TLS certificate.

## 1.1.1:

- Add `appProtocol(string)` to the labeled listener builder. Setting this to "http2" will enable HTTP/2 support to the backend application.
- Add `appProtocol(string)` to the labeled listener builder. Setting this to
"http2" will enable HTTP/2 support to the backend application.

## 1.1.0:

- Add `appProtocol(string)` to http listener builder, and `app_protocol: string` as a `ngrok.forward()` argument. Setting this to "http2" will enable HTTP/2 support to the backend application.
- Add `appProtocol(string)` to http listener builder, and `app_protocol: string`
as a `ngrok.forward()` argument. Setting this to "http2" will enable HTTP/2
support to the backend application.

## 1.0.0:

Expand Down Expand Up @@ -58,8 +74,10 @@ Adds `poolingEnabled` to listener builders, allowing the endpoint to pool with o

## 0.6.0:

- Flattened `listener.forwardPipe()` and `listener.forwardTcp()` into `listener.forward()`. Determination will be made based on `addr` input.
- Add `ngrok.listeners()` and `session.listeners()` to get a list of current non-closed listeners for the process or session, respectively.
- Flattened `listener.forwardPipe()` and `listener.forwardTcp()` into
`listener.forward()`. Determination will be made based on `addr` input.
- Add `ngrok.listeners()` and `session.listeners()` to get a list of current
non-closed listeners for the process or session, respectively.
- Add `errorCode` field to thrown errors, where possible.
- More heuristics for automatic unix socket file placement.
- Connect heuristic improved for strings parseable as numbers.
Expand Down Expand Up @@ -89,12 +107,14 @@ Adds `poolingEnabled` to listener builders, allowing the endpoint to pool with o

## 0.3.0:

- Added `ngrok.connect(Config)`, `ngrok.authtoken()`, and `ngrok.disconnect(url)`.
- Added `ngrok.connect(Config)`, `ngrok.authtoken()`, and
`ngrok.disconnect(url)`.
- Examples cleanup.

## 0.2.0:

- Now have examples for Express, Fastify, Hapi, Koa, Nest.js, Next.js, Remix, Svelte, and Vue.
- Now have examples for Express, Fastify, Hapi, Koa, Nest.js, Next.js, Remix,
Svelte, and Vue.
- Add `prettier` auto code formatting.

## 0.1.1:
Expand Down Expand Up @@ -132,7 +152,8 @@ Adds `poolingEnabled` to listener builders, allowing the endpoint to pool with o

## 0.0.7:

- Improved memory management, removing need to keep NodeJS from garbage collecting certain objects.
- Improved memory management, removing need to keep NodeJS from garbage
collecting certain objects.
- Support callbacks for remote operations (stop, restart, update).
- Typescript support for getSocket and listen.

Expand Down
34 changes: 27 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "ngrok-javascript"
version = "1.5.2"
version = "1.6.0"

[lib]
crate-type = ["cdylib"]
Expand All @@ -17,7 +17,7 @@ mio = { version = "=0.8.6" }
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.12.1", default-features = false, features = ["napi4", "tokio_rt"] }
napi-derive = "2.12.1"
ngrok = {version = "0.15.0", features = ["hyper", "axum"]}
ngrok = {version = "0.17.0", features = ["hyper", "axum"]}
parking_lot = "0.12.1"
regex = "1.9.5"
rustls = "0.23.25"
Expand Down
2 changes: 1 addition & 1 deletion npm/android-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-android-arm64",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"android"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-darwin-arm64",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-universal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-darwin-universal",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-darwin-x64",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/freebsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-freebsd-x64",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"freebsd"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm-gnueabihf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-linux-arm-gnueabihf",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-linux-arm64-gnu",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-linux-arm64-musl",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-linux-x64-gnu",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-linux-x64-musl",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-win32-arm64-msvc",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-ia32-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-win32-ia32-msvc",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok-win32-x64-msvc",
"version": "1.5.0",
"version": "1.6.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrok/ngrok",
"version": "1.5.2",
"version": "1.6.0",
"main": "index.js",
"types": "index.d.ts",
"files": [
Expand Down
Loading