Error tracking and logging from Python to Rollbar
PyRollbar 1.0.0 is stable! A big thank you to every one of the amazing contributors who helped get us to this point!
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:
rollbar.init('<token>', '<env>', handler='thread_pool')
# Optionally include `thread_pool_workers` to set the number of worker threads.
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.
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.
sensitive_post_parameters
decorator in Django by @pawelsz-rb in https://github.com/rollbar/pyrollbar/pull/413
BaseRequest
by @compyman in https://github.com/rollbar/pyrollbar/pull/410
WSGIRequest
has no attribute sensitive_post_parameters
. by @danielmorell in https://github.com/rollbar/pyrollbar/pull/437
thread_pool
handler by @danielmorell in https://github.com/rollbar/pyrollbar/pull/416
before_first_request
by @albertyw in https://github.com/rollbar/pyrollbar/pull/428
httpx.post
data
kwarg with content
by @ayharano in https://github.com/rollbar/pyrollbar/pull/425
Full Changelog: https://github.com/rollbar/pyrollbar/compare/v0.16.3...v1.0.0
WSGIRequest
has no attribute sensitive_post_parameters
. by @danielmorell in https://github.com/rollbar/pyrollbar/pull/437
Full Changelog: https://github.com/rollbar/pyrollbar/compare/v1.0.0beta0...v1.0.0beta1
In v1.0.0
we will be removing support for Python 2. There are also a number of bug fixes and other small improvements. Removing the support for Python 2 reduced function calls and memory allocations allowing our data collection, cleaning, and serialization to be around 18% percent faster in benchmarks.
httpx.post
data
kwarg with content
by @ayharano in https://github.com/rollbar/pyrollbar/pull/425
Full Changelog: https://github.com/rollbar/pyrollbar/compare/v0.16.4beta1...v1.0.0beta0
Full Changelog: https://github.com/rollbar/pyrollbar/compare/v0.16.4beta...v0.16.4beta1
Full Changelog: https://github.com/rollbar/pyrollbar/compare/v0.16.3...v0.16.4beta
Full Changelog: https://github.com/rollbar/pyrollbar/compare/v0.16.2...v0.16.3
rollbar.SETTINGS['handler']
: default, async and httpx. See #373report_exc_info
and report_message
. See #373Highlights
Pull requests
Change whitelist/blacklist for safelist/blocklist, https://github.com/rollbar/pyrollbar/pull/354 Populated framework for python twisted server, https://github.com/rollbar/pyrollbar/pull/360