-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide proper release notes / upgrade guide #260
Comments
I extracted all the default options in v1.1 in case this is helpful to anyone: 'attach_stacktrace' => false,
'before_breadcrumb' => function (Sentry\Breadcrumb $breadcrumb): ?Sentry\Breadcrumb {
return $breadcrumb;
},
'before_send' => function (Sentry\Event $event): ?Sentry\Event {
return $event;
},
'breadcrumbs' => [
'sql_bindings' => false,
],
'capture_silenced_errors' => false,
'class_serializers' => [],
'context_lines' => 5,
'default_integrations' => true,
'dsn' => $_SERVER['SENTRY_DSN'] ?? null,
'enable_compression' => true,
'environment' => app()->environment(),
'error_types' => E_ALL,
'excluded_exceptions' => [],
'http_proxy' => null,
'in_app_exclude' => [base_path('vendor')],
'integrations' => [new Sentry\Laravel\Integration],
'logger' => 'php',
'max_breadcrumbs' => 100,
'max_request_body_size' => 'medium',
'max_value_length' => 1024,
'prefixes' => [base_path()],
'project_root' => base_path(),
'release' => $_SERVER['SENTRY_RELEASE'] ?? null,
'sample_rate' => 1,
'send_attempts' => 3,
'send_default_pii' => false,
'server_name' => gethostname(),
'tags' => [], |
|
Here you can find the default (and below it all the options and their allowed values) for the 3.3 version of the PHP SDK which the 2.x release of the Laravel SDK uses: We agree the upgrade docs are... lacking. But we have tried to document all the current options as best as we can here: https://docs.sentry.io/platforms/php/guides/laravel/configuration/. If you are unable to find what you are looking for and/or having trouble migrating over, please open up an issue with the current config and version you are using so we can help you out with the correct config options for the newer SDK's if needed. |
Trying to upgrade to 1.1 from the old 0.11 is a nightmare because you don't provide any documentation. I finally found #185 which contains a link to this upgrade guide for the parent sentry-php library which, while helpful, is still woefully inadequate.
Specifically, the following options I was using just say "Removed" in the upgrade document with no information about their replacements:
Apparently
user_context
is now calledsend_default_pii
, but I still have no idea about the others. Has the default behaviour changed? Who knows! There should be a single place to see all of this information when it is such a major upgrade like this. It's very frustrating to say the least. Especially becauseuser_context
was previously in the default config!Yes, I can hunt through the code and revision history of each project to figure all this out for myself, but come on, help us out here...
The text was updated successfully, but these errors were encountered: