Skip to content

Releases: bugsnag/bugsnag-php

v3.29.2

13 Jan 16:32
437ac55
Compare
Choose a tag to compare

This release should ensure compatibility with PHP 8.4 by removing the usage of certain
deprecated features by:

  • Removing E_STRICT from the error list in PHP 8.4+
  • Removing type annotations from parameters defaulting to null. Comment typal annotations
    will continue to be present and accurate

Fixes

  • Ensure PHP 8.4 compatibility
    #672

v2.10.2

12 Jul 08:14
05dd636
Compare
Choose a tag to compare

Bug Fixes

  • Fix PHP 8.2 deprecation notice by adding missing timeout property to Bugsnag_Configuration
    #664

v3.29.1

10 May 11:11
7fff851
Compare
Choose a tag to compare

Fixes

v3.29.0

19 Oct 09:58
362b93b
Compare
Choose a tag to compare

Enhancements

  • The maximum number of breadcrumbs can now be configured between 0-100 (inclusive)
    #652

  • Raised the default maximum number of breadcrumbs to 50
    #652

  • Add a Report::getFeatureFlags method to allow accessing feature flags in callbacks
    #653

v3.28.0

18 May 14:14
44fc93c
Compare
Choose a tag to compare

Enhancements

v3.27.0

07 Feb 09:42
ad2b40b
Compare
Choose a tag to compare

Enhancements

  • Improve serialisation of backed enums. Previously a backed enum would JSON encode to their backing value, but will now include the enum name like EnumName::CaseName (value)
    #639

Fixes

  • A number of errors in docblocks have been corrected
    xPaw
    #633
    #637
  • Handle serialising pure enums when added as metadata. Previously a pure enum would be JSON encoded as null, but will now be converted to a string like EnumName::CaseName
    #639
  • Remove use of the deprecated strftime function
    #640
  • Fix session throttling when storage backend doesn't store integers
    #643

v3.26.1

09 Sep 14:43
cf0a694
Compare
Choose a tag to compare

Fixes

  • Avoid JSON encoding event payloads more than once, where possible
    #628
  • Add the ReturnTypeWillChange to Bugsnag\Breadcrumbs\Recorder to avoid a deprecation in PHP 8.1
    #630

v3.26.0

10 Feb 09:36
36d7a22
Compare
Choose a tag to compare

Enhancements

  • Out of memory errors will now be reported by increasing the memory limit by 5 MiB. Use the new memoryLimitIncrease configuration option to change the amount of memory, or set it to null to disable the increase entirely.
    #621

  • Add a "discard classes" configuration option that allows events to be discarded based on the exception class name or PHP error name
    #622

  • Add a "redacted keys" 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.
    #623

Deprecations

  • The filters configuration option is now deprecated as redactedKeys can express everything that filters could and more.

v3.25.0

25 Nov 13:18
5a62ea2
Compare
Choose a tag to compare

Enhancements

  • Add a default timeout & connect_timeout to Guzzle instances created by bugsnag-php. This does not apply if you are providing a custom Guzzle instance.
    #616

v2.10.1

17 Nov 10:42
ec1eb42
Compare
Choose a tag to compare

Bug Fixes

  • Fix invalid use of curl_setopt
    #614