diff --git a/composer.lock b/composer.lock index c98e48b34..d2ed6ccef 100644 --- a/composer.lock +++ b/composer.lock @@ -852,16 +852,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.287.1", + "version": "3.288.1", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "efe7b6e370cf12af6c2ee9503aa2aba61350ed03" + "reference": "a1dfa12c7165de0b731ae8074c4ba1f3ae733f89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/efe7b6e370cf12af6c2ee9503aa2aba61350ed03", - "reference": "efe7b6e370cf12af6c2ee9503aa2aba61350ed03", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/a1dfa12c7165de0b731ae8074c4ba1f3ae733f89", + "reference": "a1dfa12c7165de0b731ae8074c4ba1f3ae733f89", "shasum": "" }, "require": { @@ -941,9 +941,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.287.1" + "source": "https://github.com/aws/aws-sdk-php/tree/3.288.1" }, - "time": "2023-11-20T20:12:54+00:00" + "time": "2023-11-22T19:35:38+00:00" }, { "name": "balping/json-raw-encoder", @@ -6805,23 +6805,23 @@ }, { "name": "moneyphp/money", - "version": "v4.2.0", + "version": "v4.3.0", "source": { "type": "git", "url": "https://github.com/moneyphp/money.git", - "reference": "f660ab7f1d7a4c2ffdd30f50c55ed2c95c26fc3f" + "reference": "50ddfd15b2be01d4bed3bcb0c975a6af5f78a183" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/moneyphp/money/zipball/f660ab7f1d7a4c2ffdd30f50c55ed2c95c26fc3f", - "reference": "f660ab7f1d7a4c2ffdd30f50c55ed2c95c26fc3f", + "url": "https://api.github.com/repos/moneyphp/money/zipball/50ddfd15b2be01d4bed3bcb0c975a6af5f78a183", + "reference": "50ddfd15b2be01d4bed3bcb0c975a6af5f78a183", "shasum": "" }, "require": { "ext-bcmath": "*", "ext-filter": "*", "ext-json": "*", - "php": "~8.0.0 || ~8.1.0 || ~8.2.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "cache/taggable-cache": "^1.1.0", @@ -6836,11 +6836,10 @@ "php-http/message": "^1.11.0", "php-http/mock-client": "^1.4.1", "phpbench/phpbench": "^1.2.5", - "phpspec/phpspec": "^7.3", "phpunit/phpunit": "^9.5.4", "psalm/plugin-phpunit": "^0.18.4", "psr/cache": "^1.0.1", - "vimeo/psalm": "~5.3.0" + "vimeo/psalm": "~5.15.0" }, "suggest": { "ext-gmp": "Calculate without integer limits", @@ -6888,9 +6887,9 @@ ], "support": { "issues": "https://github.com/moneyphp/money/issues", - "source": "https://github.com/moneyphp/money/tree/v4.2.0" + "source": "https://github.com/moneyphp/money/tree/v4.3.0" }, - "time": "2023-08-16T14:31:24+00:00" + "time": "2023-11-22T09:46:30+00:00" }, { "name": "monolog/monolog", @@ -9734,16 +9733,16 @@ }, { "name": "sentry/sentry-laravel", - "version": "4.0.0", + "version": "4.1.0", "source": { "type": "git", "url": "https://github.com/getsentry/sentry-laravel.git", - "reference": "b6fbabbcb6623fc37a0bb373c4883dabfdda8026" + "reference": "638a9ebcec8b23ea75dfdc83e2877d16dc51658b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/b6fbabbcb6623fc37a0bb373c4883dabfdda8026", - "reference": "b6fbabbcb6623fc37a0bb373c4883dabfdda8026", + "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/638a9ebcec8b23ea75dfdc83e2877d16dc51658b", + "reference": "638a9ebcec8b23ea75dfdc83e2877d16dc51658b", "shasum": "" }, "require": { @@ -9807,7 +9806,7 @@ ], "support": { "issues": "https://github.com/getsentry/sentry-laravel/issues", - "source": "https://github.com/getsentry/sentry-laravel/tree/4.0.0" + "source": "https://github.com/getsentry/sentry-laravel/tree/4.1.0" }, "funding": [ { @@ -9819,7 +9818,7 @@ "type": "custom" } ], - "time": "2023-11-16T12:33:52+00:00" + "time": "2023-11-23T14:07:16+00:00" }, { "name": "simple-icons/simple-icons", @@ -13892,16 +13891,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.8", + "version": "10.1.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "84838eed9ded511f61dc3e8b5944a52d9017b297" + "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/84838eed9ded511f61dc3e8b5944a52d9017b297", - "reference": "84838eed9ded511f61dc3e8b5944a52d9017b297", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a56a9ab2f680246adcf3db43f38ddf1765774735", + "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735", "shasum": "" }, "require": { @@ -13958,7 +13957,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.8" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.9" }, "funding": [ { @@ -13966,7 +13965,7 @@ "type": "github" } ], - "time": "2023-11-15T13:31:15+00:00" + "time": "2023-11-23T12:23:20+00:00" }, { "name": "phpunit/php-file-iterator", diff --git a/config/sentry.php b/config/sentry.php index 87cd2e3af..a6ebd9315 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -29,6 +29,12 @@ return [ // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#send-default-pii 'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', true), + // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#ignore-exceptions + 'ignore_exceptions' => explode(',', env('SENTRY_IGNORE_EXCEPTIONS', '')), + + // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#ignore-transactions + 'ignore_transactions' => explode(',', env('SENTRY_IGNORE_TRANSACTIONS', '')), + 'before_send' => [env('SENTRY_BEFORE_SEND_CLASS', 'App\\Exceptions\\Trackers\\Sentry'), 'beforeSend'], 'traces_sampler' => [env('SENTRY_TRACES_SAMPLER_CLASS', 'App\\Exceptions\\Trackers\\Sentry'), 'tracesSampler'], @@ -69,6 +75,9 @@ return [ // Capture SQL queries as spans 'sql_queries' => env('SENTRY_TRACE_SQL_QUERIES_ENABLED', true), + // Capture SQL query bindings (parameters) in SQL query spans + 'sql_bindings' => env('SENTRY_TRACE_SQL_BINDINGS_ENABLED', true), + // Capture where the SQL query originated from on the SQL query spans 'sql_origin' => env('SENTRY_TRACE_SQL_ORIGIN_ENABLED', true),