-
Notifications
You must be signed in to change notification settings - Fork 179
Update the dependencies and require the SDK 3.x #385
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
Merged
ste93cry
merged 9 commits into
getsentry:master
from
ste93cry:feature/update-to-sentry-sdk-3.0
Nov 17, 2020
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
ab40907
Update the dependencies and require the SDK 3.x
ste93cry 9eacadc
Fix CR issues
ste93cry faea5ea
Add UPGRADE file
ste93cry e9e5a42
Fix wrong rebase
ste93cry 08e25cc
Disable fail-fast strategy for CI
ste93cry 5f8b99b
Add support for missing options introduced in the version 3.0 of the SDK
ste93cry 357878b
Skip test failing due to bug in PHP 7.2
ste93cry d83b3fe
Fix CR issues
ste93cry f0df4f5
Fix wrong example in UPGRADE file
ste93cry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,103 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## Unreleased | ||
- CLI commands registration policy changed to lazy load | ||
|
||
- Enable back all error listeners from base SDK integration (#322) | ||
- Added `options.traces_sampler` and `options.traces_sample_rate` configuration options (#385) | ||
- [BC BREAK] Removed the `options.project_root` configuration option. Instead of setting it, use a combination of `options.in_app_include` and `options.in_app_exclude` (#385) | ||
- [BC BREAK] Removed the `options.excluded_exceptions` configuration option. Instead of setting it, configure the `IgnoreErrorsIntegration` integration (#385) | ||
- CLI commands registration policy changed to lazy load | ||
|
||
## 3.5.3 (2020-10-13) | ||
- Refactors and fixes class aliases for more robustness (#315 #359, thanks to @guilliamxavier) | ||
|
||
- Refactors and fixes class aliases for more robustness (#315 #359, thanks to @guilliamxavier) | ||
|
||
## 3.5.2 (2020-07-08) | ||
- Use `jean85/pretty-package-versions` `^1.5` to leverage the new `getRootPackageVersion` method (c8799ac) | ||
- Fix support for PHP preloading (#354, thanks to @annuh) | ||
- Fix `capture_soft_fails: false` option for the Messenger (#353) | ||
|
||
## 4.0.0 (TBA) | ||
- Enable back all error listeners from base SDK integration (#322) | ||
- Use `jean85/pretty-package-versions` `^1.5` to leverage the new `getRootPackageVersion` method (c8799ac) | ||
- Fix support for PHP preloading (#354, thanks to @annuh) | ||
- Fix `capture_soft_fails: false` option for the Messenger (#353) | ||
|
||
## 3.5.1 (2020-05-07) | ||
- Capture events using the `Hub` in the `MessengerListener` to avoid loosing `Scope` data (#339, thanks to @sh41) | ||
- Capture multiple events if multiple exceptions are generated in a Messenger Worker context (#340, thanks to @emarref) | ||
|
||
- Capture events using the `Hub` in the `MessengerListener` to avoid loosing `Scope` data (#339, thanks to @sh41) | ||
- Capture multiple events if multiple exceptions are generated in a Messenger Worker context (#340, thanks to @emarref) | ||
|
||
## 3.5.0 (2020-05-04) | ||
- Capture and flush messages in a Messenger Worker context (#326, thanks to @emarref) | ||
- Support Composer 2 (#335) | ||
- Avoid issues with dependency lower bound, fix #331 (#335) | ||
|
||
- Capture and flush messages in a Messenger Worker context (#326, thanks to @emarref) | ||
- Support Composer 2 (#335) | ||
- Avoid issues with dependency lower bound, fix #331 (#335) | ||
|
||
## 3.4.4 (2020-03-16) | ||
- Improve `release` option default value (#325) | ||
|
||
- Improve `release` option default value (#325) | ||
|
||
## 3.4.3 (2020-02-03) | ||
- Change default of `in_app_include` to empty, due to getsentry/sentry-php#958 (#311) | ||
- Improve class_alias robustness (#315) | ||
|
||
- Change default of `in_app_include` to empty, due to getsentry/sentry-php#958 (#311) | ||
- Improve class_alias robustness (#315) | ||
|
||
## 3.4.2 (2020-01-29) | ||
- Remove space from classname used with `class_alias` (#313) | ||
|
||
- Remove space from classname used with `class_alias` (#313) | ||
|
||
## 3.4.1 (2020-01-24) | ||
- Fix issue due to usage of `class_alias` to fix deprecations, which could break BC layers of third party packages (#309, thanks to @scheb) | ||
|
||
- Fix issue due to usage of `class_alias` to fix deprecations, which could break BC layers of third party packages (#309, thanks to @scheb) | ||
|
||
## 3.4.0 (2020-01-20) | ||
- Add support for `sentry/sentry` 2.3 (#298) | ||
- Drop support for `sentry/sentry` < 2.3 (#298) | ||
- Add support to `in_app_include` client option (#298) | ||
- Remap `excluded_exceptions` option to use the new `IgnoreErrorsIntegration` (#298) | ||
|
||
- Add support for `sentry/sentry` 2.3 (#298) | ||
- Drop support for `sentry/sentry` < 2.3 (#298) | ||
- Add support to `in_app_include` client option (#298) | ||
- Remap `excluded_exceptions` option to use the new `IgnoreErrorsIntegration` (#298) | ||
|
||
## 3.3.2 (2020-01-16) | ||
- Fix issue with exception listener under Symfony 4.3 (#301) | ||
|
||
- Fix issue with exception listener under Symfony 4.3 (#301) | ||
|
||
## 3.3.1 (2020-01-14) | ||
- Fixed Release | ||
|
||
- Fixed Release | ||
|
||
## 3.3.0 (2020-01-14) | ||
- Add support for Symfony 5.0 (#266, thanks to @Big-Shark) | ||
- Drop support for Symfony < 3.4 (#277) | ||
- Add default value for the `release` option, using the detected root package version (#291 #292, thanks to @Ocramius) | ||
|
||
- Add support for Symfony 5.0 (#266, thanks to @Big-Shark) | ||
- Drop support for Symfony < 3.4 (#277) | ||
- Add default value for the `release` option, using the detected root package version (#291 #292, thanks to @Ocramius) | ||
|
||
## 3.2.1 (2019-12-19) | ||
- Fix handling of command with no name on `ConsoleListener` (#261) | ||
- Remove check by AuthorizationChecker in `RequestListener` (#264) | ||
- Fixed undefined variable in `RequestListener` (#263) | ||
|
||
- Fix handling of command with no name on `ConsoleListener` (#261) | ||
- Remove check by AuthorizationChecker in `RequestListener` (#264) | ||
- Fixed undefined variable in `RequestListener` (#263) | ||
|
||
## 3.2.0 (2019-10-04) | ||
- Add forward compatibility with Symfony 5 (#235, thanks to @garak) | ||
- Fix Hub initialization for `ErrorListener` (#243, thanks to @teohhanhui) | ||
- Fix compatibility with sentry/sentry 2.2+ (#244) | ||
- Add support for `class_serializers` option (#245) | ||
- Add support for `max_request_body_size` option (#249) | ||
- Add option to disable the error listener completely (#247, thanks to @HypeMC) | ||
- Add options to register the Monolog Handler (#247, thanks to @HypeMC) | ||
|
||
- Add forward compatibility with Symfony 5 (#235, thanks to @garak) | ||
- Fix Hub initialization for `ErrorListener` (#243, thanks to @teohhanhui) | ||
- Fix compatibility with sentry/sentry 2.2+ (#244) | ||
- Add support for `class_serializers` option (#245) | ||
- Add support for `max_request_body_size` option (#249) | ||
- Add option to disable the error listener completely (#247, thanks to @HypeMC) | ||
- Add options to register the Monolog Handler (#247, thanks to @HypeMC) | ||
|
||
## 3.1.0 (2019-07-02) | ||
- Add support for Symfony 2.8 (#233, thanks to @nocive) | ||
- Fix handling of ESI requests (#213, thanks to @franmomu) | ||
|
||
- Add support for Symfony 2.8 (#233, thanks to @nocive) | ||
- Fix handling of ESI requests (#213, thanks to @franmomu) | ||
|
||
## 3.0.0 (2019-05-10) | ||
- Add the `sentry:test` command, to test if the Sentry SDK is functioning properly. | ||
|
||
- Add the `sentry:test` command, to test if the Sentry SDK is functioning properly. | ||
|
||
## 3.0.0-beta2 (2019-03-22) | ||
- Disable Sentry's ErrorHandler, and report all errors using Symfony's events (#204) | ||
|
||
- Disable Sentry's ErrorHandler, and report all errors using Symfony's events (#204) | ||
|
||
## 3.0.0-beta1 (2019-03-06) | ||
|
||
The 3.0 major release has multiple breaking changes. The most notable one is the upgrade to the 2.0 base SDK client. | ||
Refer to the [UPGRADE-3.0.md](https://github.com/getsentry/sentry-symfony/blob/master/UPGRADE-3.0.md) document for a | ||
detailed explanation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Upgrade 3.x to 4.0 | ||
|
||
- Removed the `sentry.options.excluded_exceptions` configuration option. | ||
|
||
Before: | ||
|
||
```yaml | ||
sentry: | ||
options: | ||
excluded_exceptions: | ||
- RuntimeException | ||
``` | ||
|
||
After: | ||
|
||
```yaml | ||
sentry: | ||
integrations: | ||
- '@Sentry\Integration\IgnoreErrorsIntegration' | ||
|
||
services: | ||
Sentry\Integration\IgnoreErrorsIntegration: | ||
arguments: | ||
$options: | ||
ignore_exceptions: | ||
- RuntimeException | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.