What's new in Splunk logging for JavaScript

The current version of Splunk logging for JavaScript is 0.9.3 (beta). This topic summarizes the changes included in each version of the SDK.

For a detailed list of new features and APIs, breaking changes, and other changes, see the Splunk logging for javaScript Changelog (/splunk-javascript-logging/changelog.md).

v0.9.3 (beta)

Version 0.9.3 (2017-05-24) of Splunk logging for JavaScript contains the following changes since the last release:

  • Minor changes:
    • Relax request dependency version, allows new installs to include security updates.

v0.9.2 (beta)

Version 0.9.2 (2016-11-14) of Splunk logging for JavaScript contains the following changes since the last release:

  • Bug Fixes:
    • Workaround for a urlencoding bug in the request library (GitHub issue #6).
    • Catch JSON parsing errors from the server without crashing (GitHub issue #9).

v0.9.1 (beta)

Here's what was new in version 0.9.1 (2016-1-12) of the SDK:

  • Bug fix: Relaxed port validation for ports < 1000.

v0.9.0 (beta)

Here's what was new in version 0.9.0 (2015-11-25) of the SDK:

  • New features & APIs:

    • Added the ability to configure automated batching with 3 settings: batchInterval, maxBatchCount, and maxBatchSize.
    • Added the ability to retry sending to Splunk Enterprise or Splunk Cloud in the case of network errors with the maxRetries configuration setting.
    • Added the ability to configure a custom Splunk Enterprise or Splunk Cloud event format by overriding eventFormatter(message, severity).
  • Breaking Changes:

    • Removed the autoFlush configuration setting. To achieve the same effect, set config.maxBatchCount to 0.
    • Removed support for middleware functions.
    • The context object has been simplified. config and requestOptions can no longer be specified there; please use those settings directly on the logger.
  • Examples:

    • Removed the middleware.js example.
    • Renamed the batching.js example to manual_batching.
    • Added the all_batching.js, custom_format.js, retry.js examples.
  • Minor change:

    • Significant refactor of internal functions.

v0.8.0 (beta)

Here's what was new in version 0.8.0 (2015-09-22) of the SDK:

  • Beta version released, coinciding with the release of Splunk Enterprise 6.3.0.