Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@danielmorell danielmorell released this 22 Nov 17:48
a809a6b

Key Changes

Support for Python 3.12

The SDK officially supports and is tested against Python 3.12.

Support for pathlib.Path()

Thanks to a community contributor David Baumgold we now support pathlib.Path() instead of just strings for both serialization and settings.

Enforce Locals Max Sizes

In this release we have made some significant improvements to how we process large complex stack frames. There were shortening settings that were not properly being applied while truncating large objects. We have resolved those issues and made some other performance improvements to our data processing within the SDK.

We recommend reviewing the locals max sizes settings. The defaults are as follows...

import rollbar

rollbar.init(
    access_token='<your token>',
    locals={
        'sizes': {
            'maxlevel': 5,
            'maxdict': 10,
            'maxlist': 10,
            'maxtuple': 10,
            'maxset': 10,
            'maxfrozenset': 10,
            'maxdeque': 10,
            'maxarray': 10,
            'maxstring': 100,
            'maxlong': 40,
            'maxother': 100,
        },
    }
)

The locals max sizes values were not consistently enforced in versions prior to 1.1.0, and so you may find that data previously included in prior version of the SDK is now being truncated. If that data is vital to your error investigation, you will want to adjust these values.
 

What's Changed

Full Changelog: v1.0.0...v1.1.0