Skip to content

Releases: scoutapp/scout-apm-php

2.1.1

17 Dec 17:21
Compare
Choose a tag to compare

Changed

  • Increase core version to 1.2.7 (#140)
    • Fixes some upstream bugs with payload delivery
  • Only tag args from PHP internal functions if there are any (#141)

Fixed

  • Suppress notices/errors emitted from socket calls (#144)
  • Only register with core agent once per connection (#145)
  • Do not pre-emptively connect if monitoring is disabled (#146)

2.1.0

16 Dec 12:07
Compare
Choose a tag to compare

Added

  • Reset the request after each call to send()

2.0.1

09 Dec 17:47
Compare
Choose a tag to compare

Changed

  • Correctly handle warnings raised during core agent connections (#130)
  • Support PHP 7.4 (#131)
  • Removed incorrect auto detection of SCM subdirectory (#133)
  • Catch exceptions raised whilst sending metadata (#134)

2.0.0

04 Dec 16:57
72abf0c
Compare
Choose a tag to compare

Added

  • Added language_version key to be sent with metadata (#110)
  • Added more debug logging to isolate issues easier (#111, #115, #117)
  • Added detection of musl by checking if /etc/alpine-release exists (#118)
  • [BC] Third parameter for \Scoutapm\Agent::fromConfig is now a \Psr\SimpleCache\CacheInterface implementation (null-able) (#123)
    • Unlikely to affect most customers, unless they explicitly provided a \Scoutapm\Connector\Connector implementation to the Agent

Changed

  • [BC] \Scoutapm\Connector\Connector::sendCommand now returns string not bool
    • Unlikely to affect most customers, unless they wrote a custom implementation of \Scoutapm\Connector\Connector
  • [BC] \Scoutapm\Agent::fromConfig() second parameter for a \Psr\Log\LoggerInterface implementation is no longer optional
    • You should pass in an implementation of \Psr\Log\LoggerInterface as the second parameter
    • If you do not want logging, you can use \Psr\Log\NullLogger (although this is not advisable)
  • Updated core agent version to 1.2.6 (#127)

Fixed

  • Fixing bug with instrumentation delivery to dashboard (#126)
  • Handle warning that was escaping from socket_connect (#124)

Removed

  • [BC] \Scoutapm\Agent::__construct is now private
    • Use the named constructor \Scoutapm\Agent::fromConfig() instead
  • [BC] \Scoutapm\Agent::fromDefaults() named constructor was removed
    • For exactly matching behaviour, use ::fromConfig(new \Scoutapm\Config(), new \Psr\Log\NullLogger())

1.0.0

05 Nov 10:29
Compare
Choose a tag to compare

[1.0.0] 2019-11-05

Changed

  • Improved error message when invalid log level given for log_level configuration (#106)
  • Updated installation instructions to remove -alpha flag from PHP extension (#109)