All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Exposes the
NgrokClientError
class
- Previously, if the ngrok log_format was set to JSON,
getProcess
would never resolve. This is fixed now. (#221) - If the home directory download location isn't usable, the backup directory was defined wrong and the download would fail. The directory is now fixed. (#237)
- Avoids memory leaks caused by adding listeners to the
process
"exit" event over and over. (#240)
- Trying to connect a new tunnel using a name would drop options like
binPath
as they were overwritten from the loaded config. #220 changes the behaviour to merge passed options with the named tunnel options - Avoids showing a terminal window on Windows when spawning (#211)
- Replaced the deprecated request and request-promise-native with got
ngrok.getApi()
will now return anNgrokClient
object which has methods to call on the available ngrok API methods- Revamped the exported types, there is now an
Ngrok
namespace under which most types now sit - Added types for the
NgrokClient
responses
- Changed CI from Travis to GitHub Actions
- Brought development dependencies up to date
- Passing a
name
option toconnect
now causes the module to read the ngrok config and retrieve a named tunnel (fixes #197)
- Really fixed the location of the downloaded binary
- Moved the download.js file back to the top level, since it can be required individually.
- Corrected the file listing in package.json
- Replaced the deprecated request and request-promise-native with got
ngrok.getApi()
will now return anNgrokClient
object which has methods to call on the available ngrok API methods- Revamped the exported types, there is now an
Ngrok
namespace under which most types now sit - Added types for the
NgrokClient
responses - Changed CI from Travis to GitHub Actions
- Passing a
name
option toconnect
now causes the module to read the ngrok config and retrieve a named tunnel (fixes #197)
Please see commit logs for updates prior to version 4.