Skip to content

Commit

Permalink
release 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Aug 20, 2018
1 parent 8a37c58 commit 95bef44
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 18 deletions.
60 changes: 43 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
# CHANGELOG

## NEXT
## 4.4.0 / 2018.08.20

* [IMPROVEMENT] Add `.open` for short-lived reporting that does not leave sockets around [#96][] by [@grosser][]
* [IMPROVEMENT] Extract batch logic into a class [#95][] by [@grosser][]
* [IMPROVEMENT] Extract connection for separation of concerns [#94][] by [@grosser][]
* [IMPROVEMENT] Fail fast on unknown options [#93][] by [@grosser][]
* [IMPROVEMENT] Always lazy connect [#92][] by [@grosser][]
* [IMPROVEMENT] Batch events and service checks too [#88][] by [@grosser][]
* [IMPROVEMENT] Remove bad argument after options [#83][] by [@grosser][]
* [IMPROVEMENT] Reduce object allocation and make all strings frozen on ruby 2.3+ [#78][] by [@grosser][]

### Breaking changes

* port / host / socket_path readers are now on statsd.connection
* port / host / tags / namespace can no longer be set on the instance to allow thread-safety [#87][] by [@grosser][]
* replace global logger with instance option [#90][] by [@grosser][]
* make format_service_check private [#89][] [@grosser][]
* [IMPROVEMENT] Frozen strings and less allocations everywhere. [#78][], [@grosser][]
* [BUGFIX] Make sure the UDP message fits into the 8k buffer of dd-agent. [#86][], [@Antti][]
* max_buffer_size initializer argument removed and replaced with max_buffer_bytes (defaults to 8192)
* max_buffer_size/max_buffer_size= methods removed
* format_event is now private
* Remove deprecated `version` method [#91][] by [@grosser][]
* port / host / tags / namespace can no longer be set on the instance to allow thread-safety [#87][] by [@grosser][]
* port / host / socket_path readers are now on statsd.connection
* Make `logger` an instance var [#90][] by [@grosser][]
* Make `format_service_check` private [#89][] by [@grosser][]
* Improve code coverage / make `format_event` private [#84][] by [@grosser][]
* Set buffer size in bytes [#86][] by [@grosser][]
* max_buffer_size initializer argument removed and replaced with max_buffer_bytes (defaults to 8192)
* max_buffer_size/max_buffer_size= methods removed

## 3.3.0 / 2018.02.04

* [FEATURE] Add distribution support (beta). See [#72][].
* [IMPROVEMENT] A ton of cleanups and refinements courtesy of [@grosser][]. See [#68][], [#69][], [#73][], [#74][], [#75][], [#76][], [#77][].
* [IMPROVEMENT] Unify tag handling in `format_service_check`. See [#71][] by [@grosser][].
* [IMPROVEMENT] Use faster time method on ruby >= 2.1. See [#70][] by [@grosser][].
* [FEATURE] Add distribution support (beta). See [#72][].
* [IMPROVEMENT] A ton of cleanups and refinements courtesy of [@grosser][]. See [#68][], [#69][], [#73][], [#74][], [#75][], [#76][], [#77][].
* [IMPROVEMENT] Unify tag handling in `format_service_check`. See [#71][] by [@grosser][].
* [IMPROVEMENT] Use faster time method on ruby >= 2.1. See [#70][] by [@grosser][].

## 3.2.0 / 2017.12.21

Expand All @@ -41,6 +50,7 @@
* [IMPROVEMENT] Use a instance variable to decide whether to batch or not. [#47][] [@fimmtiu][]

### Breaking changes

#### Host resolution

Host resolution was previously done every time a message was sent, it is now
Expand All @@ -63,13 +73,15 @@ resolve the `host`.
## 2.0.0 / 2016.09.22

### Breaking changes

#### Namespace

The `Statsd` is now namespaced under the Datadog module. [#32][] [@djpate][]

To update:
- `require 'statsd'` -> `require 'datadog/statsd'`
- `Statsd` -> `Datadog::Statsd`

* `require 'statsd'` -> `require 'datadog/statsd'`
* `Statsd` -> `Datadog::Statsd`

#### Tags

Expand Down Expand Up @@ -152,6 +164,20 @@ Future versions are likely to introduce backward incompatibilities with < Ruby 1
[#75]: https://github.com/DataDog/dogstatsd-ruby/issues/75
[#76]: https://github.com/DataDog/dogstatsd-ruby/issues/76
[#77]: https://github.com/DataDog/dogstatsd-ruby/issues/77
[#78]: https://github.com/DataDog/dogstatsd-ruby/issues/78
[#83]: https://github.com/DataDog/dogstatsd-ruby/issues/83
[#84]: https://github.com/DataDog/dogstatsd-ruby/issues/84
[#86]: https://github.com/DataDog/dogstatsd-ruby/issues/86
[#87]: https://github.com/DataDog/dogstatsd-ruby/issues/87
[#88]: https://github.com/DataDog/dogstatsd-ruby/issues/88
[#89]: https://github.com/DataDog/dogstatsd-ruby/issues/89
[#90]: https://github.com/DataDog/dogstatsd-ruby/issues/90
[#91]: https://github.com/DataDog/dogstatsd-ruby/issues/91
[#92]: https://github.com/DataDog/dogstatsd-ruby/issues/92
[#93]: https://github.com/DataDog/dogstatsd-ruby/issues/93
[#94]: https://github.com/DataDog/dogstatsd-ruby/issues/94
[#95]: https://github.com/DataDog/dogstatsd-ruby/issues/95
[#96]: https://github.com/DataDog/dogstatsd-ruby/issues/96
[@AMekss]: https://github.com/AMekss
[@adimitrov]: https://github.com/adimitrov
[@degemer]: https://github.com/degemer
Expand All @@ -168,4 +194,4 @@ Future versions are likely to introduce backward incompatibilities with < Ruby 1
[@ramfjord]: https://github.com/ramfjord
[@sensadrome]: https://github.com/sensadrome
[@sj26]: https://github.com/sj26
[@sullerandras]: https://github.com/sullerandras
[@sullerandras]: https://github.com/sullerandras
2 changes: 1 addition & 1 deletion lib/datadog/statsd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def reset
DISTRIBUTION_TYPE = 'd'.freeze
TIMING_TYPE = 'ms'.freeze
SET_TYPE = 's'.freeze
VERSION = "3.3.0".freeze
VERSION = "4.0.0".freeze

# A namespace to prepend to all statsd calls. Defaults to no namespace.
attr_reader :namespace
Expand Down

0 comments on commit 95bef44

Please sign in to comment.