- remove the console.log statement
- Replaced client implementation to use
needle
in lieu of deprecatedrequest
- Replaced client implementation to use
nyc
in lieu of deprecatedistanbul
- Converted CI from Travis to Github Actions and added CD
- Upgrade version of jsdoc to 3.6.7.
- Upgrade version of jshint to 2.12.0.
- Upgrade version of mocha to 8.4.0.
- Update useragent to match library version.
- Dropped support for Node.js versions older than 4.0.0.
- Upgrade version of request to 2.88.0.
- Relax request dependency version, allows new installs to include security updates.
- Workaround a urlencoding bug in the request library (GitHub issue #6).
- Catch JSON parsing errors from the server without crashing (GitHub issue #9).
- Relax port validation for ports < 1000.
- Added the ability to configure automated batching with 3 settings:
batchInterval
,maxBatchCount
, &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)
.
- Removed the
autoFlush
configuration setting. To achieve the same effect, setconfig.maxBatchCount
to0
. - Removed support for middleware functions.
- The
context
object has been simplified,config
andrequestOptions
can no longer be specified there; please use those settings directly on the logger.
- Removed the
middleware.js
example. - Renamed the
batching.js
example tomanual_batching
. - Added the
all_batching.js
,custom_format.js
,retry.js
examples.
- Significant refactor of internal functions.
- Beta release.