Skip to content

Releases: thephpleague/statsd

2.0.0

15 Jan 03:24
2.0.0
e9829dc
Compare
Choose a tag to compare

Added

  • Added new StatsDClient interface, which Client now implements
  • Added new Exception interface, 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 both int and float values (#56)
  • ConnectionException message is now also propagated via trigger_error() (#57)
  • The following methods return the StatsDClient interface instead of Client:
    • ConfigurationException::getInstance()
    • ConnectionException::getInstance()
  • The following Client methods now return void instead of returning $this:
    • increment()
    • decrement()
    • startTiming()
    • endTiming()
    • timing()
    • timings()
    • time()
    • gauge()
    • set()
    • send()
  • Renamed Client::$instance_id to Client::$instanceId

New Contributors

Full Changelog: 1.5.0...2.0.0

Silex 2.0 Support

17 Jul 17:04
Compare
Choose a tag to compare

Added

  • #43 Silex 2 support

Changed

  • Drop support for PHP <5.6
  • Test against PHP 7.1

1.4.2: use laravel 5 default for config (#37)

09 Feb 19:31
Compare
Choose a tag to compare

#37 Use config to allow publishing differently to views or assets within Laravel

1.4.1

07 Feb 00:47
Compare
Choose a tag to compare

Laravel 5.4 support

1.4.0

21 Apr 18:25
Compare
Choose a tag to compare

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

11 Jun 22:17
Compare
Choose a tag to compare

Throwing an exception is now optional during connections to server and can be silently ignored.

1.2.0

01 Jun 13:38
Compare
Choose a tag to compare

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

01 Feb 18:47
Compare
Choose a tag to compare

This release has new documentation and PSR-4 support.

Release 1.0

27 Aug 11:02
Compare
Choose a tag to compare

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