v1.0.0
PyRollbar 1.0.0 is stable! A big thank you to every one of the amazing contributors who helped get us to this point!
Performance Improvements
Some of the major work has been on making performance improvements to the more data intensive parts of the package. There should be some improvements across the board, however some exciting new performance features include:
- A new HTTP transfer mechanism that uses a pool of background worker threads to transmit logs and reports to the Rollbar system. You can enable it with the following...
rollbar.init('<token>', '<env>', handler='thread_pool') # Optionally include `thread_pool_workers` to set the number of worker threads.
- Improved data sanitization and serialization with a batched transform. This can be enabled by setting
rollbar.init(..., batch_transforms=True)
.rollbar.init('<token>', '<env>', batch_transforms=True)
Note: performance may vary. For example, the async
or another handler may perform better for your environment and workload. We strongly recommend testing before adopting.
Removed Python 2
In version 1.0.0 we have removed support for Python 2. This opens up the opportunity to embrace the ever-improving world of Python 3. If you still require support for Python 2 you should use v0.16.x
; it is stable and will continue to receive security fixes for at least another year.
What's Changed
Fixed
- Fixed handling
sensitive_post_parameters
decorator in Django by @pawelsz-rb in #413 - Fixed Werkzeug DeprecationWarning of
BaseRequest
by @compyman in #410 - Fixed missing locals shortening on items with "trace_chain" instead of "trace" by @terencehonles in #365
- Fixed FastAPI version comparison by @ayharano in #433
- Fixed #436
WSGIRequest
has no attributesensitive_post_parameters
. by @danielmorell in #437
Added
- Added new
thread_pool
handler by @danielmorell in #416 - Added Rollbar branding to the readme by @paulserraino in #418
- Added batched transform to increase sanitization and serialization performance by @ijsnow in #421
Removed
- Replaced unittest2 with unittest by @brianr in #420
- Removed unittest2 by @mcepl in #419
- Remove deprecated flask
before_first_request
by @albertyw in #428 - Removed support for Python 2 by @danielmorell in #435
Changed
- Updated the base Ubuntu for CI to 20.04 test runner by @danielmorell and @waltjones in #427
- Replaced
httpx.post
data
kwarg withcontent
by @ayharano in #425
New Contributors
- @compyman made their first contribution in #410
- @paulserraino made their first contribution in #418
- @mcepl made their first contribution in #419
- @ijsnow made their first contribution in #421
- @arpad-fulop-rb made their first contribution in #431
- @albertyw made their first contribution in #428
- @ayharano made their first contribution in #433
Full Changelog: v0.16.3...v1.0.0