github ServiceNow/sdk v4.5.0
SDK 4.5.0

latest releases: v4.6.1, v4.6.0
one month ago

@servicenow/sdk — Release Notes

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


🚀 Overview

Version 4.5.0 adds new Fluent APIs and fixes some more bugs!

New Fluent APIs

Instance Scan Records

New APIs are available for configuring Instance Scan checks for detecing anomalies on your instance.

Scheduled Script

The ScheduledScript (sysauto_script) API can be used to execute custom scripst at specified times or on a recurring basis.

ServicePortal

More APIs have been added for creating Service Portal items to round out the existing Fluent APIs that already exist.

Now Assist Skill Kit

Adds a Fluent API NowAssistSkillConfig for creating NowAssist Skill configurations

AI Agent Studio

The addition of Fluent AI Agent Studio Fluent APIs enable the create and manage AI agents and workflows!

  • Adds new Fluent APIs AiAgent for creating AI Agent definitions
  • Adds new Fluent API AiAgentWorkflow that allows for creating dynamic agentic workflow definitions

New Features

Flows

  • All Flows and Subflows installed from the SDK will now be auto published as part of now-sdk install. Use flag -skip-flow-activation to disable this if needed.
  • NOTE: This requires version 4.1.1 or later of the ServiceNow IDE installed on your instance.

Changes

  • Removed eslint dependency from projects and updated internal reference to v9. After upgrading to 4.5.0 of @servicenow/sdk you can remove the dependency on @servicenow/eslint-plugin-sdk-app-plugin from your projects package.json
  • init command no longer prompts for credentials unless converting from the instance
  • Fix metadata folder content copy for binary files being copied as utf8
  • FieldListColumn accepts either dependent or attributes.table
  • Fix EmailNotification not correctly escaping encoded values
  • Fix CatalogItem checkbox selection required field mapping missing
  • Fix dev server watching HTML and CSS asset files
  • Fix unable to create global app with UI customizations
  • Flow fixes:
    • setFlowVariable transform issues
    • SubFlow complex object transform issues
    • Trigger createOrUpdate converting to wrong type on transform
    • Flow runAs defaulting to user instead of system
    • Issues with diagnostic errors on setFlowVariables not working

Don't miss a new sdk release

NewReleases is sending notifications on new releases.