Releases: getsentry/sentry-php
Releases · getsentry/sentry-php
3.8.0
- Add
Sentry\Monolog\BreadcrumbHandler
, a Monolog handler to allow registration of logs as breadcrumbs (#1199)
- Do not setup any error handlers if the DSN is null (#1349)
- Add setter for type on the
ExceptionDataBag
(#1347)
- Drop symfony/polyfill-uuid in favour of a standalone implementation (#1346)
3.7.0
- Fix
Scope::getTransaction()
so that it returns also unsampled transactions (#1334)
- Set the event extras by taking the data from the Monolog record's extra (#1330)
3.6.1
- Set the
sentry-trace
header when using the tracing middleware (#1331)
3.6.0
- Add support for
monolog/monolog:^3.0
(#1321)
- Add
setTag
and removeTag
public methods to Event
for easier manipulation of tags (#1324)
3.5.0
- Bump minimum version of
guzzlehttp/psr7
package to avoid CVE-2022-24775
(#1305)
- Fix stripping of memory addresses from stacktrace frames of anonymous classes in PHP
>=7.4.2
(#1314)
- Set the default
send_attempts
to 0
(this disables retries) and deprecate the option. If you require retries you can increase the send_attempts
option to the desired value. (#1312)
- Add
http_connect_timeout
and http_timeout
client options (#1282)
3.4.0
- Update Guzzle tracing middleware to meet the expected standard (#1234)
- Add
toArray
public method in PayloadSerializer
to be able to re-use Event serialization
- The
withScope
methods now return the callback's return value (#1263)
- Set the event extras by taking the data from the Monolog record's context (#1244)
- Make the
StacktraceBuilder
class part of the public API and add the Client::getStacktraceBuilder()
method to build custom stacktraces (#1124)
- Support handling the server rate-limits when sending events to Sentry (#1291)
- Treat the project ID component of the DSN as a
string
rather than an integer
(#1294)
3.3.7
- Fix the serialization of a
callable
when the autoloader throws exceptions (#1280)
3.3.6
- Optimize
Span
constructor and add benchmarks (#1274)
- Handle autoloader that throws an exception while trying to serialize a possible callable (#1276)
3.3.5
- Bump the minimum required version of the
jean85/pretty-package-versions
package (#1267)
3.3.4
- Avoid overwriting the error level set by the user on the event when capturing an
ErrorException
exception (#1251)
- Allow installing the project alongside Symfony
6.x
components (#1257)
- Run the test suite against PHP
8.1
(#1245)