Skip to content

Restore master after 0.8 release #62

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
merged 7 commits into from
Jul 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
0.9.0 (unreleased)
-----

0.8.1
-----
- Force load of client in console commands to avoid missing notices due to lazy-loading (#67)

0.8.0
-----
- Add `SentryExceptionListenerInterface` and the `exception_listener` option in the configuration (#47) to allow customization of the exception listener
- Add `SentrySymfonyEvents::PRE_CAPTURE` and `SentrySymfonyEvents::SET_USER_CONTEXT` events (#47) to customize event capturing information
- Make SkipCapture work on console exceptions too
- Make listeners' priority customizable through the new `listener_priorities` configuration key

0.7.1
-----

- Quote sentry.options in services.yml.

0.7.0
-----

- Expose all configuration options (#36).

0.6.0
-----

- Improve app path detection to exclude root folder and exclude vendor.

0.5.0
-----

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

0.4.0
-----

- Added ``skip_capture`` configuration for excluding exceptions.
- Security services are now optional.
- Console exceptions are now captured.
Expand All @@ -37,5 +40,4 @@

0.3.0
-----

- Added support for capturing the current user.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Symfony integration for [Sentry](https://getsentry.com/).

[![Build status][Master build image]][Master build link]
[![Scrutinizer][Master scrutinizer image]][Master scrutinizer link]
[![Coverage Status][Master coverage image]][Master coverage link]
[![Coverage Status][Master coverage image]][Master scrutinizer link]


## Installation
Expand Down Expand Up @@ -130,6 +130,19 @@ sentry:
error_types: E_ALL & ~E_DEPRECATED & ~E_NOTICE
```

### Listeners' priority

You can change the priority of the 3 default listeners of this bundle with the `listener_priorities` key of your config.
The default value is `0`, and here are the 3 possible sub-keys:

```yaml
listener_priorities:
request: 0
kernel_exception: 0
console_exception: 0
```

... respectively for the `onKernelRequest`, `onKernelException` and `onConsoleException` events.

## Customization

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

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

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "0.7.x-dev"
"dev-master": "0.9.x-dev"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Sentry\SentryBundle\EventListener;

use Sentry\SentryBundle;
use Sentry\SentryBundle\Event\SentryUserContextEvent;
use Sentry\SentryBundle\SentrySymfonyClient;
use Sentry\SentryBundle\SentrySymfonyEvents;
Expand Down
2 changes: 1 addition & 1 deletion src/Sentry/SentryBundle/SentryBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

class SentryBundle extends Bundle
{
const VERSION = '0.8.x-dev';
const VERSION = '0.9.x-dev';
}