1 | # Sumo Logic JavaScript Logging SDK Release Notes
|
2 |
|
3 | ### v2.5.1
|
4 | * Removed Axios from package.json
|
5 |
|
6 | ### v2.5.0
|
7 | * Replaced Axios with [SuperAgent](https://visionmedia.github.io/superagent/) as Axios seems adrift and not updating for reported security issues.
|
8 |
|
9 | ### v2.4.3
|
10 | * NPM update and audit fixes
|
11 |
|
12 | ### v2.4.2
|
13 | * Update repository URL in package.json
|
14 |
|
15 | ### v2.4.1
|
16 | * Add `.then/.catch` blocks for single log send closure
|
17 |
|
18 | ### v2.4.0
|
19 | * Add prettier-eslint to repo for consistent code formatting
|
20 |
|
21 | ### v2.3.1
|
22 | * Fix release notes for versioning
|
23 |
|
24 | ### v2.3.0
|
25 | * [Bug fix](https://github.com/SumoLogic/js-sumo-logger/issues/65): Clear interval, if it exists, before setting new interval
|
26 | * [Bug fix](https://github.com/SumoLogic/js-sumo-logger/issues/66): Instead of emptying pending logs list, remove the logs which were successfully sent
|
27 |
|
28 | ### v2.2
|
29 | * Add `batchSize` configuration option
|
30 |
|
31 | ### v2.1.1
|
32 | * Removed obsolete Jasmine tests and links to Grunt
|
33 |
|
34 | ### v2.1.0
|
35 | * Removed demos and related Grunt as unnecessary in light of documentation
|
36 |
|
37 | ### v2.0.6
|
38 | * Updated packages to clear most security advisories and install a peer dependency not automatically installed otherwise
|
39 |
|
40 | ### v2.0.5
|
41 | * Replace `lodash.assignIn()` with `Object.assign()`
|
42 | * Fixes an issue where falsey evaluation can have unintended side effect
|
43 |
|
44 | ### v2.0.4
|
45 | * Adds pre-publish task
|
46 | * Fixes some URLs in package.json
|
47 |
|
48 | ### v2.0.3
|
49 | * Bundled library now uses correct formatDate file (Thanks [Clement](https://github.com/clementallen)
|
50 |
|
51 | ### v2.0.2
|
52 | * Restore build functionality so `lib` files are updated
|
53 |
|
54 | ### v2.0.1
|
55 | * Update Field Extraction Rules link
|
56 |
|
57 | ### v2.0.0
|
58 | * DEPRECATION NOTICE: The sumologic.logger.js module is DEPRECATED and will be removed in v3.0.0. Docs have been updated to reflect this and no changes, including those mentioned in these release notes, will be ported to it.
|
59 | * POTENTIAL BREAKING CHANGE: The timestamp format used by this library is not handled properly by the Sumo Logic backend and could cause your logs to be inserted at the wrong times. The timestamp format used is updated to be `yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ` (e.g., `2018-08-20'T'13:20:10*633+0000`).
|
60 | * NEW CAPABILITY: When sending logs or metrics one at a time, including the new config option `returnPromise` with the value `true` forces the `log` function to return a promise and in this case the `onSuccess` and `onError` handlers are ignored. This DEFAULTS to true, so to keep past behavior you MUST pass the option as `false`.
|
61 |
|
62 | ### v1.6.0
|
63 | * Upgrade babel-cli to 7.1.2 due to security alert on a [subpackage](https://nvd.nist.gov/vuln/detail/CVE-2017-16028)
|
64 |
|
65 | ### v.1.5.8
|
66 | * Updated Jasmine
|
67 |
|
68 | ### v1.5.7
|
69 | * Updated dependencies and fixed linting (Thanks [Clement](https://github.com/clementallen)
|
70 |
|
71 | ### v1.5.6
|
72 | * Update tests with new header
|
73 |
|
74 | ### v1.5.4
|
75 | * Add "X-Sumo-Client": "sumo-javascript-sdk" header to identify SDK usage (which is common practice in other Sumo Logic open source clients)
|
76 |
|
77 | ### v1.5.3
|
78 | * Error and error related testing enhancements (Thanks [James Spence](https://github.com/jamesaspence)
|
79 |
|
80 | ### v1.5.2
|
81 | * Remove Snyk
|
82 |
|
83 | ### v1.5.0
|
84 | * Adds `raw` option to allow sending a plaintext string as log message
|
85 |
|
86 | ### v1.4.0
|
87 | * Moves Node library to expose a class to help support multiple instances of SumoLogger.
|
88 | * Cleans up much conditional code, e.g., in configuration setting and checking.
|
89 | * Only supports active Node versions (stable, lts, 6)
|
90 |
|
91 | ### v1.3.0
|
92 | * Adds Babel pre-publish step so clients using SumoLogger use the es5 version by default, allowing for easier use with webpack and older Node versions
|
93 |
|
94 | ### v1.2.1
|
95 | * Replace request lib with axios and underscore with lodash. Reduces bundled size from 314kb to 8kb! Thanks [Clement](https://github.com/clementallen).
|
96 |
|
97 | ### v1.2.0
|
98 | * Adds support for sending Graphite logs
|
99 |
|
100 | ### v1.1.2
|
101 | * Add Release Notes
|
102 | * Add ESLint linting
|
103 |
|
104 | ### v1.1.1
|
105 | * Added Credits section to README
|
106 |
|
107 | ### v1.1.0
|
108 | * Added tests for Node library
|
109 | * Cleaned up some unneeded conditionals
|
110 |
|
111 | ### v1.0.8
|
112 | * BUGFIX: Fixed an issue with use on concat instead of join
|
113 |
|
114 | ### v1.0.7
|
115 | * Removed the session key prefix as no cookies are in use in the Node version of the logger
|
116 |
|
117 | ### v1.0.6
|
118 | * Updated version of node-grunt-http-server to avoid a security issue in a sub-package
|
119 | * BUGFIX: Fixed config event method bug and removed session key
|
120 |
|
121 | ### v1.0.5
|
122 | * Added temp logs queue to avoid sending duplicate logs being submitted
|
123 | * Updated license expression to SPDX spec
|
124 |
|
125 | ### v1.0.4
|
126 | * BUGFIX: Use correct status code attribute of request response
|
127 |
|
128 | ### v1.0.2
|
129 | * BUGFIX: Use correct statusCode attribute of request lib
|
130 | * Ignored unnecessary files from being published to NPM
|
131 | * Fixed Readme typo and updated deps
|
132 |
|
133 | ### v1.0.1
|
134 | * Updated npm install command
|