NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4824 most downloaded on Packagist
Magento 2 Logger for Sentry
Latest stable
5.0.0
Last release 19 days ago
03 Nov 2026
Release timing varies
gaps range from 2 weeks to 6 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
67 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Logrocket support has been removed from this module, it never really belonged in the "core" Sentry module. Fret not if you were using the Logrocket fe
Logrocket support has been removed from this module, it never really belonged in the "core" Sentry module. Fret not if you were using the Logrocket feature, it has simply moved to justbetter/magento2-sentry-logrocket.
You can now opt to send all Sentry events to the Magento queue instead of sending the events to Sentry inside of the request. This may speed up response times on requests if Sentry is down or slow, but your events may arrive in sentry with some delay.
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.7.0...5.0.0
* **BREAKING:** Removed the LogRocket integration. It has been extracted into its own module, [`justbetter/magento2-sentry-logrocket`](https://github.com/justbetter/magento2-sentry-logrocket). If you were using LogRocket, install that module before upgrading — the config paths and `env.php` key are unchanged, so no configuration changes are needed. If you don't use LogRocket, no action is needed.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Prevent errors during customer session interaction by @DanieliMi in https://github.com/justbetter/magento2-sentry/pull/247
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.6.0...4.7.0
Centralized codestyle by @indykoning in https://github.com/justbetter/magento2-sentry/pull/235
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.5.5...4.6.0
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.5.4...4.5.5 ## What's Changed * Fixed load order
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.5.4...4.5.5
Implement JustBetter_Core module by @claudio-ferraro in https://github.com/justbetter/magento2-sentry/pull/230
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.5.3...4.5.4
Raised phpstan level to 8 & introduced rector
Raised phpstan level to 8 & introduced rector (#227)
Updated readme to fix class references in performance tracking settings by @edward-simpson in https://github.com/justbetter/magento2-sentry/pull/218
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.5.1...4.5.2
* 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)
Added Magento BP by default by @indykoning in https://github.com/justbetter/magento2-sentry/pull/217
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.5.0...4.5.1
Replaced deprecated \Monolog\Logger::Warning by @GeKVe in https://github.com/justbetter/magento2-sentry/pull/214
Lots of added tracing! tracing is now added for commands, queues, and caches.
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.4.0...4.5.0
* 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/rommelfreddy
* 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
Added support for spotlight by @indykoning in https://github.com/justbetter/magento2-sentry/pull/195
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.3.0...4.4.0
* Catch zend db adapter errors when database is missing (https://github.com/justbetter/magento2-sentry/pull/193)
* Fix logrocket key type
* 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)
Catch The default website isnt defined when getting store by @indykoning in https://github.com/justbetter/magento2-sentry/pull/188
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.2.0...4.3.0
* Catch The default website isnt defined when getting store (https://github.com/justbetter/magento2-sentry/pull/188)
* 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)
Add performance sampling by @indykoning, @barryvdh and @rommelfreddy in https://github.com/justbetter/magento2-sentry/pull/178
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.1.0...4.2.0
* 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)
Clean up the Magento stacktrace before sending to Sentry by @indykoning in https://github.com/justbetter/magento2-sentry/pull/171
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.0.1...4.1.0
* 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)
* Gather ip from Magento instead of server variable (https://github.com/justbetter/magento2-sentry/pull/174)
Load customerSession in SentryLog via proxy, fix #160 compile issue by @brosenberger in https://github.com/justbetter/magento2-sentry/pull/169
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/4.0.0...4.0.1
* 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
This release adds support for Magento 2.4.8 Magento 2.4.8 requires Monolog V3, this is breaking compared to V2.
This release adds support for Magento 2.4.8 Magento 2.4.8 requires Monolog V3, this is breaking compared to V2.
In this release Monolog V2 and V3 are supported which means Magento 2.4.7 is still compatible.
Full Changelog: https://github.com/justbetter/magento2-sentry/compare/3.9.0...4.0.0
* 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 V3
* 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
Added user context to logging and errors when possible
* 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
Added option to exclude default-integrations (https://github.com/justbetter/magento2-sentry/pull/146) thanks to https://github.com/rommelfreddy
* Added option to exclude default-integrations (https://github.com/justbetter/magento2-sentry/pull/146) thanks to https://github.com/rommelfreddy
* Removed promise-polyfill (https://github.com/justbetter/magento2-sentry/pull/142) thanks to https://github.com/rommelfreddy
fix initialisation of replay integration (https://github.com/justbetter/magento2-sentry/pull/143) thanks to https://github.com/rommelfreddy
* fix initialisation of replay integration (https://github.com/justbetter/magento2-sentry/pull/143) thanks to https://github.com/rommelfreddy
Fix CSP after Polyfill changes (https://github.com/justbetter/magento2-sentry/pull/141) thanks to https://github.com/sprankhub
* Fix CSP after Polyfill changes (https://github.com/justbetter/magento2-sentry/pull/141) thanks to https://github.com/sprankhub
Replace polyfill CDN with fastly (https://github.com/justbetter/magento2-sentry/pull/140) thanks to https://github.com/barryvdh
* Replace polyfill CDN with fastly (https://github.com/justbetter/magento2-sentry/pull/140) thanks to https://github.com/barryvdh
* Enable INP when tracing is enabled (https://github.com/justbetter/magento2-sentry/pull/137) thanks to https://github.com/amenk
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
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
* Check if Sentry is defined before running init (https://github.com/justbetter/magento2-sentry/pull/129) thanks to https://github.com/netzkollektiv
* Use property promotions (https://github.com/justbetter/magento2-sentry/pull/130) thanks to https://github.com/cirolosapio
* Raised sentry/sdk version to 4.0+
Fix start errors without database connection (https://github.com/justbetter/magento2-sentry/pull/125) thanks to https://github.com/fredden
* Fix start errors without database connection (https://github.com/justbetter/magento2-sentry/pull/125) thanks to https://github.com/fredden
Fix getting SCOPE_STORES from incorrect ScopeInterface (https://github.com/justbetter/magento2-sentry/pull/123) thanks to https://github.com/peterjaap
* 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
Added support for configuration using System Configuration (https://github.com/justbetter/magento2-sentry/pull/121) thanks to https://github.com/Arjen
* Added support for configuration using System Configuration (https://github.com/justbetter/magento2-sentry/pull/121) thanks to https://github.com/ArjenMiedema
Added sentry_before_send event (https://github.com/justbetter/magento2-sentry/pull/117) thanks to https://github.com/rbnmulder
* 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
Fixed PHP 8.2 deprecation errors (https://github.com/justbetter/magento2-sentry/pull/114) thanks to https://github.com/peterjaap
* Fixed PHP 8.2 deprecation errors (https://github.com/justbetter/magento2-sentry/pull/114) thanks to https://github.com/peterjaap
Added Session Replay functionality
* Added Session Replay functionality
Changed addAlert to addRecord for Test error (https://github.com/justbetter/magento2-sentry/pull/98) thanks to https://github.com/peterjaap
* Changed addAlert to addRecord for Test error (https://github.com/justbetter/magento2-sentry/pull/98) thanks to https://github.com/peterjaap
* Send context data top Sentry as Custom Data (https://github.com/justbetter/magento2-sentry/pull/97) thanks to https://github.com/oneserv-heuser
Update addRecord function for Monolog 2.7+ (https://github.com/justbetter/magento2-sentry/pull/92) thanks to https://github.com/torhoehn
* Update addRecord function for Monolog 2.7+ (https://github.com/justbetter/magento2-sentry/pull/92) thanks to https://github.com/torhoehn
Added sentry_before_init event to GlobalExceptionCatcher (https://github.com/justbetter/magento2-sentry/pull/90) thanks to https://github.com/peterjaa
* Added sentry_before_init event to GlobalExceptionCatcher (https://github.com/justbetter/magento2-sentry/pull/90) thanks to https://github.com/peterjaap
Fix problems with logout during product edit in admin panel when Chrome DevTools is open (https://github.com/justbetter/magento2-sentry/pull/86) thank
* 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
Breaking: New version (2.0.0+) for Monolog will be required.
Breaking: New version (2.0.0+) for Monolog will be required.
* Fixed PHP 8.1 support with monolog 2.0.0+ (https://github.com/justbetter/magento2-sentry/pull/85) thanks to https://github.com/peterjaap
Updated constraints for monolog versions lower than 2.0.0
* Updated constraints for monolog versions lower than 2.0.0
Add option to filter the severity of ErrorExceptions being sent to Sentry
* Add option to filter the severity of ErrorExceptions being sent to Sentry
* Add option to ignore specific Exception classes
Fixed capital in dataHelper (https://github.com/justbetter/magento2-sentry/pull/74) thanks to https://github.com/peterjaap
* Fixed capital in dataHelper (https://github.com/justbetter/magento2-sentry/pull/74) thanks to https://github.com/peterjaap
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) th
* 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
Fix monolog plugin still adding monolog as argument
* Fix monolog plugin still adding monolog as argument
Merged PR - Use isset to check for custom_tags in context (https://github.com/justbetter/magento2-sentry/pull/71) thanks to https://github.com/matthia
* 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
…to https://github.com/matthiashamacher This is a breaking change on SentryLog::send(), the function required monolog before, this has been removed
* 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
Merged PR - Add csp_whitelist.xml (https://github.com/justbetter/magento2-sentry/pull/65) thanks to https://github.com/matthiashamacher
* Merged PR - Add csp_whitelist.xml (https://github.com/justbetter/magento2-sentry/pull/65) thanks to https://github.com/matthiashamacher
* Merged PR - Update Sentry version (https://github.com/justbetter/magento2-sentry/pull/64) thanks to https://github.com/matthiashamacher
Merged PR - Adding environment to js integration (https://github.com/justbetter/magento2-sentry/pull/62) thanks to https://github.com/matthiashamacher
* Merged PR - Adding environment to js integration (https://github.com/justbetter/magento2-sentry/pull/62) thanks to https://github.com/matthiashamacher
Merged PR - Add option to enable or disable Php error tracking (https://github.com/justbetter/magento2-sentry/pull/59) thanks to https://github.com/t9
* 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
Merged PR - Added version tagging to JavaScript (https://github.com/justbetter/magento2-sentry/pull/54) thanks to https://github.com/JKetelaar
* Merged PR - Added version tagging to JavaScript (https://github.com/justbetter/magento2-sentry/pull/54) thanks to https://github.com/JKetelaar
* Added LogRocket support
* Better feedback if configuration prevents the module from running
Merged PR - Release version should be string (https://github.com/justbetter/magento2-sentry/pull/49) thanks to https://github.com/DominicWatts
* Merged PR - Release version should be string (https://github.com/justbetter/magento2-sentry/pull/49) thanks to https://github.com/DominicWatts
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/ad
* 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/
Merged PR - fix for requirements sdk (https://github.com/justbetter/magento2-sentry/pull/42) thanks to https://github.com/jupiterhs
* Merged PR - fix for requirements sdk (https://github.com/justbetter/magento2-sentry/pull/42) thanks to https://github.com/jupiterhs
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/37) thanks to https://github.com/DominicWatts
* Merged PR (https://github.com/justbetter/magento2-sentry/pull/38) thanks to https://github.com/matthiashamacher
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/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.xml
* Fixed all PHPcs warnings and errors
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/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
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/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
### Changed * Reverted async attribute
* Reverted async attribute
Added async and crossorigin attribute to script tags
* Added async and crossorigin attribute to script tags
Merged pull request avoiding magento crash
* Merged pull request avoiding magento crash (https://github.com/justbetter/magento2-sentry/pull/19)
Fixed issues useing referenceBlock when adding scripts
* Fixed issues useing referenceBlock when adding scripts (https://github.com/justbetter/magento2-sentry/issues/18)
### Added * Added missing files of PR 13
* Added missing files of PR 13 (https://github.com/justbetter/magento2-sentry/pull/16)
Added Sentry script tag to catch javascript errors
* Added Sentry script tag to catch javascript errors (https://github.com/justbetter/magento2-sentry/pull/13)
Support for setting environment
* Support for setting environment (https://github.com/justbetter/magento2-sentry/pull/12)
Send extra parameters to sentry
* Send extra parameters to sentry (https://github.com/justbetter/magento2-sentry/issues/11)
* Added Magento 2.3.x support & dropped 2.1.x support
* Fixed area code not set or already set
Bugfix with area code already set - removed area code from constructor with causes problems at random cases.
* 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)
* Removed info level - this log level is not useable in sentry.
Removed plugin in di.xml to prevent fatal crash on storefrontend
* Removed plugin in di.xml to prevent fatal crash on storefrontend
* Restored preference in di.xml
One column per quarter.