Releases: getsentry/sentry-php
Releases · getsentry/sentry-php
2.1.0
- Mark Sentry internal frames when using
attach_stacktrace
asin_app
false
(#786) - Increase default severity of
E_RECOVERABLE_ERROR
toSeverity::ERROR
, instead of warning (#792) - Make it possible to register fatal error listeners separately from the error listeners
and change the type of the reported exception to\Sentry\Exception\FatalErrorException
(#788) - Add a static factory method to create a breadcrumb from an array of data (#798)
- Add support for
SENTRY_ENVRIONMENT
andSENTRY_RELEASE
environment variables (#810) - Add the
class_serializers
option to make it possible to customize how objects are serialized in the event payload (#809) - Fix the default value of the
$exceptions
property of the Event class (#806) - Add a Monolog handler (#808)
- Allow capturing the body of an HTTP request (#807)
- Capture exceptions during serialization, to avoid hard failures (#818)
2.0.1
2.0.0
Version 2.0.0 is a complete rewrite of the existing SDK.
Code Changes are needed. Please see UPGRADE 2.0 for more details.
2.0.0-beta2
- Rename
SentryAuth
class toSentryAuthentication
(#742) Client
class is now final- Fix issue with
ClientBuilder
: factories are not instantiated if transport is set manually (#747) - Rename
excluded_paths
toin_app_exclude
option to follow Unified API spec (#755) - Add
max_value_length
option to trim long values during serialization (#754) - Lower the default
send_attempts
to 3 (#760) - Fix method argument name handling when Xdebug is enabled (#763)
- Add CI build under Windows with AppVeyor (#758) and fix some bugs
- Change the
ErrorHandler
and default integrations behavior: the handler is now a singleton,
and it's possible to attach a number of callables as listeners for errors and exceptions (#762) - The
context_lines
options changed the default to5
and is properly applied (#743) - Add support for "formatted messages" in
captureEvent
as payload (#752) - Fix issue when capturing exceptions to remove warning when converting array args (#761)
2.0.0-beta1
- Require PHP >= 7.1
- Refactorize the whole codebase to support the Unified API SDK specs
- See the UPGRADE.md document for more information.
1.10.0
1.9.2
- Remove secret_key from required keys for CLI test command. (#645)
- Proper case in Raven_Util class name usage. (#642)
- Support longer creditcard numbers. (#635)
- Use configured message limit when creating serializers. (#634)
- Do not truncate strings if message limit is set to zero. (#630)
- Add option to ignore SERVER_PORT getting added to url. (#629)
- Cleanup the PHP version reported. (#604)
1.9.1
1.9.0
- Fixed undefined variable (#588)
- Fix for exceptions throwing exceptions when setting event id (#587)
- Fix monolog handler not accepting Throwable (#586)
- Add
excluded_exceptions
option to exclude exceptions and their extending exceptions (#583) - Fix
HTTP_X_FORWARDED_PROTO
header detection (#578) - Fix sending events async in PHP 5 (#576)
- Avoid double reporting due to
ErrorException
s (#574) - Make it possible to overwrite serializer message limit of 1024 (#559)
- Allow request data to be nested up to 5 levels deep (#554)
- Update serializer to handle UTF-8 characters correctly (#553)