Releases: justeattakeaway/JustEat.StatsD
Releases · justeattakeaway/JustEat.StatsD
v5.1.0
What's Changed
- Attest artifacts by @martincostello in #679
- Add GraphiteDB tags formatter by @tuyndoan in #818
- Singleton formatters by @martincostello in #821
New Contributors
Full Changelog: v5.0.1...v5.1.0
v5.0.1
What's Changed
- Bug #599 - Update documentation to reflect the correct signature of the Timing() method by @mtn-boblloyd in #600
- Add dedicated package README by @martincostello in #636
- Add release workflows by @martincostello in #652
- Add missing IStatsDPublisherWithTags registration by @martincostello in #662
New Contributors
- @mtn-boblloyd made their first contribution in #600
Full Changelog: v5.0.0...v5.0.1
v5.0.0
Notable changes
- Add support for tags using the new
IStatsDPublisherWithTagsinterface - thanks @jgpayvision - Add support for sending metrics over TCP - thanks @firerain-fd
- Add TFM for
net6.0. - Drop TFMs for
netstandard2.1,netcoreapp2.1andnet5.0. - Mark assembly as native AoT compatible.
What's Changed
- Use GitHub action to update SDK by @martincostello in #295
- Rename default branch to main by @martincostello in #316
- Fix code coverage result upload by @martincostello in #317
- Tagging by @jgpayvision in #312
- Enable deterministic builds by @martincostello in #326
- Deterministics builds by @martincostello in #343
- .NET 6 support by @martincostello in #352
- Adopt file-scoped namespaces by @martincostello in #360
- Add GitHubActionsTestLogger by @martincostello in #366
- Delete stale.yml by @martincostello in #392
- Enable colour output from .NET CLI by @martincostello in #394
- Add package source mappings by @martincostello in #400
- Improve conditions in workflows by @martincostello in #421
- Improve commit messages by @martincostello in #458
- Add GitHub coverage summaries by @martincostello in #460
- Add PackageReadmeFile by @martincostello in #464
- PR automation and repo/workflow-hardening by @martincostello in #468
- .NET 8 preparation by @martincostello in #484
- Add security policy and OpenSSF Scorecard badge by @martincostello in #496
- Remove ExcludeByAttribute by @martincostello in #522
- Remove Moq by @martincostello in #531
- Use HTTPS for NuGet link by @martincostello in #544
- Add actionlint by @martincostello in #547
- Use actionlint Docker image by @martincostello in #559
- Use SHA-256 for checksums by @martincostello in #562
- Group xunit updates by @martincostello in #569
- Pin .NET SDK version by @martincostello in #575
- Configure allowed licences by @martincostello in #574
- Update to .NET 8 by @martincostello in #475
- Support AoT by @martincostello in #585
- Move tags to IStatsDPublisherWithTags by @martincostello in #416
- TCP protocol support. by @firerain-fd in #538
New Contributors
- @jgpayvision made their first contribution in #312
- @firerain-fd made their first contribution in #538
Full Changelog: v4.2.0...v5.0.0
JustEat.StatsD 4.2.0
JustEat.StatsD 4.1.0
JustEat.StatsD 4.0.1
JustEat.StatsD v4.0.1
Available from NuGet.
Changes
- Allow
IEndpointSourceto returnnull(#171, #172) Thanks @yousifh! - Support building from source using Jetbrains Rider (#164) Thanks @slang25!
- Improved code coverage (#167)
- Do not try to send metrics if no bucket is set (#167)
- Code formatting fixes (#169)
- Update code analysers (#173)
Contributors
JustEat.StatsD 4.0.0
JustEat.StatsD v4.0.0
Available from NuGet.
JustEat.StatsD 4.0.0 is a major release. It is simpler than version 3.x, and the high-performance additions in the 3.x releases are now the default. Version 4.0.0 makes various binary breaking changes to the library to reduce the size of the IStatsDPublisher interface and remove various deprecated classes and members from its public API.
It also makes a number of source-breaking changes to rename or remove some members. See below for details of changes and suggested changes for upgrading.
Changes
- The
UdpTransport,IpTransportandPooledUdpTransportclasses have been removed. The newSocketTransportclass now contains the pooling implementation and supports both UDP and IP transports. (#114, #115, #116) - For the case where IP transport is needed, including in AWS lambda functions, setup is now simpler. Set
config.SocketProtocol = SocketProtocol.IPas per this example. StatsDPublishernow implementsIDisposableand issealed. (#125)- Buffered transport is now used by default. (#117)
- Add
netcoreapp2.2target framework. (#150) - Various pieces of internal refactoring to improve efficiency and performance.
- Various internal reliability fixes identified through the use of static code analysers. (#126)
- The assembly is now strong-named. (#147)
- The assembly version is now frozen to
4.0.0.0for each release of4.x. (#147) - Renamed
EndpointParsertoEndPointFactory. (#157) - Renamed
IPEndPointSourcetoIEndpointSource. (#136) - Removed
IStatsDBufferedTransport. (#118) - Removed the
PoolAwareSocketAsyncEventArgsclass. (#107) - Removed the
SimpleObjectPool<T>class. (#109) - The
PreferBufferedTransportproperty has been removed from theStatsDConfigurationclass. (#117) - Added integration tests using StatsD.
Upgrading from version 3.x.x of JustEat.StatsD
- Remove usage of
PreferBufferedTransport- it is now enabled by default and cannot be disabled. - Change any usage of
IpTransporttoSocketTransportwith aSocketProtocolvalue ofIP. - Change any usage of
PooledUdpTransporttoSocketTransport. - Change any usage of
IStatsDBufferedTransporttoIStatsDTransport. - Change use of
timer.StatNametotimer.Bucketin code.
Fixed
- Removed use of asynchronous call made on a synchronous code path. (#135)
- Added XML documentation to all public members. (#139)
- Removed
runtimeconfig.jsonfrom NuGet package. (#142)
Contributors
version 4.0.0-beta01
todo
JustEat.StatsD 3.2.2
JustEat.StatsD v3.2.2
Available from NuGet.
Fixed
- Fixed the
void Increment(long value, double sampleRate, params string[] buckets)andvoid Decrement(long value, double sampleRate, params string[] buckets)methods onStatsDPublisheronly sending the first metric in thebucketsarray if multiple values were specified. (#128) - Fixed the hostname
localhostbeing resolved to the IPv6 address::1instead of the IPv4 address127.0.0.1on computers that support both versions. (#121)