diff --git a/RECIPES.md b/RECIPES.md index d8b3ffbf..58af6c6c 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -434,7 +434,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) | [3.0](sentry/sentry-symfony/3.0) | +| [sentry/sentry-symfony](https://packagist.org/packages/sentry/sentry-symfony) | [4.0](sentry/sentry-symfony/4.0) | | [sg/datatablesbundle](https://packagist.org/packages/sg/datatablesbundle) | [1.0](sg/datatablesbundle/1.0) | | [siganushka/generic-bundle](https://packagist.org/packages/siganushka/generic-bundle) | [0.3](siganushka/generic-bundle/0.3) | | [siganushka/region-bundle](https://packagist.org/packages/siganushka/region-bundle) | [0.1](siganushka/region-bundle/0.1) | diff --git a/archived/sentry.sentry-symfony/3d8dc8c0f689e2e94f860d2e36f81fcc26348069.json b/archived/sentry.sentry-symfony/3d8dc8c0f689e2e94f860d2e36f81fcc26348069.json new file mode 100644 index 00000000..5c811ffa --- /dev/null +++ b/archived/sentry.sentry-symfony/3d8dc8c0f689e2e94f860d2e36f81fcc26348069.json @@ -0,0 +1,51 @@ +{ + "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" + } + }, + "files": { + "config/packages/sentry.yaml": { + "contents": [ + "when@prod:", + " sentry:", + " dsn: '%env(SENTRY_DSN)%'", + "", + "# If you are using Monolog, you also need these additional configuration and services to log the errors correctly:", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# register_error_listener: false", + "", + "# monolog:", + "# handlers:", + "# sentry:", + "# type: service", + "# id: Sentry\\Monolog\\Handler", + "", + "# services:", + "# Sentry\\Monolog\\Handler:", + "# arguments:", + "# $hub: '@Sentry\\State\\HubInterface'", + "# $level: !php/const Monolog\\Logger::ERROR", + "# $bubble: false", + "" + ], + "executable": false + } + }, + "ref": "3d8dc8c0f689e2e94f860d2e36f81fcc26348069" + } + } +} diff --git a/archived/sentry.sentry-symfony/fc6a6baeee961a34a70eca0f91e868d03ce7bd9b.json b/archived/sentry.sentry-symfony/fc6a6baeee961a34a70eca0f91e868d03ce7bd9b.json new file mode 100644 index 00000000..ab8a2388 --- /dev/null +++ b/archived/sentry.sentry-symfony/fc6a6baeee961a34a70eca0f91e868d03ce7bd9b.json @@ -0,0 +1,50 @@ +{ + "manifests": { + "sentry/sentry-symfony": { + "manifest": { + "bundles": { + "Sentry\\SentryBundle\\SentryBundle": [ + "prod" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "SENTRY_DSN": "" + } + }, + "files": { + "config/packages/prod/sentry.yaml": { + "contents": [ + "sentry:", + " dsn: '%env(SENTRY_DSN)%'", + " options:", + " excluded_exceptions:", + " - Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException", + " - Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException", + "", + "# If you are using Monolog, you also need these additional configuration and services to log the errors correctly:", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# register_error_listener: false", + "", + "# monolog:", + "# handlers:", + "# sentry:", + "# type: service", + "# id: Sentry\\Monolog\\Handler", + "", + "# services:", + "# Sentry\\Monolog\\Handler:", + "# arguments:", + "# $hub: '@Sentry\\State\\HubInterface'", + "# $level: !php/const Monolog\\Logger::ERROR", + "" + ], + "executable": false + } + }, + "ref": "fc6a6baeee961a34a70eca0f91e868d03ce7bd9b" + } + } +} diff --git a/index.json b/index.json index f8dce436..b358791b 100644 --- a/index.json +++ b/index.json @@ -1357,7 +1357,8 @@ ], "sentry/sentry-symfony": [ "1.0", - "3.0" + "3.0", + "4.0" ], "sg/datatablesbundle": [ "1.0" @@ -1723,6 +1724,11 @@ "7.0": { "symfony/symfony": "<5.0" } + }, + "sentry/sentry-symfony": { + "4.0": { + "symfony/framework-bundle": "<5.4" + } } }, "versions": [], diff --git a/sentry.sentry-symfony.3.0.json b/sentry.sentry-symfony.3.0.json index 111c8e9d..ab8a2388 100644 --- a/sentry.sentry-symfony.3.0.json +++ b/sentry.sentry-symfony.3.0.json @@ -24,27 +24,27 @@ " - Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException", " - Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException", "", - " # If you are using Monolog, you also need these additional configuration and services to log the errors correctly:", - " # https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", - " # register_error_listener: false", + "# If you are using Monolog, you also need these additional configuration and services to log the errors correctly:", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# register_error_listener: false", "", - " # monolog:", - " # handlers:", - " # sentry:", - " # type: service", - " # id: Sentry\\Monolog\\Handler", + "# monolog:", + "# handlers:", + "# sentry:", + "# type: service", + "# id: Sentry\\Monolog\\Handler", "", - " # services:", - " # Sentry\\Monolog\\Handler:", - " # arguments:", - " # $hub: '@Sentry\\State\\HubInterface'", - " # $level: !php/const Monolog\\Logger::ERROR", + "# services:", + "# Sentry\\Monolog\\Handler:", + "# arguments:", + "# $hub: '@Sentry\\State\\HubInterface'", + "# $level: !php/const Monolog\\Logger::ERROR", "" ], "executable": false } }, - "ref": "cdf32ecd5481af45f42502e3dee0db160226e8d4" + "ref": "fc6a6baeee961a34a70eca0f91e868d03ce7bd9b" } } } diff --git a/sentry.sentry-symfony.4.0.json b/sentry.sentry-symfony.4.0.json new file mode 100644 index 00000000..5c811ffa --- /dev/null +++ b/sentry.sentry-symfony.4.0.json @@ -0,0 +1,51 @@ +{ + "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" + } + }, + "files": { + "config/packages/sentry.yaml": { + "contents": [ + "when@prod:", + " sentry:", + " dsn: '%env(SENTRY_DSN)%'", + "", + "# If you are using Monolog, you also need these additional configuration and services to log the errors correctly:", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# register_error_listener: false", + "", + "# monolog:", + "# handlers:", + "# sentry:", + "# type: service", + "# id: Sentry\\Monolog\\Handler", + "", + "# services:", + "# Sentry\\Monolog\\Handler:", + "# arguments:", + "# $hub: '@Sentry\\State\\HubInterface'", + "# $level: !php/const Monolog\\Logger::ERROR", + "# $bubble: false", + "" + ], + "executable": false + } + }, + "ref": "3d8dc8c0f689e2e94f860d2e36f81fcc26348069" + } + } +}