Skip to content

Commit 134de38

Browse files
docs: Reword need_code_location rename note to avoid typos ignore
Co-Authored-By: Ivana Kellyer <131587164+sentrivana@users.noreply.github.com>
1 parent 4bb19ca commit 134de38

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎MIGRATION_GUIDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Looking to upgrade from Sentry SDK 1.x to 2.x? Here's a comprehensive list of wh
1010
## Changed
1111

1212
- The Pyramid integration will not capture errors that might happen in `authenticated_userid()` in a custom `AuthenticationPolicy` class.
13-
- The method `need_code_loation` of the `MetricsAggregator` was renamed to `need_code_location`.
13+
- A typo in the name of the `MetricsAggregator` method `need_code_location` was fixed.
1414
- The `BackgroundWorker` thread used to process events was renamed from `raven-sentry.BackgroundWorker` to `sentry-sdk.BackgroundWorker`.
1515
- The `reraise` function was moved from `sentry_sdk._compat` to `sentry_sdk.utils`.
1616
- The `_ScopeManager` was moved from `sentry_sdk.hub` to `sentry_sdk.scope`.

‎_typos.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[default]
44
extend-ignore-re = [
55
"baGGage", # tests that header matching ignores case
6-
"need_code_loation", # old method name quoted in MIGRATION_GUIDE.md
76
"deprecat\\(", # regex prefix in .github/release.yml
87
]
98

0 commit comments

Comments
 (0)