Skip to content

Latest commit

 

History

History
165 lines (139 loc) · 5.81 KB

CHANGELOG.md

File metadata and controls

165 lines (139 loc) · 5.81 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

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:
    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; #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

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:

sentry:
  app_path: ~
  environment: ~
  error_types: ~
  excluded_app_paths: ~
  prefixes: ~
  release: ~

After:

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.