This release should ensure compatibility with PHP 8.4 by removing the usage of certain deprecated features by:
null. Comment type annotations will continue to be present and accurateContext to events as metadata under the key 'Laravel Context'. Hidden context will added under the key 'Laravel Hidden Context' only if the new configuration option attach_hidden_context is enabled, either in config/bugsnag.php or via the environment variable BUGSNAG_ATTACH_HIDDEN_CONTEXT
#537Fully implement Laravel Log facade Graham Campbell #239
Use the handle method in the deploy command (Laravel 5.5+ compatibility)
Manuel Strebel
#242
Support capturing user information from generic user objects Simon Bennett #207
Support setting release stage within configuration file Graham Campbell #228
Record the queue context and job information Graham Campbell #183
Replaced event logging with query recording Graham Campbell #186
Out of memory errors can now be reported by registering the new OomBootstrapper in your HTTP kernel, which will increase the memory limit by 5 MiB when an OOM occurs. See the docs for more details:
Laravel
Lumen
#430
Support the new discardClasses configuration option. This allows events to be discarded based on the exception class name or PHP error name.
#431
Support the new redactedKeys configuration option. This is similar to filters but allows both strings and regexes. String matching is exact but case-insensitive. Regex matching allows for partial and wildcard matching.
#432
filters configuration option is now deprecated as redactedKeys can express everything that filters could and more.bugsnag.guzzle alias, if one exists. If bugsnag.guzzle does not exist, a new Guzzle instance will be created as before
#420filters in config/bugsnag.php is now null instead of ['password']. This allows the default filters from Bugsnag PHP to be used. Existing projects can make the same change to benefit from the new default filters in Bugsnag PHP v3.23.0
#413Allow installation on Laravel 8 projects jwpage jdavidbakr #405 #407
Add method documentation to the Bugsnag facade
danieldevsquad
#373
Added a bugsnag:deploy console command
Graham Campbell
#154
Record events as breadrumbs Graham Campbell #159
Support both guzzle 5 and 6 Graham Campbell #164
Set the app type automatically Graham Campbell #167
Fixed certificate verification on some systems Graham Campbell #176
session() is not available)
#358This release adds support for the new Bugsnag Build API to the deploy command.
The following options have been introduced:
builder: The name of the person/machine that started the buildprovider: The name of the provider of the git repository, only necessary for on-premise installations, one of: github-enterprise, bitbucket-server, gitlab-onpremiseThe following options have been deprecated:
branchauto_capture_sessions in configuration options. In addition, sessions can be
indicated manually using Bugsnag::startSession()addMetaDataRemoved support for using HTTP_PROXY environment variable for non-CLI apps
per CVE-2016-5385 (httpoxy).
Graham Campbell
#143
#145
Convert BUGSNAG_NOTIFY_RELEASE_STAGES to a comma-delimited array
Jason
Graham Campbell
#142
#144
Our library has gone through some major improvements. The primary change to watch out for is we're no longer overriding your exception handler.
Since we're no longer overriding your exception handler, you'll need to restore your original handler, and then see our docs for how to bind our new logger to the container.
If you'd like access to all our new configuration, you'll need to re-publish our config file.
Fixed version constraint Graham Campbell #111
Ensure the api key is a string Graham Campbell 57afd32
Added support for setting the api key using .env in Laravel 5+ Simon Maynard #62
Added support for artisan vendor:publish Simon Maynard #62
bugsnag-php dependency to enable support for code snippets on
your Bugsnag dashboardconfig.php
(thanks @jacobmarshall!)inProjectBugsnag facade for quick access to $app["bugsnag"]App::environment settingHow can I help you explore Laravel packages today?