Skip to content

SDK 4.14.3

Latest

Choose a tag to compare

@bryce-godfrey bryce-godfrey released this 24 Nov 01:08
c84c1ef

@servicenow/sdk — Release Notes

Version: 4.14.3
Availability: npm — https://www.npmjs.com/package/@servicenow/sdk


🚀 Overview

Version 4.14.3 is a patch release that adds proxy support and a configurable connect timeout for commands that talk to the instance for a long time, such as transform and download. It also fixes transform, init --from and build for apps whose short description spans multiple lines.


CLI

Proxy support and --connect-timeout
transform, download and init failed with Connect Timeout Error ... timeout: 10000ms in networks that require a proxy, even with NODE_USE_ENV_PROXY=1 set. These commands now honor HTTP_PROXY, HTTPS_PROXY and NO_PROXY when NODE_USE_ENV_PROXY=1 is set, on any supported Node version.

They also accept a new --connect-timeout <seconds> option, the maximum time to wait while opening a connection to the instance. It must be a positive number. When omitted, the 10 second default is unchanged.

NODE_USE_ENV_PROXY=1 HTTPS_PROXY=http://proxy.example.com:8080 \
  now-sdk transform --connect-timeout 60

Other commands, such as install and query, follow NODE_USE_ENV_PROXY only on Node versions that support it natively (24+, 22.21+).


Bug Fixes

Multi-line app short descriptions

  • transform no longer fails when the app's short description contains newlines. The description is now written to now.config.json as a valid JSON string.
  • init --from no longer fails with Invalid JSON in mergeJsonFiles block when the app's short description contains newlines, quotes or backslashes.
  • Building an app initialized with init --from no longer turns a line break in the short description into a literal &#13; on the instance.