diff --git a/CHANGELOG.md b/CHANGELOG.md index 455c5162..5e1e3a86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,175 +5,8 @@ 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] -## 2.2.0 - 2019-01-05 -### Added - - Add the `route` tag automatically to any event generated by a request (#167, thanks @ruudk) -### Changed - - Make the `ExceptionListener` more extendable by making all members at least `protected` (#176, thanks @bouland) -## 2.1.0 - 2018-11-05 -### Added - - Add new `excluded_exceptions` option in config (#123, thanks @mcfedr) - - Add config for autowiring the client (#158, thanks @gander) -### Changed - - Migrate YAML config to XML; drop dependency on `symfony/yaml` (#155, thanks @Pierstoval) -### Fixed - - Remove deprecation raised by Symfony 4.2 (#161, thanks @chalasr) - -## 2.0.3 - 2018-06-01 -### Added - - Add `symfony_version` as a default tag (#116, thanks @hjanuschka) -### Fixed - - Retrieve use IP address from Symfony, to honor trusted proxies (#131, thanks @eliecharra) - -## 2.0.2 - 2018-03-06 -### Fixed - - Fix `processorOptions` in yaml configuration (#107) - -## 2.0.1 - 2018-01-31 -### Fixed - - Avoid reporting CLI errors twice (#104) - -## 2.0.0 - 2017-12-12 -### Added - - Add support for Symfony 4.x -### Changed - - The `SentryBundle::VERSION` constant has been replaced with the `SentryBundle::getVersion(): string` method, to get a more accurate result - - Due to a deprecation in `symfony/console`, we require it at at least version 3.3, and we added a method to `SentryExceptionListenerInterface`: -```php - public function onConsoleException(ConsoleErrorEvent $event); -``` -### Removed - - Drop support for Symfony 2.x - - Drop support for PHP 5 and 7.0 - -## 1.0.3 - 2018-06-01 -### Added - - Add `symfony_version` as a default tag (#117, backport of #116, thanks @hjanuschka) -### Fixed - - Retrieve use IP address from Symfony, to honor trusted proxies (#132, backport of #131, thanks @eliecharra) - -## 1.0.2 - 2018-03-06 -### Fixed - - Fix `processorOptions` in YAML configuration (#109, backport of #107) - -## 1.0.1 - 2017-12-04 -### Changed - - The `sentry.client` service is now explicitly declared as public - -## 1.0.0 - 2017-11-07 -### Added - - Add official support to PHP 7.2 (#71) -### Changed - - Changed source folder from `src/Sentry/SentryBundle` to just `src/` (thanks to PSR-4 and Composer this doesn't affect you) - - Re-sort the constructor's arguments of `ExceptionListener` - - The `SentrySymfonyClient` is no longer an optional argument of `ExceptionListener`; it's now required -### Fixed - - Remove usage of `create_function()` to avoid deprecations (#71) - - Fix a possible bug that could make Sentry crash if an error is triggered before loading a console command - - Fix a fatal error when the user token is not authenticated (#78) -### Removed - - Drop deprecated fields from configuration; the same options can be used (since 0.8.3) under `sentry.options` - - Dropped the third argument from the `SentrySymfonyClient` constructor; `error_types` are now fetched from the second argument, the options array - - Remove support for PHP versions lower than 5.6, since they are now EOL - - Remove support for HHVM - -## 0.8.8 - 2018-06-01 -### Added - - Add `symfony_version` as a default tag (backport of #116, thanks @hjanuschka) - - Add the new `excluded_exceptions` option from Sentry client 1.9 (see [getsentry/sentry-php#583](https://github.com/getsentry/sentry-php/pull/583); #124, backport of #123, thanks @mcfedr) -### Changed - - Require at least version 1.9 of the `sentry/sentry` base client, due to #124 -### Fixed - - Retrieve use IP address from Symfony, to honor trusted proxies (backport of #131, thanks @eliecharra) - -## 0.8.7 - 2017-10-23 -### Fixed - - Fix a fatal error when the user token is not authenticated (#78) - -## 0.8.6 - 2017-08-24 -### Changed - - Migrate service definitions to non-deprecated option configuration values -### Fixed - - Fix expected type of the `options.error_types` config value (scalar instead of array, discovered in #72) - - Fix handling of deprecated options value - -## 0.8.5 - 2017-08-22 -### Fixed - - `trim()` DSN value from config, to avoid issues with .env files on BitBucket (see https://github.com/getsentry/sentry-symfony/pull/21#issuecomment-323673938) - -## 0.8.4 - 2017-08-08 -### Fixed - - Fix exception being thrown when both deprecated and new options are used. - -## 0.8.3 - 2017-08-07 -### Changed - - Migrate all the options from the config root to `sentry.options` (#68); the affected options are still usable in the old form, but they will generate deprecation notices. They will be dropped in the 1.0 release. - -Before: -```yaml -sentry: - app_path: ~ - environment: ~ - error_types: ~ - excluded_app_paths: ~ - prefixes: ~ - release: ~ -``` -After: -```yaml -sentry: - options: - app_path: ~ - environment: ~ - error_types: ~ - excluded_app_paths: ~ - prefixes: ~ - release: ~ -``` - - Migrate from PSR-0 to PSR-4 - -## 0.8.2 - 2017-07-28 -### Fixed - - Fix previous release with cherry pick of the right commit from #67 - -## 0.8.1 - 2017-07-27 -### Fixed - - Force load of client in console commands to avoid missing notices due to lazy-loading (#67) - -## 0.8.0 - 2017-06-19 -### Added - - 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 listeners' priority customizable through the new `listener_priorities` configuration key -### Fixed - - Make SkipCapture work on console exceptions too - -## 0.7.1 - 2017-01-26 -### Fixed -- Quote sentry.options in services.yml. - -## 0.7.0 - 2017-01-20 -### Added -- Expose all configuration options (#36). - -## 0.6.0 - 2016-10-24 -### Fixed -- Improve app path detection to exclude root folder and exclude vendor. - -## 0.5.0 - 2016-09-08 -### Changed -- Raise sentry/sentry minimum requirement to ## 1.2.0. - 2017-xx-xx Fixed an issue with a missing import (#24)### . - 2017-xx-xx ``prefixes`` and ``app_path`` will now be bound by default. - -## 0.4.0 - 2016-07-21 -### Added -- Added ``skip_capture`` configuration for excluding exceptions. -### Changed -- Security services are now optional. -- Console exceptions are now captured. -- Default PHP SDK hooks will now be installed (via ``Raven_Client->install``). -- SDK will now be registered as 'sentry-symfony'. - -## 0.3.0 - 2016-05-19 -### Added -- Added support for capturing the current user. +## 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. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 24717232..00000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,58 +0,0 @@ -# Contribution notes - -## Release process - - * Make sure `CHANGELOG.md` is up to date (add the release date) and the build is green. - * If this is the first release for this minor version, create a new branch for it: -``` - $ git checkout -b releases/1.7.x -``` - * Update the hardcoded `SentryBundle::VERSION` constant: -``` -class SentryBundle extends Bundle -{ - const VERSION = '1.7.0'; -} -``` - * Commit the changes: -``` -$ git commit -am "Release 1.7.0" -``` - * Tag the new commit: -``` -git tag 1.7.0 -``` - * Push the tag: -``` -git push --tags -``` - * Switch back to `master`: -``` -git checkout master -``` - * Add the next minor release to the `CHANGES` file: -``` -## 1.8.0 (unreleased) -``` - * Update the hardcoded `SentryBundle::VERSION` constant: -``` -class Raven_Client -{ - const VERSION = '1.8.x-dev'; -} -``` - * Lastly, update the composer version in ``composer.json``: - -``` - "extra": { - "branch-alias": { - "dev-master": "1.8.x-dev" - } - } -``` - * Commit the changes: -``` -$ git commit -am "Cleanup after release 1.7" -``` - -All done! Composer will pick up the tag and configuration automatically.