diff --git a/RECIPES.md b/RECIPES.md index c809aa62..f6b358e0 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -488,7 +488,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [secit-pl/imap-bundle](https://packagist.org/packages/secit-pl/imap-bundle) | [1.0](secit-pl/imap-bundle/1.0) | | [seferov/aws-bundle](https://packagist.org/packages/seferov/aws-bundle) | [3.0](seferov/aws-bundle/3.0) | | [sensiolabs/connect-bundle](https://packagist.org/packages/sensiolabs/connect-bundle) | [4.0](sensiolabs/connect-bundle/4.0) | -| [sentry/sentry-symfony](https://packagist.org/packages/sentry/sentry-symfony) | [4.6](sentry/sentry-symfony/4.6) | +| [sentry/sentry-symfony](https://packagist.org/packages/sentry/sentry-symfony) | [5.0](sentry/sentry-symfony/5.0) | | [setono/google-analytics-bundle](https://packagist.org/packages/setono/google-analytics-bundle) | [1.0](setono/google-analytics-bundle/1.0) | | [sg/datatablesbundle](https://packagist.org/packages/sg/datatablesbundle) | [1.0](sg/datatablesbundle/1.0) | | [shopware/app-bundle](https://packagist.org/packages/shopware/app-bundle) | [1.0](shopware/app-bundle/1.0) | diff --git a/archived/sentry.sentry-symfony/76afa07d23e76f678942f00af5a6a417ba0816d0.json b/archived/sentry.sentry-symfony/76afa07d23e76f678942f00af5a6a417ba0816d0.json new file mode 100644 index 00000000..93f6fca5 --- /dev/null +++ b/archived/sentry.sentry-symfony/76afa07d23e76f678942f00af5a6a417ba0816d0.json @@ -0,0 +1,57 @@ +{ + "manifests": { + "sentry/sentry-symfony": { + "manifest": { + "bundles": { + "Sentry\\SentryBundle\\SentryBundle": [ + "prod" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "SENTRY_DSN": "" + }, + "conflict": { + "symfony/framework-bundle": "<5.4", + "symfony/monolog-bundle": "<3.7" + } + }, + "files": { + "config/packages/sentry.yaml": { + "contents": [ + "when@prod:", + " sentry:", + " dsn: '%env(SENTRY_DSN)%'", + " options:", + " ignore_exceptions:", + " - 'Symfony\\Component\\ErrorHandler\\Error\\FatalError'", + " - 'Symfony\\Component\\Debug\\Exception\\FatalErrorException'", + "", + "# If you are using Monolog, you also need this additional configuration to log the errors correctly:", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# register_error_listener: false", + "# register_error_handler: false", + "", + "# monolog:", + "# handlers:", + "# sentry:", + "# type: sentry", + "# level: !php/const Monolog\\Logger::ERROR", + "# hub_id: Sentry\\State\\HubInterface", + "", + "# Uncomment these lines to register a log message processor that resolves PSR-3 placeholders", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# services:", + "# Monolog\\Processor\\PsrLogMessageProcessor:", + "# tags: { name: monolog.processor, handler: sentry }", + "" + ], + "executable": false + } + }, + "ref": "76afa07d23e76f678942f00af5a6a417ba0816d0" + } + } +} diff --git a/index.json b/index.json index 73849159..ed2300a9 100644 --- a/index.json +++ b/index.json @@ -1550,7 +1550,8 @@ "1.0", "3.0", "4.0", - "4.6" + "4.6", + "5.0" ], "setono/google-analytics-bundle": [ "1.0" @@ -1992,6 +1993,10 @@ "4.6": { "symfony/framework-bundle": "<5.4", "symfony/monolog-bundle": "<3.7" + }, + "5.0": { + "symfony/framework-bundle": "<5.4", + "symfony/monolog-bundle": "<3.7" } } }, diff --git a/sentry.sentry-symfony.5.0.json b/sentry.sentry-symfony.5.0.json new file mode 100644 index 00000000..93f6fca5 --- /dev/null +++ b/sentry.sentry-symfony.5.0.json @@ -0,0 +1,57 @@ +{ + "manifests": { + "sentry/sentry-symfony": { + "manifest": { + "bundles": { + "Sentry\\SentryBundle\\SentryBundle": [ + "prod" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "SENTRY_DSN": "" + }, + "conflict": { + "symfony/framework-bundle": "<5.4", + "symfony/monolog-bundle": "<3.7" + } + }, + "files": { + "config/packages/sentry.yaml": { + "contents": [ + "when@prod:", + " sentry:", + " dsn: '%env(SENTRY_DSN)%'", + " options:", + " ignore_exceptions:", + " - 'Symfony\\Component\\ErrorHandler\\Error\\FatalError'", + " - 'Symfony\\Component\\Debug\\Exception\\FatalErrorException'", + "", + "# If you are using Monolog, you also need this additional configuration to log the errors correctly:", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# register_error_listener: false", + "# register_error_handler: false", + "", + "# monolog:", + "# handlers:", + "# sentry:", + "# type: sentry", + "# level: !php/const Monolog\\Logger::ERROR", + "# hub_id: Sentry\\State\\HubInterface", + "", + "# Uncomment these lines to register a log message processor that resolves PSR-3 placeholders", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# services:", + "# Monolog\\Processor\\PsrLogMessageProcessor:", + "# tags: { name: monolog.processor, handler: sentry }", + "" + ], + "executable": false + } + }, + "ref": "76afa07d23e76f678942f00af5a6a417ba0816d0" + } + } +}