build(deps): bump actions/checkout from 4.1.1 to 4.1.4 (#3011) by @dependabot
build(deps): bump checkouts/data-schemas from 1e17eb5 to 4aa14a7 (#2997) by @dependabot
2.0.0
This is the first major update in a long time!
We dropped support for some ancient languages and frameworks (Yes, Python 2.7 is no longer supported). Additionally we refactored a big part of the foundation of the SDK (how data inside the SDK is handled).
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.
Added new API for custom instrumentation: new_scope, isolation_scope. See the Deprecated section to see how they map to the existing APIs.
Changed
(These changes are all backwards-incompatible. Breaking Change (if you are just skimming for that phrase))
The Pyramid integration will not capture errors that might happen in authenticated_userid() in a custom AuthenticationPolicy class.
The method need_code_loation of the MetricsAggregator was renamed to need_code_location.
The BackgroundWorker thread used to process events was renamed from raven-sentry.BackgroundWorker to sentry-sdk.BackgroundWorker.
The reraise function was moved from sentry_sdk._compat to sentry_sdk.utils.
The _ScopeManager was moved from sentry_sdk.hub to sentry_sdk.scope.
Moved the contents of tracing_utils_py3.py to tracing_utils.py. The start_child_span_decorator is now in sentry_sdk.tracing_utils.
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.
sentry_sdk.tracing_utils.add_query_source(): Removed the hub parameter. It is not necessary anymore.
sentry_sdk.tracing_utils.record_sql_queries(): Removed the hub parameter. It is not necessary anymore.
sentry_sdk.tracing_utils.get_current_span() does now take a scope instead of a hub as parameter.
sentry_sdk.tracing_utils.should_propagate_trace() now takes a Client instead of a Hub as first parameter.
sentry_sdk.utils.is_sentry_url() now takes a Client instead of a Hub as first parameter.
sentry_sdk.utils._get_contextvars does not return a tuple with three values, but a tuple with two values. The copy_context was removed.
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:
Your existing implementation:
build(deps): bump actions/checkout from 4.1.1 to 4.1.4 (#3011) by @dependabot
build(deps): bump checkouts/data-schemas from 1e17eb5 to 4aa14a7 (#2997) by @dependabot
2.0.0
This is the first major update in a long time!
We dropped support for some ancient languages and frameworks (Yes, Python 2.7 is no longer supported). Additionally we refactored a big part of the foundation of the SDK (how data inside the SDK is handled).
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.
Added new API for custom instrumentation: new_scope, isolation_scope. See the Deprecated section to see how they map to the existing APIs.
Changed
(These changes are all backwards-incompatible. Breaking Change (if you are just skimming for that phrase))
The Pyramid integration will not capture errors that might happen in authenticated_userid() in a custom AuthenticationPolicy class.
The method need_code_loation of the MetricsAggregator was renamed to need_code_location.
The BackgroundWorker thread used to process events was renamed from raven-sentry.BackgroundWorker to sentry-sdk.BackgroundWorker.
The reraise function was moved from sentry_sdk._compat to sentry_sdk.utils.
The _ScopeManager was moved from sentry_sdk.hub to sentry_sdk.scope.
Moved the contents of tracing_utils_py3.py to tracing_utils.py. The start_child_span_decorator is now in sentry_sdk.tracing_utils.
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.
sentry_sdk.tracing_utils.add_query_source(): Removed the hub parameter. It is not necessary anymore.
sentry_sdk.tracing_utils.record_sql_queries(): Removed the hub parameter. It is not necessary anymore.
sentry_sdk.tracing_utils.get_current_span() does now take a scope instead of a hub as parameter.
sentry_sdk.tracing_utils.should_propagate_trace() now takes a Client instead of a Hub as first parameter.
sentry_sdk.utils.is_sentry_url() now takes a Client instead of a Hub as first parameter.
sentry_sdk.utils._get_contextvars does not return a tuple with three values, but a tuple with two values. The copy_context was removed.
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:
Your existing implementation:
Bumps the python-packages group with 10 updates in the / directory:
0.110.0
0.110.3
2.6.4
2.7.1
1.44.0
2.0.1
0.23.0
0.28.0
2.18.0
2.19.0
2.124.0
2.127.0
1.62.0
1.63.0
0.2.1
0.4.2
8.1.1
8.2.0
7.4.3
7.5.0
Updates
fastapi
from 0.110.0 to 0.110.3Release notes
Sourced from fastapi's releases.
... (truncated)
Commits
32be95d
🔖 Release version 0.110.392b67b1
📝 Update release notese0a9692
📝 Update release notes62f8229
📝 Update release notesf49da74
🔨 Update internal scripts and remove unused ones (#11499)13ce009
📝 Update release notes41fcbc7
🔧 Migrate from Hatch to PDM for the internal build (#11498)bec2ec7
📝 Update release notes7b55bf3
📝 Update references to Python version, FastAPI supports all the current versi...285ac01
📝 Update release notesUpdates
pydantic
from 2.6.4 to 2.7.1Release notes
Sourced from pydantic's releases.
... (truncated)
Changelog
Sourced from pydantic's changelog.
... (truncated)
Commits
2612947
2.7.1 release prep (#9307)2b8efa2
Move TODO regarding pickling to markdown (#9288)73d1049
adds test case for unexpected discriminated union behavior (#9236)c33b925
Change CI to usemacos-13
for Python 3.8 and 3.9 (#9305)82e4664
Fix model json schema with config types (#9287)a0f18e3
Fix bullets in Strict Mode docs (#9296)77b0e1c
Address case where model_construct on a class which defines model_post_init f...6322b24
Fixstrict
application tofunction-after
withuse_enum_values
(#9279)bb857bd
docs(performance): remove section on literal vs enum performance (#9262)3c15a8b
docs: makeTypeAdapter
example PEP-8 compliant (#9268)Updates
sentry-sdk[fastapi]
from 1.44.0 to 2.0.1Release notes
Sourced from sentry-sdk[fastapi]'s releases.
... (truncated)
Changelog
Sourced from sentry-sdk[fastapi]'s changelog.
... (truncated)
Commits
882ed7f
Updated changelogce89048
release: 2.0.1162773c
fix(integrations): Do not use convenience decorator (#3022)a626f01
Add Lambda function that deletes test Lambda functions (#2960)f5db9ce
Refactoring propagation context (#2970)d91a510
Usepid
for test database name in Django tests (#2998)534a301
test(tracing): Add tests for discarded transaction debug messages5aa7c9b
fix(tracing): Correct discarded transaction debug messagebda9deb
docs(tracing): Delete inaccurate comment6a73368
build(deps): bump checkouts/data-schemas from1e17eb5
to4aa14a7
(#2997)Updates
logfire[fastapi]
from 0.23.0 to 0.28.0Release notes
Sourced from logfire[fastapi]'s releases.
... (truncated)
Commits
Updates
google-api-core
from 2.18.0 to 2.19.0Release notes
Sourced from google-api-core's releases.
Changelog
Sourced from google-api-core's changelog.
Commits
7d87462
chore(main): release 2.19.0 (#646)a7b53e9
feat: add google.api_core.version_header (#638)07dfc93
chore(deps): update all dependencies (#634)828ffe1
chore(python): bump idna from 3.4 to 3.7 in .kokoro (#640)c38dd1e
docs: fix docs session (#636)Updates
google-api-python-client
from 2.124.0 to 2.127.0Release notes
Sourced from google-api-python-client's releases.