Skip to content

Latest commit

 

History

History
224 lines (157 loc) · 8.91 KB

File metadata and controls

224 lines (157 loc) · 8.91 KB

Change Log

0.11.1

  • Added a new configuration option to expose the serializer's whitelisted_types param
    • Allows users to whitelist types to be serialized using repr(obj) instead of str(type(obj))
  • Fixed a bug that was not taking the safe_repr option into account. See #87

0.11.0

  • Overhauled the scrubbing and serialization mechanisms to provide deep object scrubbing and better handling of UTF-8 data from local variables. See #75
    • This fixes a bunch of problems with reporting local variables, including UnicodeEncodeErrors and attempting to read variables after the thread they were in has died.
  • Local variables and payload data is now sent over in their original structure.
    • If a variable was a dict, it will be transmitted as a dict instead of turned into a string representation of the variable.
  • The entire payload is now scrubbed and URL password fields are scrubbed as well.
  • Added a Django example.
  • Wrote many, many more tests :)
  • Integrated the six library to provide cleaner support for Python3.
  • Added some additional scrub fields.

0.10.1

  • Added a warning message if init() is called more than once.

0.10.0

  • Added support for Twisted framework. See #69
  • Fix a bug that was causing max recursion errors while collecting local variables. See #77
    • Added a configuration option, safe_repr: True which will cause payload serialization to use the type name for non-built-in objects. This option defaults to True which may cause data reported to Rollbar to contain less information for custom types. Prior to this change, serialization of custom objects called __repr__() which may have had undesired side effects.
  • Fixed a bug that did not correctly handle anonymous tuple arguments while gathering local variables.

0.9.14

  • Fix logging loop when using Flask in a non-request context, and also using the Rollbar logging handler. See #68

0.9.13

  • If present, get request from log record. Otherwise try to guess current request as usual.

0.9.12

  • Fix a bug that was causing a crash while reporting an error that happened in a Werkzeug request that had no request.json. See #64

0.9.11

  • Implement workarounds for NaN and Infinity "numbers" in payloads. See #62

0.9.10

  • Fix request data collection in Flask 0.9. See #61

0.9.9

  • Add exception handler for RQ (requires some instrumentation). See #57
  • Scrub fields inside extra_data
  • Gather the process PID and report it along with the other 'server' data

0.9.8

  • Support bare WSGI requests (#55)

0.9.7

  • Add support for Google App Engine (#53)

0.9.6

  • Fix memory leak when using the RollbarHandler logging handler (see #43)
  • Fix bug where named function arguments were not scrubbed correctly

0.9.5

  • Fix bug with local variable gathering that was breaking when getting the arguments for a class constructor.

0.9.4

  • Request headers are now scrubbed, pr#41.

0.9.3

  • exception_level_filters can now take a string that defines the class to filter, #38.

0.9.2

  • Added an option to disable SSL certificate verification, #36.
  • Added __version__ specifier to __init__.py.

0.9.1

New features:

  • For Tornado requests, gather the request start time. See #33
  • Add handler which uses Tornado's AsyncHTTPClient. To use this, set your 'handler' to 'tornado'. See #34

0.9.0

  • Improvements to RollbarHandler logging handler. It now:
    • extracts more information out of each record (i.e. metadata like pathname and creation time)
    • uses the format string, with arguments not yet replaced, as the main message body. This will result in much better grouping in Rollbar.

Note about upgrading from 0.8.x: unless you are using RollbarHandler, there are no breaking changes. If you are using RolbarHandler, then this will change the way your data appears in Rollbar (to the better, in our opinion).

0.8.3

  • Provide a way to blacklist types from being repr()'d while gathering local variables.

0.8.2

  • Fix uncaught ImproperlyConfigured exception when importing Rollbar in a Django REST Framework environment without a settings module loaded (#28)

0.8.1

  • Only attempt local variable extraction if traceback frames are of the correct type, print a warning otherwise
  • Fix JSON request param extraction for Werkzeug requests (Pyramid, Flask, etc)

0.8.0

  • Local variables collection now enabled by default.
  • Fixed scrubbing for utf8 param names.

0.7.6

  • Added local variables for all in-project frames and the last frame.

0.7.5

  • Initial support for sending args and kwargs for traceback frames.
  • Optimization to send the access token in a header.

0.7.4

  • Level kwarg added to rollbar.report_exc_info() (#22)

0.7.3

  • Added in an optional endpoint parameter to search_items().

0.7.2

  • Fix for scrubbing werkzeug json bodies (#20)

0.7.1

  • Support scrubbing for werkzeug json bodies (#19)

0.7.0

  • Python 3 support
  • Now support extracting data from Django REST framework requests
  • New enabled configuration setting

0.6.2

  • Fixed json request data formatting for reports in Bottle requests
  • Now send json request data for Django and Pyramid apps
  • Set framework and request context properly for all reports in Flask and Bottle apps

0.6.1

  • Added Django, Pyramid, Flask and Bottle support for default contexts.

0.6.0

  • report_message() now returns the UUID of the reported occurrence.

0.5.14

  • Fix bug with non-JSON post data in Flask
  • Add slightly better integration with Flask. See rollbar-flask-example for example usage.

0.5.13

  • Collect JSON post data in Flask when mimetype is application/json

0.5.12

  • Add sys.argv to server data

0.5.11

  • Don't report bottle.BaseResponse exceptions in the bottle plugin

0.5.10

  • Added code_version configuration setting
  • Added support for bottle request objects

0.5.9

  • Added a command line interface for reporting messages to Rollbar

0.5.8

  • Added allow_logging_basic_config config flag for compatability with Flask. If using Flask, set to False.

0.5.7

  • Added exception_level_filters configuration setting to customize the level that specific exceptions are reported as.

0.5.6

  • First argument to rollbar.report_exc_info() is now optional. You can now call it with no arguments from within an except block, and it will behave is if you had called like rollbar.report_exc_info(sys.exc_info())

0.5.5

  • Support for ignoring exceptions by setting exc._rollbar_ignore = True. Such exceptions reported through rollbar.report_exc_info() -- which is used under the hood in the Django and Pyramid middlewares -- will be ignored instead of reported.

0.5.4

  • Django: catch exceptions when patching the debugview, for better support for django 1.3.

0.5.3

  • Fixed bug when reporting messages without a request object

0.5.2

  • Fixed bug where django debug page can get patched twice

0.5.1

  • Catching possible malformed API responses

0.5.0

  • Rename to rollbar

0.4.1

  • report_exc_info() now takes two additional named args: extra_data and payload_data, like report_message().
  • on 429 response (over rate limit), log a warning but don't parse and print an exception.

0.3.2

  • Added new default scrub fields

0.3.1

  • Fixed pypi package

0.3.0

  • Merge django-ratchet and pyramid_ratchet into pyratchet
  • Add ability to write to a ratchet-agent log file

0.2.0

  • Add "person" support

0.1.14

  • Added payload_data arg to report_message()

0.1.13

  • Added extra_data arg to report_message()

0.1.12

  • Use custom JSON encoder to skip objects that can't be encoded.
  • Bump default timeout from 1 to 3 seconds.

0.1.11

  • Sensitive params now scrubbed out of POST. Param name list is customizable via the scrub_fields config option.

0.1.10

  • Add support for Tornado request objects (tornado.httpserver.HTTPRequest)

0.1.9

  • Fix support for Pyramid request objects

0.1.8

  • Add support for Django request objects