UNPKG

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