Skip to content

Commit 00a6dbb

Browse files
authored
Merge pull request #62 from getsentry/restore_master_after_0.8_release
Restore master after 0.8 release
2 parents ea4cf23 + 7cd7436 commit 00a6dbb

File tree

5 files changed

+26
-12
lines changed

5 files changed

+26
-12
lines changed

CHANGES

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
1+
0.9.0 (unreleased)
2+
-----
3+
4+
0.8.1
5+
-----
6+
- Force load of client in console commands to avoid missing notices due to lazy-loading (#67)
7+
18
0.8.0
29
-----
310
- Add `SentryExceptionListenerInterface` and the `exception_listener` option in the configuration (#47) to allow customization of the exception listener
411
- Add `SentrySymfonyEvents::PRE_CAPTURE` and `SentrySymfonyEvents::SET_USER_CONTEXT` events (#47) to customize event capturing information
512
- Make SkipCapture work on console exceptions too
13+
- Make listeners' priority customizable through the new `listener_priorities` configuration key
614

715
0.7.1
816
-----
9-
1017
- Quote sentry.options in services.yml.
1118

1219
0.7.0
1320
-----
14-
1521
- Expose all configuration options (#36).
1622

1723
0.6.0
1824
-----
19-
2025
- Improve app path detection to exclude root folder and exclude vendor.
2126

2227
0.5.0
2328
-----
24-
2529
- Raise sentry/sentry minimum requirement to 1.2.0.
2630
- Fixed an issue with a missing import (#24).
2731
- ``prefixes`` and ``app_path`` will now be bound by default.
2832

2933
0.4.0
3034
-----
31-
3235
- Added ``skip_capture`` configuration for excluding exceptions.
3336
- Security services are now optional.
3437
- Console exceptions are now captured.
@@ -37,5 +40,4 @@
3740

3841
0.3.0
3942
-----
40-
4143
- Added support for capturing the current user.

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Symfony integration for [Sentry](https://getsentry.com/).
77

88
[![Build status][Master build image]][Master build link]
99
[![Scrutinizer][Master scrutinizer image]][Master scrutinizer link]
10-
[![Coverage Status][Master coverage image]][Master coverage link]
10+
[![Coverage Status][Master coverage image]][Master scrutinizer link]
1111

1212

1313
## Installation
@@ -130,6 +130,19 @@ sentry:
130130
error_types: E_ALL & ~E_DEPRECATED & ~E_NOTICE
131131
```
132132
133+
### Listeners' priority
134+
135+
You can change the priority of the 3 default listeners of this bundle with the `listener_priorities` key of your config.
136+
The default value is `0`, and here are the 3 possible sub-keys:
137+
138+
```yaml
139+
listener_priorities:
140+
request: 0
141+
kernel_exception: 0
142+
console_exception: 0
143+
```
144+
145+
... respectively for the `onKernelRequest`, `onKernelException` and `onConsoleException` events.
133146

134147
## Customization
135148

@@ -266,9 +279,9 @@ app.my_sentry_event_subscriber:
266279
[Last unstable image]: https://poser.pugx.org/sentry/sentry-symfony/v/unstable.svg
267280
[Master build image]: https://travis-ci.org/getsentry/sentry-symfony.svg?branch=master
268281
[Master scrutinizer image]: https://scrutinizer-ci.com/g/getsentry/sentry-symfony/badges/quality-score.png?b=master
269-
[Master coverage image]: https://coveralls.io/repos/getsentry/sentry-symfony/badge.svg?branch=master&service=github
282+
[Master coverage image]: https://scrutinizer-ci.com/g/getsentry/sentry-symfony/badges/coverage.png?b=master
270283

271284
[Packagist link]: https://packagist.org/packages/sentry/sentry-symfony
272285
[Master build link]: https://travis-ci.org/getsentry/sentry-symfony
273286
[Master scrutinizer link]: https://scrutinizer-ci.com/g/getsentry/sentry-symfony/?branch=master
274-
[Master coverage link]: https://coveralls.io/github/getsentry/sentry-symfony?branch=master
287+

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"extra": {
3434
"branch-alias": {
35-
"dev-master": "0.7.x-dev"
35+
"dev-master": "0.9.x-dev"
3636
}
3737
}
3838
}

src/Sentry/SentryBundle/EventListener/ExceptionListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Sentry\SentryBundle\EventListener;
44

5-
use Sentry\SentryBundle;
65
use Sentry\SentryBundle\Event\SentryUserContextEvent;
76
use Sentry\SentryBundle\SentrySymfonyClient;
87
use Sentry\SentryBundle\SentrySymfonyEvents;

src/Sentry/SentryBundle/SentryBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66

77
class SentryBundle extends Bundle
88
{
9-
const VERSION = '0.8.x-dev';
9+
const VERSION = '0.9.x-dev';
1010
}

0 commit comments

Comments
 (0)