Releases: thephpleague/statsd
Releases · thephpleague/statsd
2.0.0
Added
- Added new
StatsDClientinterface, whichClientnow implements - Added new
Exceptioninterface, which all exceptions now implement
Changed
- Supported PHP versions are now 7.4, 8.0, and 8.1
- All properties and methods now have type hints where applicable
gauge()now accepts bothintandfloatvalues (#56)ConnectionExceptionmessage is now also propagated viatrigger_error()(#57)- The following methods return the
StatsDClientinterface instead ofClient:ConfigurationException::getInstance()ConnectionException::getInstance()
- The following
Clientmethods now returnvoidinstead of returning$this:increment()decrement()startTiming()endTiming()timing()timings()time()gauge()set()send()
- Renamed
Client::$instance_idtoClient::$instanceId
New Contributors
Full Changelog: 1.5.0...2.0.0
Silex 2.0 Support
1.4.2: use laravel 5 default for config (#37)
#37 Use config to allow publishing differently to views or assets within Laravel
1.4.1
Laravel 5.4 support
1.4.0
New Features
- Custom timeout configurations
- Exception handling is now configurable
- Built-in Laravel 5 support
Fixes
- DNS lookup failures no longer raise exceptions
1.3.0
Throwing an exception is now optional during connections to server and can be silently ignored.
1.2.0
This is a small changes with a few new features and enhancements
- Configurable timeouts
- SET method: Count the number of unique values passed to a key
- PHP 5.6 Testing on Travis
- Various test patches and improvements
PSR-4 Support
This release has new documentation and PSR-4 support.
Release 1.0
This is the first fully stable version of StatsD library. This version has the following features:
- Counters
- Gauges
- Timers
- Timing Blocks
- 100% Code Coverage
- Silex Service Provider