Skip to content

Commit 5189a96

Browse files
authored
Remove previous rc from changelog
1 parent 20e276e commit 5189a96

File tree

1 file changed

+0
-83
lines changed

1 file changed

+0
-83
lines changed

CHANGELOG.md

Lines changed: 0 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -84,89 +84,6 @@
8484
- Passing a function to `sentry_sdk.init`'s `transport` keyword argument has been deprecated. If you wish to provide a custom transport, please pass a `sentry_sdk.transport.Transport` instance or a subclass.
8585
- The parameter `propagate_hub` in `ThreadingIntegration()` was deprecated and renamed to `propagate_scope`.
8686

87-
## 2.0.0rc1
88-
89-
## New Features
90-
91-
- Additional integrations will now be activated automatically if the SDK detects the respective package is installed: Ariadne, ARQ, asyncpg, Chalice, clickhouse-driver, GQL, Graphene, huey, Loguru, PyMongo, Quart, Starlite, Strawberry.
92-
93-
## Changed
94-
95-
- The Pyramid integration will not capture errors that might happen in `authenticated_userid()` in a custom `AuthenticationPolicy` class.
96-
- The method `need_code_loation` of the `MetricsAggregator` was renamed to `need_code_location`.
97-
- The `BackgroundWorker` thread used to process events was renamed from `raven-sentry.BackgroundWorker` to `sentry-sdk.BackgroundWorker`.
98-
- The `reraise` function was moved from `sentry_sdk._compat` to `sentry_sdk.utils`.
99-
- The `_ScopeManager` was moved from `sentry_sdk.hub` to `sentry_sdk.scope`.
100-
- Moved the contents of `tracing_utils_py3.py` to `tracing_utils.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`.
101-
- The actual implementation of `get_current_span` was moved to `sentry_sdk.tracing_utils`. `sentry_sdk.get_current_span` is still accessible as part of the top-level API.
102-
- `sentry_sdk.tracing_utils.get_current_span()` does now take a `scope` instead of a `hub` as parameter.
103-
- `sentry_sdk.utils._get_contextvars` does not return a tuple with three values, but a tuple with two values. The `copy_context` was removed.
104-
- If you create a transaction manually and later mutate the transaction in a `configure_scope` block this does not work anymore. Here is a recipe on how to change your code to make it work:
105-
Your existing implementation:
106-
```python
107-
transaction = sentry_sdk.transaction(...)
108-
109-
# later in the code execution:
110-
111-
with sentry_sdk.configure_scope() as scope:
112-
scope.set_transaction_name("new-transaction-name")
113-
```
114-
115-
needs to be changed to this:
116-
```python
117-
transaction = sentry_sdk.transaction(...)
118-
119-
# later in the code execution:
120-
121-
scope = sentry_sdk.Scope.get_current_scope()
122-
scope.set_transaction_name("new-transaction-name")
123-
```
124-
- The classes listed in the table below are now abstract base classes. Therefore, they can no longer be instantiated. Subclasses can only be instantiated if they implement all of the abstract methods.
125-
<details>
126-
<summary><b>Show table</b></summary>
127-
128-
| Class | Abstract methods |
129-
| ------------------------------------- | -------------------------------------- |
130-
| `sentry_sdk.integrations.Integration` | `setup_once` |
131-
| `sentry_sdk.metrics.Metric` | `add`, `serialize_value`, and `weight` |
132-
| `sentry_sdk.profiler.Scheduler` | `setup` and `teardown` |
133-
| `sentry_sdk.transport.Transport` | `capture_envelope` |
134-
135-
</details>
136-
137-
## Removed
138-
139-
- Removed support for Python 2 and Python 3.5. The SDK now requires at least Python 3.6.
140-
- Removed support for Celery 3.\*.
141-
- Removed support for Django 1.8, 1.9, 1.10.
142-
- Removed support for Flask 0.\*.
143-
- Removed `last_event_id()` top level API. The last event ID is still returned by `capture_event()`, `capture_exception()` and `capture_message()` but the top level API `sentry_sdk.last_event_id()` has been removed.
144-
- Removed support for sending events to the `/store` endpoint. Everything is now sent to the `/envelope` endpoint. If you're on SaaS you don't have to worry about this, but if you're running Sentry yourself you'll need version `20.6.0` or higher of self-hosted Sentry.
145-
- The deprecated `with_locals` configuration option was removed. Use `include_local_variables` instead. See https://docs.sentry.io/platforms/python/configuration/options/#include-local-variables.
146-
- The deprecated `request_bodies` configuration option was removed. Use `max_request_body_size`. See https://docs.sentry.io/platforms/python/configuration/options/#max-request-body-size.
147-
- Removed support for `user.segment`. It was also removed from the trace header as well as from the dynamic sampling context.
148-
- Removed support for the `install` method for custom integrations. Please use `setup_once` instead.
149-
- Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead.
150-
- Removed `sentry_sdk.tracing.Transaction.new_span`. Use `sentry_sdk.tracing.Transaction.start_child` instead.
151-
- Removed `sentry_sdk.utils.Auth.store_api_url`.
152-
- `sentry_sdk.utils.Auth.get_api_url`'s now accepts a `sentry_sdk.consts.EndpointType` enum instead of a string as its only parameter. We recommend omitting this argument when calling the function, since the parameter's default value is the only possible `sentry_sdk.consts.EndpointType` value. The parameter exists for future compatibility.
153-
- Removed `tracing_utils_py2.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`.
154-
- Removed the `sentry_sdk.profiler.Scheduler.stop_profiling` method. Any calls to this method can simply be removed, since this was a no-op method.
155-
156-
## Deprecated
157-
158-
- `profiler_mode` and `profiles_sample_rate` have been deprecated as `_experiments` options. Use them as top level options instead:
159-
```python
160-
sentry_sdk.init(
161-
...,
162-
profiler_mode="thread",
163-
profiles_sample_rate=1.0,
164-
)
165-
```
166-
- Deprecated `sentry_sdk.transport.Transport.capture_event`. Please use `sentry_sdk.transport.Transport.capture_envelope`, instead.
167-
- Passing a function to `sentry_sdk.init`'s `transport` keyword argument has been deprecated. If you wish to provide a custom transport, please pass a `sentry_sdk.transport.Transport` instance or a subclass.
168-
- The parameter `propagate_hub` in `ThreadingIntegration()` was deprecated and renamed to `propagate_scope`.
169-
17087
## 1.42.0
17188

17289
### Various fixes & improvements

0 commit comments

Comments
 (0)