Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update raven to 6.10.0 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Jun 1, 2022

This PR updates raven from 3.5.2 to 6.10.0.

Changelog

6.10.0

------

* [Core] Fixed stackframes in some situations being in inverse order.
* [Flask] Fix wrong exception handling logic (accidentally relied on Flask internals).
* [Core] No longer send NaN local vars as non-standard JSON.

6.9.0

------------------
* [Core] Switched from culprit to transaction for automatic transaction reporting.
* [CI] Removed py3.3 from build
* [Django] resolved an issue where the log integration would override the user.

6.8.0

------------------
* [Core] Fixed DSNs without secrets not sending events.
* [Core] Added lazy import for pkg_resources
* [Core] Added NamedTuple Serializer
* [Sanic] Fixed sanic integration dependencies
* [Django] Fixed sql hook bug

6.7.0

------------------
* [Sanic] Added support for sanic.
* [Core] Disabled dill logger by default
* [Core] Added `SENTRY_NAME`, `SENTRY_ENVIRONMENT` and `SENTRY_RELEASE` 
      environment variables
* [Core] DSN secret is now optional
* [Core] Added fix for cases with exceptions in repr
* [core] Fixed bug with mutating `record.data`

6.6.0

------------------
* [Core] Add trimming to breadcrumbs.
* [Core] Improve host message at startup.
* [Core] Update pytest to work on other environments

6.5.0

------------------
* [Core] Fixed missing deprecation on `processors.SanitizePasswordsProcessor`
* [Core] Improve exception handling in `Serializer.transform`
* [Core] Fixed `celery.register_logger_signal` ignoring subclasses
* [Core] Fixed sanitizer skipping `byte` instances
* [Lambda] Fixed `AttributeError` when `requestContext` not present

6.4.0

------------------
* [Core] Support for defining `sanitized_keys` on the client (pr/990)
* [Django] Support for Django 2.0 Urlresolver
* [Docs] Several fixes and improvements

6.3.0

------------------
* [Core] Changed default timeout on http calls to 5 seconds
* [Core] Fixed relative paths for traces generated on Windows
* [Django] Fixed import issues for Django projects < 1.7
* [Django] Fixed django management command data option
* [Django/DRF] Added `application/octet-stream` to non-cacheable types in middleware
* [Django] Added parsing X-Forwarded-For for `user.ip_address`
* [Flask] Added `request.remote_addr` as fallback for ip addresses
* [Lambda] Added initial AWS Lambda support with `contrib.awslambda.LambdaClient`

6.2.1

------------------

* [Core] Fixed requirements in setup.py

6.2.0

------------------

* [Core] `get_frame_locals` properly using `max_var_size`
* [Core] Fixed raven initialization when `logging._srcfile` is None
* [Core] Fixed import locking to avoid recursion
* [Django] Fixed several issues for Django 1.11 and Django 2.0
* [Django/DRF] Fixed issue with unavailable request data
* [Flask] Added app.logger instrumentation
* [Flask] Added signal on setup_logging
* [ZConfig] Added standalone ZConfig support
* [Celery] Fixed several issues related to Celery

6.1.0

------------------

* Support both string and class values for ``ignore_exceptions`` parameters.
Class values also support child exceptions.
* Ensure consistent fingerprint for SoftTimeLimitExceeded exceptions
* Add sample_rate configuration
* fix registration of hooks for Django

6.0.0

------------------

* Strip whitespace from DSNs automatically.
* Add `last_event_id` accessor to `Client`.
* Do not require `sys.argv` to be available any more.
* Tags defined on a logging handler will now be merged with individual log record's tags.
* Added explicit support for multidicts in the django client.
* Refactored transports to support multiple URLs.  This might affect
you if you have custom subclasses of those.  The main change is that
the URL parameter moved from the constructor into the `send` method.
* Corrected an issue with recursive route resolvers which commonly
affected things like django-tastyepie.
* Corrected an issue where Django's HTTP request was not always available
within events.

5.32.0

-------------------

* Made raven python breadcrumb patches work when librato monkey
patches logging.

5.31.0

-------------------

* Improved fix for the Django middleware regression.

5.30.0

-------------------

* Keep the original type for the django middleware settings if we
change them.

5.29.0

-------------------

* Added `register_logging_handler`.
* Removed bad mixin from django's WSGI middleware
* Removed "support for extracing data from rest_framework" because
this broke code.

5.28.0

-------------------

* Corrected an issue that caused `close()` on WSGI iterables to not be
correctly called.
* Fixes the new Django 1.10 `MIDDLEWARE_CLASSES` warning.

5.27.1

-------------------

* Bugfix for transaction based culprits.

5.27.0

-------------------

* Added support for extracting data from rest_framework in Django integration
* Updated CA bundle.
* Added transaction-based culprits for Celery, Django, and Flask.
* Fixed an issue where ``ignore_exceptions`` wasn't respected.

5.26.0

-------------------

* Fixed potential concurrency issue with event IDs in the Flask integration.
* Added a workaround for leakage when broken WSGI middlware or servers are
used that do not call `close()` on the iterat.r

5.25.0

-------------------

* Added various improvements for the WSGI and Django support.
* Prevent chained exception recursion
* In environments which look like AWS Lambda or Google App Engine utilize the
synchronous transport.
* Added Celery config option to ignore expected exceptions
* Improved DSN handling in Flask client.

5.24.0

-------------------

* Added support for Django 1.10.
* Added support for chained exceptions in Python 3.
* Fixed various behavior with handling template errors in Django 1.8+.

5.23.0

-------------------

* Sentry failures now no longer log the failure data in the error
message.

5.22.0

-------------------

* Fixed template reporting not working for certain versions of Django.

5.21.0

-------------------

* Add formatted attribute to message events
* Fill in empty filename if django fails to give one for
template information on newer Django versions with disabled
debug mode.

5.20.0

-------------------

* fixed an error that could cause certain SQL queries to fail to
record as breadcrumbs if no parameters were supplied.

5.19.0

-------------------

* remove duration from SQL query breadcrumbs. This was not rendered
in the UI and will come back in future versions of Sentry with a
different interface.
* resolved a bug that caused crumbs to be recorded incorrectly.

5.18.0

--------------------

* Breadcrumbs are now attempted to be deduplicated to catch some common
cases where log messages just spam up the breadcrumbs.
* Improvements to the public breadcrumbs API and stabilized some.
* Automatically activate the context on calls to `merge`

5.17.0

-------------------

* if breadcrumbs fail to process due to an error they are now skipped.

5.16.0

-------------------

* exc_info is no longer included in logger based breadcrumbs.
* log the entire logger name as category.
* added a `enable_breadcrumbs` flag to the client to allow the enabling or
disabling of breadcrumbs quickly.
* corrected an issue where python interpreters with bytecode writing enabled
would report incorrect logging locations when breadcrumb patching for
logging was enabled.

5.15.0

-------------------

* Improve thread binding for the context.  This makes the main thread never
deactivate the client automatically on clear which means that more code
should automatically support breadcrumbs without changes.

5.14.0

-------------------

* Added support for reading git sha's from packed references.
* Detect disabled thread support for uwsgi.
* Added preliminary support for breadcrumbs.

Note: this version adds breadcrumbs to events.  This means that if you run a
Sentry version older than 8.5 you will see some warnings in the UI.  Consider
using an older version of the client if you do not want to see it.

5.13.0

-------------------

* Resolved an issue where Raven would fail with an exception if the
package name did not match the setuptools name in some isolated
cases.

5.12.0

-------------------

* Empty and otherwise falsy (None, False, 0) DSN values are now assumed
to be equivalent to no DSN being provided.

5.11.2

-------------------

* Added a workaround for back traceback objects passed to raven.  In these
cases we now wobble further along to at least log something.

5.11.1

-------------------

* The raven client supports the stacktrace to be absent.  This improves support
with celery and multiprocessing.

5.11.0

-------------------

* ``Client.configure_logging`` has been removed, and handlers will not automatically
be added to 'sentry' and 'raven' namespaces.
* Improved double error check
* Restored support for exc_info is True.

5.10.2

-------------------

* Remember exceptions in flight until the context is cleared so that two
reports with the same exception data do not result in two errors
being logged.
* Allow logging exclusions.

5.10.1

-------------------

* Fixed a problem where bytes as keys in dictionaries caused problems
on data sanitization if those bytes were outside of the ASCII range.
* Django client no longer requires the user object to be a subclass
of the base model.
* Corrected an issue with the Django log handler which would cause a recursive import.

5.10.0

-------------------

* Restore template debug support for Django 1.9 and newer.
* Correctly handle SSL verification disabling for newer Python versions.

5.9.2

------------------

* Correct behavior introduced for Django 1.9.

5.9.1

------------------

* Support for isolated apps in Django 1.9.

5.9.0

------------------

* The threaded worker will now correctly handle forking.
* The 'environment' parameter is now supported (requires a Sentry 8.0 server ).
* 'tags' can now be specified as part of a LoggingHandler's constructor.

5.8.0

------------------

* Added support for detecting `release` on Heroku.
* pkg_resources is now prioritized for default version detection.
* Updated `in_app` support to include exception frames.
* Fixed support for `SENTRY_USER_ATTRS` in Flask.
* Handle DSNs which are sent as unicode values in Python 2.

5.7.2

------------------

* Handle passing ``fingerprint`` through logging handler.

5.7.1

------------------

* Correctly handle SHAs in .git/HEAD.
* Fixed several cases of invalid Python3 syntax.

5.7.0

------------------

* Reverted changes to Celery which incorrectly caused some configurations
to log unwanted messages.
* Improved behavior in ``fetch_git_sha``.
* Removed ``is_authenticated`` property from most integrations.
* Better error handling for errors within Flask context.
* Support for new versions of Flask-Login.
* Update Tornado support for modern versions.
* Update stacktrace truncation code to match current versions of Sentry server.

5.6.0

------------------

* Content is no longer base64-encoded.
* ``fingerprint`` is now correctly supported.
* Django: 1.9 compatibility.
* Celery: Filter ``celery.redirect`` logger.

5.5.0

------------------

* Added ``sys.excepthook`` handler (installed by default).
* Fixed an issue where ``wrap_wsgi`` wasn't being respected.
* Various deprecated code removed.

5.4.4

------------------

* Enforce string-type imports.

5.4.3

------------------

* Python 3 compatibility fixes.

5.4.2

------------------

* Remove scheme checking on transports.
* Added ``SENTRY_TRANSPORT`` to Flask and Django configurations.

5.4.1

------------------

* Fixed packaging of 5.4.0 which erronously kept the ``aiohttp.py`` file in the wheel only.

5.4.0

------------------

* Binding transports via a scheme prefix on DSNs is now deprecated.
* ``raven.conf.load`` has been removed.
* Upstream-related configuration (such as url, project_id, and keys) is now contained in ``RemoteConfig``
attached to ``Client.remote``
* The ``aiohttp`` transport has been moved to ``raven-aiohttp`` package.

5.3.1

------------------

* Restored support for patching Django's BaseCommand.execute.

5.3.0

------------------

* The UDP transport has been removed.
* The integrated Sentry+Django client has been removed. This is now part of Sentry core.
* Server configuration *must* now be specified with a DSN.
* Upstream errors now have increased verbosity in logs.
* Unsent events now log to 'sentry.errors.uncaught'.
* Django management commands should now effectively autopatch (when run from the CLI).
* Flask wrapper now includes user_context, tags_context, and extra_context helpers.
* Python version is now reported with modules.

5.2.0

------------------

* Protocol version is now 6 (requires Sentry 7.0 or newer).
* Added ``release`` option to Client.
* Added ``fetch_git_sha`` helper.
* Added ``fetch_package_version`` helper.
* Added cookie string sanitizing.
* Added threaded request transport: "threaded+requests+http(s)".

5.1.0

------------------

* Added aiohttp transport.
* Corrected behavior with auto_log_stacks and exceptions.
* Add support for certifi.
* Expanded Flask support.
* Expanded Django support.
* Corrected an issue where processors were not correctly applying.

5.0.0

------------------

* Sentry client protocol is now version 5.
* Various improvements to threaded transport.

4.2.0

------------------

* SSL verification is now on by default.
* Rate limits and other valid API errors are now handled more gracefully.
* Added ``last_event_id`` and ``X-Sentry-ID`` header to Flask.

4.1.0

------------------

* Added verify_ssl option to HTTP transport (defaults to False).
* Added capture_locals option (defaults to True).
* message can now be passed to capture* functions.
* Django <1.4 is no longer supported.
* Function object serialization has been improved.
* SanitizePasswordsProcessor removes API keys.

4.0.0

------------------

* Sentry client protocol is now version 4.

3.6.0

------------------

This changelog does not attempt to account for all changes between 3.6.0 and 3.0.0, but
rather focuses on recent important changes

* Transport modules paths have been refactored.
* The threaded transport is now the default.
* Client.context has changed. Please see documentation for new API.
* Client.user_context was added.
* Client.http_context was added.
* Client.extra_context was added.
* Client.tags_context was added.
* Flask support has been greatly improved.
* raven.contrib.celery.Client has been removed as it was invalid.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant