Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@colinodell colinodell released this 15 Jan 03:24
· 2 commits to master since this release
2.0.0
e9829dc

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