bugsnag / bugsnag-symfony

BugSnag notifier for the Symfony PHP framework. Monitor and report errors in your Symfony apps.
https://docs.bugsnag.com/platforms/php/symfony
MIT License
43 stars 21 forks source link

Using hasPreviousSession in getSession to avoid initializing session … #124

Closed oleg-andreyev closed 3 years ago

oleg-andreyev commented 3 years ago

…if it does not exists in the current request

Goal

Avoid initializing session, if it does not exists in the current request

Design

The default usage of hasPreviousSession

Changeset

getSession uses hasPreviousSession to detect session

Testing

Automated.

johnkiely1 commented 3 years ago

Hi @oleg-andreyev,

Thanks for the PR, we will look to review as soon as priorities allow.

yousif-bugsnag commented 3 years ago

This is now released in v1.10.0. Thanks again for the contribution @oleg-andreyev! 🎉