UNPKG

9.82 kBMarkdownView Raw
1CHANGELOG
2=========
3
4## 8.3.0 (2020-12-16)
5* @chotiwat Handle UDS errors occurring when sending metrics
6
7## 8.2.1 (2020-12-1)
8* @stephenmathieson Make close callback optional in TypeScript definition
9
10## 8.2.0 (2020-9-30)
11* @dhermes Making UDS error handling and recovery more robust. Note these look to be ok in a minor release but are signficant upgrades to how UDS works. Thanks as well to @prognant for an overlapping PR.
12
13## 8.1.0 (2020-9-25)
14* @maleblond Support multiple values for the same tag key
15
16## 8.0.0 (2020-9-23)
17* @naseemkullah Change default value for 'host' from 'localhost' to
18 undefined. This means the default host will now be 127.0.0.1 or ::1,
19 which has cases where it will speed up sending metrics. This should be a
20 non-breaking change, but bumping to a major version for it given
21 it's a very base change to the library.
22* @naseemkullah Switch from equals to strictEquals in tests
23
24## 7.8.0 (2020-8-28)
25* @bdeitte Fix some flaky tests
26* @ralphiech Add missing error handler when socket is not created
27* @ralphiech Add missing socket checks
28* @dependabot Bump lodash from 4.17.15 to 4.17.19
29* @DerGut Add "Congestion error" section to README
30
31## 7.7.1 (2020-8-4)
32* @DerGut Fix udsGracefulErrorHandling default value
33
34## 7.7.0 (2020-7-29)
35* @tebriel Add asyncDistTimer function
36
37## 7.6.0 (2020-6-16)
38* @Impeekay Add date type to timing function
39
40## 7.5.0 (2020-6-5)
41* @benblack86 Unreference underlying socket/interval to prevent process hangs
42
43## 7.4.2 (2020-5-5)
44* @kazk Fix types for set/unique
45
46## 7.4.1 (2020-4-28)
47* @lbeschastny Sanitize ',' tags characters for telegraf
48
49## 7.4.0 (2020-4-3)
50* @MichaelSitter add tagPrefix and tagSeparator options
51
52## 7.3.0 (2020-4-1)
53* @marciopd Use Date.now() instead of new Date()
54* @chotiwat Add UDS graceful error handling options to typescript
55* @bdeitte Update packages, most notably getting node-unix-dgram 2.0.4
56
57## 7.2.0 (2020-3-19)
58* @marciopd Add cacheDnsTtl
59* @dependabot Bump acorn from 6.3.0 to 6.4.1
60
61## 7.1.0 (2020-3-4)
62* @wision Actually fix cachedDns with udp
63* @casey-chow TypeScript: parameterize function types in timer and asyncTimer
64
65## 7.0.0 (2020-2-13)
66* @tomruggs Remove support for Node 6- now supporting Node 8.x or higher
67* @tomruggs Update to the latest mocha version to get rid of a security warning
68
69## 6.8.7 (2020-2-10)
70* @mrknmc Fix TypeError when increment called without a callback argument
71
72## 6.8.6 (2020-1-28)
73* @ericmustin callback is not properly passed bytes argument
74
75## 6.8.5 (2019-12-19)
76* @bdeitte Fix for socket on reading when cacheDns and udp in use
77
78## 6.8.4 (2019-12-18)
79* @bdeitte Fix cacheDns with udp
80
81## 6.8.3 (2019-12-15)
82* @gleb-rudenko Fix StatsD constructor typing
83
84## 6.8.2 (2019-11-12)
85* @almandsky Fix useDefaultRoute to work again after abstract transports
86
87## 6.8.1 (2019-10-16)
88* @hayes Add unref method to transport interface
89
90## 6.8.0 (2019-10-14)
91* @runk Add new protocol, stream, and a stream parameter for
92 specifying it.
93
94## 6.7.0 (2019-10-9)
95* @runk Code refactoring to have abstract transports
96
97## 6.6.0 (2019-10-7)
98* @NinjaBanjo @msiebuhr Add udsGracefulErrorHandling, ensuring uds
99 handles socket errors gracefully
100
101## 6.5.1 (2019-9-28)
102* @msiebuhr Fix crasher when closing Unix Datagram Sockets without callback
103
104## 6.5.0 (2019-9-22)
105* @bdeitte Update decrement to handle missing arguments the same way
106that increment does
107* @bdeitte Document that memory may grow unbounded in mock mode
108* @bdeitte Only load in unix-dgram library when uds protocol in use
109
110## 6.4.1 (2019-9-19)
111* @jfirebaugh Fix cacheDns option when obtaining host from DD_AGENT_HOST
112
113## 6.4.0 (2019-6-28)
114* @tghaas Add Node 12 support to uds protocol support
115* @jhoch README clarifications
116
117## 6.3.0 (2019-5-18)
118* @paguillama Fix user defined tag example on README optional parameters
119* @gabsn Initial support for uds protocol
120* @bdeitte Updated and fixed up uds protocol support
121
122## 6.2.0 (2019-4-10)
123* @ahmed-mez Add support for env variables DD_AGENT_HOST,
124DD_DOGSTATSD_PORT, and DD_ENTITY_ID
125* @JamesMGreene Fix syntax in README example
126
127## 6.1.1 (2019-1-8)
128* @bdeitte Fix errorHandler to only happen again on errors
129* @Ithildir Readme fixes
130
131## 6.1.0 (2019-1-5)
132* @bdeitte Ensure close() call always sends data before closing
133* @bdeitte Recommend errorHandler over client.socket.on() for handling
134errors
135* @mbellerose Fix the timer function type definition
136
137## 6.0.1 (2018-12-17)
138* @msmnc Fix regression when tag value is a number
139* @bdeitte Make non-options in constructor more deprecated
140
141## 6.0.0 (2018-12-15)
142@bdeitte Major upgrade to the codebase to be more modern,
143overhaul tests, and many small tweaks. Most of this is internal to
144the project, but there are a few changes to note for everyone:
145* Now requires Node 6 or above
146* Update close() to handle errors better, not doubling up in error
147messages and not leaving uncaught errors
148
149Everything else done here should be internal facing. Those changes
150include:
151* Use "lebab" to ES6-ify the project
152* Switch from jshint and eslint and make syntax updates based on this
153* Remove a lot of duplication in tests and many small fixups in tests
154* Start using Mocha 4
155* Stop using index.js for testing
156* Start using the code coverage report as part of the build
157* Remove the ignoring of errors on close of tests, and tear down tests in general better
158* Stop using "new Buffer", that is deprecated, and use Buffer.from() instead
159
160## 5.9.2 (2018-11-10)
161* @stieg Add mockBuffer to types
162
163## 5.9.1 (2018-9-18)
164* @etaoins Add asyncTimer types
165* @blimmer: Add increment doc snippet
166
167## 5.9.0 (2018-7-27)
168* @chrismatheson: Fix timer to have duration in microseconds (was nanoseconds)
169* @chrismatheson: Add asyncTimer functionality
170
171## 5.8.0 (2018-7-17)
172* @michalholasek Clean up code formatting and split up tests
173* @michalholasek Add tcp protocol support
174* @remie Add tcp protocol support
175
176## 5.7.0 (2018-7-4)
177* @Willyham Add support for recording buffers in mock mode
178
179## 5.6.3 (2018-6-20)
180* @singerb correct close() type definition
181
182## 5.6.2 (2018-6-15)
183* @mjesuele Fix time in timer
184
185## 5.6.1 (2018-6-4)
186* @MattySheikh Typescript: add socket type for StatsD class
187
188## 5.6.0 (2018-6-3)
189* @drewen TypeScript: add overload types for stats functions
190
191## 5.5.1 (2018-5-30)
192* @emou Typescript declaration for the 'timer' method
193
194## 5.5.0 (2018-5-30)
195* @drewen Split up single file, add code coverage capabilities
196
197## 5.4.1 (2018-5-12)
198* @jasonsack Fixups for new useDefaultRoute option
199* @bdeitte Test against more modern set of Node versions in Travis
200
201## 5.4.0 (2018-4-26)
202* @RobGraham Added `distribution()` support for DataDog v6
203
204## 5.3.0 (2018-4-3)
205* @tanelso2 Added support for using default route on Linux
206
207## 5.2.0 (2018-2-28)
208* @ericapisani Add timer decorator function
209
210## 5.1.0 (2018-2-14)
211* @lautis Pass key-value tags as objects
212
213## 5.0.1 (2018-2-2)
214* @punya-asapp Add childClient to TypeScript types
215
216## 5.0.0 (2017-11-9)
217* @jgwmaxwell TypeScript typings, resolving the default export issue and missing options from last time. This is being marked as a major release, in caution given the revert last time, but it is not actually known to cause any backwards-compatible issues.
218
219## 4.8.0 (2017-10-31)
220* @Jiggmin concat prefix and suffix in check function
221* @Jiggmin commit package-lock.json
222
223## 4.7.1 (2017-10-31)
224* @Jiggmin Add backwards compatibility for global_tags
225
226## 4.7.0 (2017-9-21)
227* @bdeitte Revert TypeScript typings, which ended up not being semver minor
228
229## 4.6.0 (2017-9-19)
230* @jgwmaxwell TypeScript typings
231
232## 4.5.0 (2017-5-4)
233* @jsocol Support default value with tags in increment
234
235## 4.4.0 (2017-3-23)
236* @RijulB Global sample rate
237
238## 4.3.1 (2016-11-7)
239* @RandomSeeded Fix callbacks not being triggered when using buffers
240
241## 4.3.0 (2016-9-30)
242* @ggoodman Allow socket errors to be handled with errorHandler
243
244## 4.2.0 (2016-8-3)
245* @mhahn Add support for DataDog service checks
246
247## 4.1.1 (2016-5-22)
248* @ash2k date_happened should be seconds, not milliseconds
249
250## 4.1.0 (2016-5-8)
251* @ash2k Support multiline text in DataDog events
252
253## 4.0.0 (2016-5-7)
254* @ash2k Provided tags, including `childClient()` tags, override global tags with same names.
255
256## 3.1.0 (2016-5-3)
257* @ash2k Support a client-wide error handler used in case no callback is provided and to handle various exceptions.
258
259## 3.0.1 (2016-4-28)
260* @bdeitte Add 'use strict' to files and make changes needed for this.
261
262## 3.0.0 (2016-4-27)
263* @ash2k Method to create child clients. (This is not a backwards-incompatible change but is rather large.)
264* @ash2k Shrink npm package a bit more
265
266## 2.4.0 (2016-2-26)
267* @arlolra Shrink npm package
268* @arlolra/@bdeitte Move DNS errors when caching them to send() and use callback when possible
269* @bdeitte Use callback for Telegraf error when possible
270
271## 2.3.1 (2016-2-3)
272* @Pchelolo Ensure messages not larger then maxBufferSize
273
274## 2.3.0 (2016-1-17)
275* @bdeitte Fix increment(name, 0) to send a 0 count instead of 1
276* @bdeitte Flush the queue when needed on close()
277
278## 2.2.0 (2016-1-10)
279* @bdeitte Document and expand on close API
280* @bdeitte Catch more error cases for callbacks
281
282## 2.1.2 (2015-12-9)
283* @bdeitte Even more doc updates
284* @mmoulton Fix multiple tags with Telegraf
285
286## 2.1.1 (2015-12-9)
287* @bdeitte Doc updates
288
289## 2.1.0 (2015-12-9)
290* @mmoulton Add options.telegraf to enable support for Telegraf's StatsD line protocol format
291* @mmoulton Ensure message callback is sent in buffered case, even when we just buffer.
292
293## 2.0.0 (2015-10-22)
294* @jjofseattle Add options.maxBufferSize and options.bufferFlushInterval
295* @bdeitte Change options.global_tags to options.globalTags for consistency
296
297## 1.0.2 (2015-09-25)
298* @ainsleyc Thrown error when cacheDNS flag fails to resolve DNS name
299
300## 1.0.1 (2015-09-24)
301* @bdeitte Add the event API used by DogStatsD
302* @sivy Start from the base of https://github.com/sivy/node-statsd