justbetter/magento2-sentry
Magento 2 Logger for Sentry
4.6.0
1.6M downloads/mo
#4878 most downloaded on Packagist
justbetter/magento2-sentry
What this package is like to depend on
Last release 3 months ago
13 May 2026
Release timing varies
gaps range from 2 weeks to 6 months
Nearly every release is documented
notes for 63 of 65 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
65 releases · first in 2018
7 releases in the last 12 months
see the full history below
Release timeline
65 releases · Mar 2018 to May 2026Releases
latest 60 of 65-
4.6.013 May 2026Release notes
Open source →What's Changed
- Centralized codestyle by @indykoning in #235
- Fix queue tracing for non-object messages and when using AMQP (RabbitMQ) by @angelvilaplana in #233
- Improved type declarations & ran rector to max by @indykoning in #237
- Fixed log level type in readme by @sfritzsche in #240
- Re-add nullsafe function by @indykoning in #241
- Added php8.5 tests by @indykoning in #239
New Contributors
- @angelvilaplana made their first contribution in #233
- @sfritzsche made their first contribution in #240
Full Changelog: 4.5.5...4.6.0
-
4.5.527 Jan 2026 -
4.5.426 Jan 2026Release notes
Open source →What's Changed
- Implement JustBetter_Core module by @claudio-ferraro in #230
New Contributors
- @claudio-ferraro made their first contribution in #230
Full Changelog: 4.5.3...4.5.4
-
4.5.305 Jan 2026 -
4.5.227 Nov 2025Release notes
Open source →What's Changed
- Updated readme to fix class references in performance tracking settings by @edward-simpson in #218
- Fixed undefined message properties by @indykoning in #221
- Fixed error thrown on new setup:install by @indykoning in #223
- Catch invalid DSN before activating by @indykoning in #222
New Contributors
- @edward-simpson made their first contribution in #218
Full Changelog: 4.5.1...4.5.2
Release notes
Open source →Fixed
* Fixed undefined message properties on queues (https://github.com/justbetter/magento2-sentry/pull/221) * Fixed error thrown on new setup:install (https://github.com/justbetter/magento2-sentry/pull/223) * Fixed activating sentry with invalid DSN (https://github.com/justbetter/magento2-sentry/pull/222) -
4.5.111 Nov 2025Release notes
Open source → -
4.5.004 Nov 2025Release notes
Open source →What's Changed
Lots of added tracing! tracing is now added for commands, queues, and caches.
- Added Logger support by @indykoning in #201
- Added support to manually define releases by @indykoning in #204
- Added custom SDK identifier to module by @indykoning in #208
- Added Cache instrumentation by @indykoning in #206
- Added Queue instrumentation by @indykoning in #210
- Replaced deprecated \Monolog\Logger::Warning by @GeKVe in #214
- csp: add report-uri if none is configured by @rommelfreddy in #216
- use configured dsn-hostname for csp connect-src policy by @rommelfreddy in #215
Full Changelog: 4.4.0...4.5.0
Release notes
Open source →Added
* Added Logger support (https://github.com/justbetter/magento2-sentry/pull/201) * Added support for manual release defnition (https://github.com/justbetter/magento2-sentry/pull/204) * Added custom SDK identifier to module (https://github.com/justbetter/magento2-sentry/pull/208) * Added Cache instrumentation (https://github.com/justbetter/magento2-sentry/pull/206) * Added Queue instrumentation (https://github.com/justbetter/magento2-sentry/pull/210) * add csp report-uri if none is configured (https://github.com/justbetter/magento2-sentry/pull/216) thanks to https://github.com/rommelfreddyChanged
* Replaced deprecated \Monolog\Logger::Warning (https://github.com/justbetter/magento2-sentry/pull/214) thanks to https://github.com/GeKVe * use configured dsn-hostname for csp connect-src policy (https://github.com/justbetter/magento2-sentry/pull/215) thanks to https://github.com/rommelfreddy -
4.4.014 Jul 2025Release notes
Open source →What's Changed
- Added support for spotlight by @indykoning in #195
- Catch zend db adapter errors when database is missing by @indykoning in #193
- Add the ability to select job codes using regex by @indykoning in #197
Full Changelog: 4.3.0...4.4.0
Release notes
Open source →Fixed
* Catch zend db adapter errors when database is missing (https://github.com/justbetter/magento2-sentry/pull/193) * Fix logrocket key typeAdded
* Add the ability to select job codes using regex (https://github.com/justbetter/magento2-sentry/pull/197) * Added support for [spotlight](https://spotlightjs.com/) (https://github.com/justbetter/magento2-sentry/pull/195) -
4.3.024 Jun 2025Release notes
Open source →What's Changed
- Catch The default website isnt defined when getting store by @indykoning in #188
- Add sentry logger by hooking into monolog setHandlers by @indykoning in #184
- Added support for cron check-ins by @indykoning in #182
Full Changelog: 4.2.0...4.3.0
Release notes
Open source →Fixed
* Catch The default website isnt defined when getting store (https://github.com/justbetter/magento2-sentry/pull/188)Added
* Add sentry logger by hooking into monolog setHandlers (https://github.com/justbetter/magento2-sentry/pull/184) * Added support for cron check-ins (https://github.com/justbetter/magento2-sentry/pull/182) -
4.2.010 Jun 2025Release notes
Open source →What's Changed
- Add performance sampling by @indykoning, @barryvdh and @rommelfreddy in #178
- Automatically pass all supported sentry config by @indykoning in #177
Full Changelog: 4.1.0...4.2.0
Release notes
Open source →Added
* Add performance sampling by (https://github.com/justbetter/magento2-sentry/pull/178) thanks to https://github.com/indykoning, https://github.com/barryvdh and https://github.com/rommelfreddy * Automatically pass all supported sentry config (https://github.com/justbetter/magento2-sentry/pull/177) -
4.1.004 Jun 2025Release notes
Open source →Added
* Clean up the Magento stacktrace before sending it to Sentry (https://github.com/justbetter/magento2-sentry/pull/171) * Pass config also relevant to sentry (https://github.com/justbetter/magento2-sentry/pull/172)Fixed
* Gather ip from Magento instead of server variable (https://github.com/justbetter/magento2-sentry/pull/174) -
4.0.106 May 2025Release notes
Open source →Fixed
* Load customerSession in SentryLog via proxy (Fixing https://github.com/justbetter/magento2-sentry/issues/160) (https://github.com/justbetter/magento2-sentry/pull/169) thanks to https://github.com/brosenberger -
4.0.023 Apr 2025Release notes
Open source →Added
* Moved sentry logging to a monolog handler (https://github.com/justbetter/magento2-sentry/pull/165) * Added support for Magento 2.4.8 * Added support for Monolog V3Changed
* Dynamically add sentry and logrocket domains to CSP whitelist (https://github.com/justbetter/magento2-sentry/pull/156) thanks to https://github.com/brosenberger * Use secureRenderer for including sentry frontend js (https://github.com/justbetter/magento2-sentry/pull/157) thanks to https://github.com/brosenberger -
3.9.031 Jan 2025Release notes
Open source →Added
* Raised PHPStan level to 5 (https://github.com/justbetter/magento2-sentry/pull/149) * Added user context to logging and errors when possible (https://github.com/justbetter/magento2-sentry/pull/133 & https://github.com/justbetter/magento2-sentry/pull/152) * Allow overriding some config per store (https://github.com/justbetter/magento2-sentry/pull/155) thanks to https://github.com/bruno-blackbird -
3.8.009 Aug 2024Release notes
Open source →Added
* Added option to exclude default-integrations (https://github.com/justbetter/magento2-sentry/pull/146) thanks to https://github.com/rommelfreddyRemoved
* Removed promise-polyfill (https://github.com/justbetter/magento2-sentry/pull/142) thanks to https://github.com/rommelfreddy -
3.7.204 Jul 2024Release notes
Open source →Fixed
* fix initialisation of replay integration (https://github.com/justbetter/magento2-sentry/pull/143) thanks to https://github.com/rommelfreddy -
3.7.125 Jun 2024Release notes
Open source →Fixed
* Fix CSP after Polyfill changes (https://github.com/justbetter/magento2-sentry/pull/141) thanks to https://github.com/sprankhub -
3.7.025 Jun 2024Release notes
Open source →Fixed
* Replace polyfill CDN with fastly (https://github.com/justbetter/magento2-sentry/pull/140) thanks to https://github.com/barryvdhAdded
* Enable INP when tracing is enabled (https://github.com/justbetter/magento2-sentry/pull/137) thanks to https://github.com/amenk -
3.6.029 Mar 2024Release notes
Open source →This release drops support for php 7.4 as it has been completely EOL for over a year. https://www.php.net/supported-versions.php
Fixed
* Check if Sentry is defined before running init (https://github.com/justbetter/magento2-sentry/pull/129) thanks to https://github.com/netzkollektivChanged
* Use property promotions (https://github.com/justbetter/magento2-sentry/pull/130) thanks to https://github.com/cirolosapio * Raised sentry/sdk version to 4.0+ -
3.5.218 Mar 2024Release notes
Open source →Fixed
* Fix start errors without database connection (https://github.com/justbetter/magento2-sentry/pull/125) thanks to https://github.com/fredden -
3.5.121 Dec 2023Release notes
Open source →Fixed
* Fix getting SCOPE_STORES from incorrect ScopeInterface (https://github.com/justbetter/magento2-sentry/pull/123) thanks to https://github.com/peterjaap * Improve extendibility by changing self to static (https://github.com/justbetter/magento2-sentry/pull/122) thanks to https://github.com/peterjaap -
3.5.020 Dec 2023Release notes
Open source →Added
* Added support for configuration using System Configuration (https://github.com/justbetter/magento2-sentry/pull/121) thanks to https://github.com/ArjenMiedema -
3.4.014 Jun 2023Release notes
Open source →Added
* Added `sentry_before_send` event (https://github.com/justbetter/magento2-sentry/pull/117) thanks to https://github.com/rbnmulder * Added support to ignore javascript errors (https://github.com/justbetter/magento2-sentry/pull/102) thanks to https://github.com/rommelfreddy -
3.3.115 Mar 2023Release notes
Open source →Fixed
* Fixed PHP 8.2 deprecation errors (https://github.com/justbetter/magento2-sentry/pull/114) thanks to https://github.com/peterjaap -
3.3.001 Mar 2023 -
3.2.007 Jul 2022Release notes
Open source →Fixed
* Changed addAlert to addRecord for Test error (https://github.com/justbetter/magento2-sentry/pull/98) thanks to https://github.com/peterjaapAdded
* Send context data top Sentry as Custom Data (https://github.com/justbetter/magento2-sentry/pull/97) thanks to https://github.com/oneserv-heuser -
3.1.014 Jun 2022Release notes
Open source →Fixed
* Update addRecord function for Monolog 2.7+ (https://github.com/justbetter/magento2-sentry/pull/92) thanks to https://github.com/torhoehn -
3.0.214 Jun 2022Release notes
Open source →Added
* Added sentry_before_init event to GlobalExceptionCatcher (https://github.com/justbetter/magento2-sentry/pull/90) thanks to https://github.com/peterjaap -
3.0.110 May 2022Release notes
Open source →Fixed
* Fix problems with logout during product edit in admin panel when Chrome DevTools is open (https://github.com/justbetter/magento2-sentry/pull/86) thanks to https://github.com/trungpq2711 -
3.0.013 Apr 2022Release notes
Open source →Breaking: New version (2.0.0+) for Monolog will be required.
Fixed
* Fixed PHP 8.1 support with monolog 2.0.0+ (https://github.com/justbetter/magento2-sentry/pull/85) thanks to https://github.com/peterjaap -
2.6.113 Apr 2022 -
2.6.008 Apr 2021Release notes
Open source →Added
* Add option to filter the severity of ErrorExceptions being sent to Sentry * Add option to ignore specific Exception classes -
2.5.410 Feb 2021Release notes
Open source →Fixed
* Fixed capital in dataHelper (https://github.com/justbetter/magento2-sentry/pull/74) thanks to https://github.com/peterjaap -
2.5.303 Feb 2021Release notes
Open source →Added
* Add option to strip static content version and store code from urls that get sent to Sentry (https://github.com/justbetter/magento2-sentry/pull/73) thanks to https://github.com/peterjaap -
2.5.218 Jan 2021 -
2.5.118 Jan 2021Release notes
Open source →Fixed
* Merged PR - Use isset to check for custom_tags in context (https://github.com/justbetter/magento2-sentry/pull/71) thanks to https://github.com/matthiashamacher -
2.5.015 Jan 2021Release notes
Open source →Changed
* Merged PR - Remove monolog class in function, add custom tag functionality (https://github.com/justbetter/magento2-sentry/pull/66) thanks to https://github.com/matthiashamacher This is a breaking change on SentryLog::send(), the function required monolog before, this has been removed -
2.4.007 Dec 2020Release notes
Open source →Added
* Merged PR - Add csp_whitelist.xml (https://github.com/justbetter/magento2-sentry/pull/65) thanks to https://github.com/matthiashamacherChanged
* Merged PR - Update Sentry version (https://github.com/justbetter/magento2-sentry/pull/64) thanks to https://github.com/matthiashamacher -
2.3.230 Nov 2020Release notes
Open source →Added
* Merged PR - Adding environment to js integration (https://github.com/justbetter/magento2-sentry/pull/62) thanks to https://github.com/matthiashamacher -
2.3.131 Aug 2020Release notes
Open source →Added
* Merged PR - Add option to enable or disable Php error tracking (https://github.com/justbetter/magento2-sentry/pull/59) thanks to https://github.com/t9toqwerty -
2.3.029 Jun 2020Release notes
Open source →Added
* Merged PR - Added version tagging to JavaScript (https://github.com/justbetter/magento2-sentry/pull/54) thanks to https://github.com/JKetelaar * Added LogRocket supportChanged
* Better feedback if configuration prevents the module from running -
2.2.325 Feb 2020Release notes
Open source →Fixed
* Merged PR - Release version should be string (https://github.com/justbetter/magento2-sentry/pull/49) thanks to https://github.com/DominicWatts -
2.2.211 Feb 2020Release notes
Open source →Changed
* Merged PR - Change behavior to check of script tag can be used (https://github.com/justbetter/magento2-sentry/pull/48) thanks to https://github.com/adamj88 * Updated changelog format to folow more closely to https://keepachangelog.com/ -
2.2.112 Dec 2019Release notes
Open source →Changed
* Merged PR - fix for requirements sdk (https://github.com/justbetter/magento2-sentry/pull/42) thanks to https://github.com/jupiterhs -
2.2.012 Dec 2019Release notes
Open source →Changed
* Merged PR (https://github.com/justbetter/magento2-sentry/pull/37) thanks to https://github.com/DominicWatts * Merged PR (https://github.com/justbetter/magento2-sentry/pull/38) thanks to https://github.com/matthiashamacher -
2.1.022 Nov 2019Release notes
Open source →Changed
* Merged PR (https://github.com/justbetter/magento2-sentry/pull/33) thanks to https://github.com/DominicWatts * Merged PR (https://github.com/justbetter/magento2-sentry/pull/35) thanks to https://github.com/peterjaap * Merged PR (https://github.com/justbetter/magento2-sentry/pull/36) thanks to https://github.com/peterjaap * Refactor of proxy classes in di.xmlFixed
* Fixed all PHPcs warnings and errors -
2.0.019 Nov 2019Release notes
Open source →Changed
* Merged PR (https://github.com/justbetter/magento2-sentry/pull/29) thanks to https://github.com/michielgerritsen * Merged PR (https://github.com/justbetter/magento2-sentry/pull/26) thanks to https://github.com/JosephMaxwell * Merged PR (https://github.com/justbetter/magento2-sentry/pull/27) thanks to https://github.com/DominicWatts -
0.8.029 Aug 2019Release notes
Open source →Changed
* Merged PR (https://github.com/justbetter/magento2-sentry/pull/24) thanks to https://github.com/kyriog * Merged PR (https://github.com/justbetter/magento2-sentry/pull/22) thanks to https://github.com/fredden * Merged PR (https://github.com/justbetter/magento2-sentry/pull/21) thanks to https://github.com/erikhansen -
0.7.220 Jun 2019 -
0.7.119 Jun 2019 -
0.7.023 Apr 2019Release notes
Open source →Fixed
* Merged pull request avoiding magento crash (https://github.com/justbetter/magento2-sentry/pull/19) -
0.6.205 Apr 2019Release notes
Open source →Fixed
* Fixed issues useing referenceBlock when adding scripts (https://github.com/justbetter/magento2-sentry/issues/18) -
0.6.115 Feb 2019Release notes
Open source →Added
* Added missing files of PR 13 (https://github.com/justbetter/magento2-sentry/pull/16) -
0.6.014 Feb 2019Release notes
Open source →Added
* Added Sentry script tag to catch javascript errors (https://github.com/justbetter/magento2-sentry/pull/13) -
0.5.113 Feb 2019Release notes
Open source →Added
* Support for setting environment (https://github.com/justbetter/magento2-sentry/pull/12) -
0.5.007 Dec 2018Release notes
Open source →Added
* Send extra parameters to sentry (https://github.com/justbetter/magento2-sentry/issues/11) * Added Magento 2.3.x support & dropped 2.1.x supportFixed
* Fixed area code not set or already set -
0.4.217 Oct 2018Release notes
Open source →Fixed
* Bugfix with area code already set - removed area code from constructor with causes problems at random cases. (https://github.com/justbetter/magento2-sentry/issues/10)Changed
* Removed info level - this log level is not useable in sentry. -
0.4.115 Aug 2018Release notes
Open source →Fixed
* Removed plugin in di.xml to prevent fatal crash on storefrontend * Restored preference in di.xml -
0.4.010 Aug 2018Release notes
Open source →Added
* Added user context * Added message context * Added extra magento store parametersChanged
* Refactor of overwrite to plugin with monolog * Refactor of ExceptionCatcher to use same SentryLogger * Refactor a lot of code * PSR2 complianceFixed
* Bugfix area code not set -
0.3.006 Jul 2018Nothing published for this version