From edbc8c588d501478a9eeb297f5fbe1754557e6e9 Mon Sep 17 00:00:00 2001 From: Andrew Weiss Date: Wed, 16 May 2018 15:13:20 -0700 Subject: [PATCH] Release v0.14.0 --- CHANGELOG.md | 18 ++++++++++++++++++ README.md | 2 +- README.rst | 24 +++++++++++++++++++++++- rollbar/__init__.py | 2 +- 4 files changed, 43 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f407e4b2..8f3b4985 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Change Log +**0.14.0** + +- Create the configuration options, `capture_username` and `capture_email`. Prior to this release, + if we gather person data automatically, we would try to capture the id, email, and username. + Starting with this release by default we will only capture the id. If you set `capture_username` + to `True` then we will also attempt to capture the username. Similarly for `capture_email` with + the email. (See [#262](https://github.com/rollbar/pyrollbar/pull/262)) +- Create the configuration option `capture_ip`. This can take one of three values: `True`, + `'anonymize'`, or `False`. This controls how we handle IP addresses that are captured from + requests. If `True`, then we will send the full IP address. This is the current behaviour and the + default. If set to the string `'anonymize'` which is also available as the constant `ANONYMIZE` on + the `rollbar` module, we will mask out the least significant bits of the IP address. If set to + `False`, then we will not capture the IP address. (See [#262](https://github.com/rollbar/pyrollbar/pull/262)) +- Fix `request.files_keys` for Flask [#263](https://github.com/rollbar/pyrollbar/pull/263) +- If you call `init` multiple times we will update the settings at each call. Prior to + this release we emitted a warning and did not update settings. [#259](https://github.com/rollbar/pyrollbar/pull/259) +- Better Tornado support [#256](https://github.com/rollbar/pyrollbar/pull/256) + **0.13.18** - See Release Notes diff --git a/README.md b/README.md index 8ddb222a..9207da89 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Rollbar notifier for Python [![Build Status](https://api.travis-ci.org/rollbar/pyrollbar.png?branch=v0.13.18)](https://travis-ci.org/rollbar/pyrollbar) +# Rollbar notifier for Python [![Build Status](https://api.travis-ci.org/rollbar/pyrollbar.png?branch=v0.14.0)](https://travis-ci.org/rollbar/pyrollbar) Python notifier for reporting exceptions, errors, and log messages to [Rollbar](https://rollbar.com). diff --git a/README.rst b/README.rst index e3793c34..aefa10c8 100644 --- a/README.rst +++ b/README.rst @@ -592,6 +592,28 @@ shortener\_keys suppress\_reinit\_warning If ``True``, suppresses the warning normally shown when ``rollbar.init()`` is called multiple times. Default ``False``. + +capture\_ip + If equal to `True`, we will attempt to capture the full client IP address from a request. + + If equal to the string `anonymize`, we will capture the client IP address, but then semi-anonymize it by masking out the least significant bits. + + If equal to `False`, we will not capture the client IP address from a request. + + +capture\_email + If set to `True`, we will attempt to enrich person data with an email address if available. + + By default this is set to `False`, which implies we will not include an email address with person data. + + +capture\_username + If set to `True`, we will attempt to enrich person data with a username if available. + + By default this is set to `False`, which implies we will not include a username with person data. + + + Help / Support -------------- @@ -615,5 +637,5 @@ Contributing Tests are in ``rollbar/test``. To run the tests: ``python setup.py test`` -.. |Build Status| image:: https://api.travis-ci.org/rollbar/pyrollbar.png?branch=v0.13.18 +.. |Build Status| image:: https://api.travis-ci.org/rollbar/pyrollbar.png?branch=v0.14.0 :target: https://travis-ci.org/rollbar/pyrollbar diff --git a/rollbar/__init__.py b/rollbar/__init__.py index 9689f4ae..43e3e203 100644 --- a/rollbar/__init__.py +++ b/rollbar/__init__.py @@ -24,7 +24,7 @@ from rollbar.lib import events, filters, dict_merge, parse_qs, text, transport, urljoin, iteritems -__version__ = '0.13.18' +__version__ = '0.14.0' __log_name__ = 'rollbar' log = logging.getLogger(__log_name__)