Releases: MindscapeHQ/raygun4py
Releases · MindscapeHQ/raygun4py
5.0.0 Release
Changes
Breaking changes:
- Support for Python 2.7 has been dropped
Bug Fixes:
- Removes largest local/global variables in crash payload to ensure payload size limit is not breached (optional)
- We now provide
enforce_payload_size_limit
andlog_payload_size_limit_breaches
as configuration options, both enabled by default - These control whether the provider will attempt to remove variables if there is an oversized payload and log which variables were removed
- We now provide
4.4.0 Release
Changes
Features
- Added
RaygunHandler.from_sender()
factory to construct aRaygunHandler
instance using an existingRaygunSender
. This allows for additional configuration of the sender. - Added a
config
parameter the to Flask and WSGI middleware provider constructors. This also allows for additional configuration of the sender. - The
RaygunHandler
now adds tags corresponding to the logging level, which now defaults tologging.ERROR
. - Errors/exceptions sent via the
RaygunHandler
now have their message overriden by the logged message.
Bug fixes
- The
RaygunHandler
now attempts to captureexc_info
from therecord
. This can be obtained iflogger.exception()
is used or ifexc_info=True
is set in the logger call.- If
exc_info
cannot be obtained by theRaygunHandler
, it no longer attempts to construct aRaygunErrorMessage
withNone
values. Instead, it generates a fallback error message using information gathered from therecord
. This is essentially an error with a single stack frame representing the call to the logger.
- If
Quality of life updates
- Updated
CONTRIBUTING.MD
. - Got unit tests running again (
django
upgrade). - Updated
python3/samples/sample.py
andpython3/samples/sampleWithLogging.py
. - Cleaned up
python3/raygun4py/cli.py
.
4.3.2 Release
Changes
- Atomically setting the user at the same time we send the exception
v4.2.4
Bug fixes
- Resolve crash reports not logging post requests in Django by using
request.data
rather thanrequest.body
v4.2.3
Bugfixes
- Add request rawData to the build_wsgi_compliant_request utilities to fix a bug where rawData is set manually then overwritten by an empty object.