summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
blob: d476d11515fbe9179c98ad77e469333af0cbd431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# Statsd Changelog

## UNRELEASED

## v4.0.1

### Fixed

- Updated PyPI trove classifiers for current Python versions.

## v4.0

### Added

- Updates support to Python 3.7 through 3.11.
- Added `close()` method to UDP-based `StatsClient`. (#136)

### Dropped

- Drops support for Python 2.

### Fixed

- Using a timing decorator on an async function should now properly measure the
  execution time, instead of counting immediately. See #119.

Version 3.3
-----------

- Drop support for Python 2.5, 2.6, 3.2, 3.3 (#108, #116).
- Add UnixSocketStatsClient (#76, #112).
- Add support for timedeltas in timing() (#104, #111).
- Fix timer decorator with partial functions (#85).
- Remove ABCMeta metaclass (incompatible with Py3) (#109).
- Refactor client module (#115).
- Various doc updates (#99, #102, #110, #113, #114).


Version 3.2.2
-------------

- Use a monotomic timer to avoid clock adjustments (#96).
- Test on Python 3.5 and 3.6.
- Various doc updates.


Version 3.2.1
-------------

- Restore `StatsClient(host, port, prefix)` argument order.


Version 3.2
-----------

- Add an explicit IPv6 flag.
- Add support for sub-millisecond timings


Version 3.1
-----------

- Add IPv6 support.
- Add TCPStatsClient/TCPPipeline to support connection-mode clients.


Version 3.0.1
-------------

- Make timers-as-decorators threadsafe.


Version 3.0
-----------

- Moved default client instances out of __init__.py. Now find them in
  the `statsd.defaults.{django,env}` modules.


Version 2.1.2
-------------

- Fix negative absolute (non-delta) gauges.
- Improve test coverage.


Version 2.1.1
-------------

- Fix issue with timers used as decorators.


Version 2.1
-----------

- Add maxudpsize option for Pipelines.
- Add methods to use Timer objects directly.

Version 2.0.3
-------------

- Handle large numbers in gauges correctly.
- Add `set` type.
- Pipelines use parent client's _after method.


Version 2.0.2
-------------

- Don't try to pop stats off an empty pipeline.
- Fix installs with Django 1.5 on the PYTHONPATH.


Version 2.0.1
-------------

- Fix install with Django 1.5 in the environment.


Version 2.0
-----------

- Add Pipeline subclass for batching.
- Added an _after method subclasses can use to change behavior.
- Add support for gauge deltas.


Version 1.0
-----------

- Clean up tests and requirements.
- Encode socket data in ASCII.
- Tag v1.


Version 0.5.1
-------------

- Stop supporting IPv6. StatsD doesn't support it, and it breaks things.
- incr, decr, and gauge now support floating point values.


Version 0.5.0
-------------

- Add support for gauges.
- Add real docs and hook up ReadTheDocs.
- Add support for environment var configuration.


Version 0.4.0
-------------

- Look up IP addresses once per client instance.
- Support IPv6.


Version 0.3.0
-------------

- Improve StatsClient.timer.
- Remove nasty threadlocal stuff.
- Return result of StatsClient.timer.


Version 0.2.0
-------------

- Optional prefix for all stats.
- Introduce StatsClient.timer context decorator.