NodeJS/browser Agent Release Notes

December 9, 2024

Version Changes
6.1.991
  • New Feature:Enhanced instrumentation to use the browser directly, reducing code complexity.

  • New Feature: Minimized bundled modules to reduce required CSP policies.
  • New Feature: Added --ctxPropagationOnly flag for minimal instrumentation to support context propagation (OTEL).

November 20, 2024

Version Changes
6.1.951
  • New Feature: Added an option for suite-level reporting in Mocha.

November 19, 2024

Version Changes
6.1.949
  • New Feature: Made --instrumentOnly a standalone operation for easier front-end artifact management (`dist` folders).

November 18, 2024

Version Changes
6.1.948
  • Issue Fix: Resolved regression when mocking HTTP client in tests.

  • Issue Fix: Fixed TSC error affecting CI.

November 11, 2024

Version Changes
6.1.940
  • Issue Fix: Fixed handling of time sync offset for future time calculations.

November 6, 2024

Version Changes
6.1.939
  • New FeatureexcludeNestedMethods prevents nested methods from being treated as standalone methods. Initial activation may cause false positive code changes.

  • New FeaturehashIncludeNestedMethods incorporates nested anonymous methods into parent method hash calculations. Initial activation may cause false positive code changes.

November 5, 2024

Version Changes
6.1.937
  • New Feature: Introduced an inspector to detect mocked Node modules or global objects that could affect coverage and agent functionality

October 30, 2024

Version Changes
6.1.936
  • Issue Fix: Resolved NYC execution issues caused by missing projectRoot in NODE_OPTIONS

October 28, 2024

Version Changes
6.1.935
  • Issue fix: Enhanced error handling and logging for the source-map module to improve stability under mocked library conditions.

  • Issue fix: Bundled @types/form-data@2.5.2 internally and updated documentation to address related issues.

September 19, 2024

Version Changes
6.1.930
  • Issue Fix: Corrected parsing of --awsConfigKeysToIgnore value.

  • New FeatureIntroduced --compressSlMapping to enable SL-mapping compression for better performance.

  • New Feature: Added omitFootprintsLeadingSlash (and environment variable prefixed by SL_) to remove leading slashes from mapped footprints

  • New Feature: Add an option to instrument a browser application without the needed for a token (--excludeTokenFromBrowserConfig)

  • New Feature: Introduced --libraries scan parameter to include specified node_modules in coverage data.

August 21, 2024

Version Changes
6.1.912
  • New Feature: Added an error level log in case environment variables affecting Node proxy configuration are found (HTTP_PROXY, HTTPS_PROXY and their lower-case variants)

August 14, 2024

Version Changes
6.1.911
  • New Feature: Added --overrideServer option to allow customers define a forward proxy between the agent and the BE.

  • New Feature: Support sending files in chunks for normal build scanner like in the Java agent

  • New Feature: cancel default tokenfile and buildsessionidfile for the start/end commands added in 6.1.810

August 14, 2024

Version Changes
6.1.907
  • New Feature: Add option to ignore aws config keys

August 8, 2024

Version Changes
6.1.900
  • New Feature: Count test failure when an exception occurs in the before/after hooks (mocha test runner)

  • New Feature: Add support to scan folders starting with dot (.). Can be set with env-var SL_scanDotFolders remote-var scanDotFolders or with cli flag --scanDotFolders true

July 31, 2024

Version Changes
31.07.24
  • Issue Fix: fix arrow function naming when it assigned to class property

  • New Feature: Add support for projectRoot

July 29, 2024

Version Changes
6.1.879
  • New Feature: Allow passing projectRoot as env-var when using NODE_OPTIONS with preload

July 25, 2024

Version Changes
6.1.877
  • New Feature: Light-weight agent: Run NodeV8Coverage mode via setting env var via executeSync arguments

July 24, 2024

Version Changes
6.1.873
  • New Feature:Updated agent to use spawnSync for compatibility with Node.js 20.6.0 and above.

July 23, 2024

Version

Changes
6.1.853
  • New feature: Give tokenfile and buildsessionidfile default values to find them locally if they exist

  • New feature: Automatically open execution when using the nycReport command

April 4, 2024

Version

Changes
6.1.798
  • New feature: Improve awsConfigure settings for lambda layers

  • New feature: Improved instrumentation using –newInstrumenter

  • Issue fix: Updated micromatch library due to vulnerabilities

May 26, 2024

Version Changes
6.1.734
  • Issue fix: Fixed a minify issue

May 20, 2024

Version Changes
6.1.729
  • Issue fix: Fixed the usage of projectRoot for awsConfigure

May 12, 2024

Version Changes
6.1.724
  • New feature: Added support for excludedpaths

  • New feature: Deprecated useslnode2 cli option

  • New feature: Replaced the usage of Module.runMain() with execSync

  • New feature: Handle support for .nyc_output folder not having permissions

  • Issue fix: Improved warning logic for nyc configuration