Releases: scoutapp/scout-apm-php
Releases · scoutapp/scout-apm-php
2.1.1
2.1.0
2.0.1
2.0.0
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 theAgent
- Unlikely to affect most customers, unless they explicitly provided a
Changed
- [BC]
\Scoutapm\Connector\Connector::sendCommand
now returnsstring
notbool
- Unlikely to affect most customers, unless they wrote a custom implementation of
\Scoutapm\Connector\Connector
- Unlikely to affect most customers, unless they wrote a custom implementation of
- [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)
- You should pass in an implementation of
- 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
- Use the named constructor
- [BC]
\Scoutapm\Agent::fromDefaults()
named constructor was removed- For exactly matching behaviour, use
::fromConfig(new \Scoutapm\Config(), new \Psr\Log\NullLogger())
- For exactly matching behaviour, use