pydantic/pydantic-extra-types (pydantic-extra-types)
### [`v2.8.0`](https://togithub.com/pydantic/pydantic-extra-types/blob/HEAD/HISTORY.md#280)
[Compare Source](https://togithub.com/pydantic/pydantic-extra-types/compare/v2.7.0...v2.8.0)
##### Refactor
- ♻️ refactor some functions & minor changes. [#180](https://togithub.com/pydantic/pydantic-extra-types/pull/180) by [@yezz123](https://togithub.com/yezz123)
##### Internal
- Allow requiring extra dependencies. [#178](https://togithub.com/pydantic/pydantic-extra-types/pull/178) by [@yezz123](https://togithub.com/yezz123)
##### Types
- Add ISO 15924 and tests. [#174](https://togithub.com/pydantic/pydantic-extra-types/pull/174) by [@07pepa](https://togithub.com/07pepa)
- add native datetime to pendulum_dt.py. [#176](https://togithub.com/pydantic/pydantic-extra-types/pull/176) by [@07pepa](https://togithub.com/07pepa)
- add hash and eq to phone_numbers. [#177](https://togithub.com/pydantic/pydantic-extra-types/pull/177) by [@07pepa](https://togithub.com/07pepa)
##### Dependencies
- ⬆ Bump the python-packages group with 5 updates. PR [#179](https://togithub.com/pydantic/pydantic-extra-types/pull/179) by [@dependabot](https://togithub.com/dependabot)
- ⬆ Bump the python-packages group with 4 updates. PR [#171](https://togithub.com/pydantic/pydantic-extra-types/pull/171) by [@dependabot](https://togithub.com/dependabot)
pydantic/pydantic-settings (pydantic-settings)
### [`v2.3.1`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.3.1)
[Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.3.0...v2.3.1)
#### What's Changed
- Fix a regression in parsing env value for nested dict by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/301](https://togithub.com/pydantic/pydantic-settings/pull/301)
**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.3.0...v2.3.1
### [`v2.3.0`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.3.0)
[Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.2.1...v2.3.0)
#### What's Changed
- Add environment parsing support for enums. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/252](https://togithub.com/pydantic/pydantic-settings/pull/252)
- Improve `explode_env_vars` for better dict handling by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/261](https://togithub.com/pydantic/pydantic-settings/pull/261)
- add `PyprojectTomlConfigSettingsSource` by [@ITProKyle](https://togithub.com/ITProKyle) in [https://github.com/pydantic/pydantic-settings/pull/255](https://togithub.com/pydantic/pydantic-settings/pull/255)
- Fix broken link in AliasChoices class by [@keenranger](https://togithub.com/keenranger) in [https://github.com/pydantic/pydantic-settings/pull/271](https://togithub.com/pydantic/pydantic-settings/pull/271)
- Update Pydantic by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/273](https://togithub.com/pydantic/pydantic-settings/pull/273)
- fix: superfluous deep env conflicts with non-dict model leaf by [@diefans](https://togithub.com/diefans) in [https://github.com/pydantic/pydantic-settings/pull/276](https://togithub.com/pydantic/pydantic-settings/pull/276)
- fix: a second level of environment nesting expected a dict by [@diefans](https://togithub.com/diefans) in [https://github.com/pydantic/pydantic-settings/pull/281](https://togithub.com/pydantic/pydantic-settings/pull/281)
- Fix an issue when inner types of a discriminated union with a callable discriminator were not correctly identified as complex. by [@jenskeiner](https://togithub.com/jenskeiner) in [https://github.com/pydantic/pydantic-settings/pull/285](https://togithub.com/pydantic/pydantic-settings/pull/285)
- Fix a bug when we have case insentive field in nested model by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/294](https://togithub.com/pydantic/pydantic-settings/pull/294)
- Add CLI Settings Source by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/214](https://togithub.com/pydantic/pydantic-settings/pull/214)
#### New Contributors
- [@ITProKyle](https://togithub.com/ITProKyle) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/255](https://togithub.com/pydantic/pydantic-settings/pull/255)
- [@keenranger](https://togithub.com/keenranger) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/271](https://togithub.com/pydantic/pydantic-settings/pull/271)
- [@diefans](https://togithub.com/diefans) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/276](https://togithub.com/pydantic/pydantic-settings/pull/276)
- [@jenskeiner](https://togithub.com/jenskeiner) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/285](https://togithub.com/pydantic/pydantic-settings/pull/285)
**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.2.1...v2.3.0
pytest-dev/pytest (pytest)
### [`v8.2.2`](https://togithub.com/pytest-dev/pytest/releases/tag/8.2.2)
[Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.2.1...8.2.2)
# pytest 8.2.2 (2024-06-04)
## Bug Fixes
- [#12355](https://togithub.com/pytest-dev/pytest/issues/12355): Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
- [#12367](https://togithub.com/pytest-dev/pytest/issues/12367): Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
- [#12381](https://togithub.com/pytest-dev/pytest/issues/12381): Fix possible "Directory not empty" crashes arising from concurent cache dir (`.pytest_cache`) creation. Regressed in pytest 8.2.0.
## Improved Documentation
- [#12290](https://togithub.com/pytest-dev/pytest/issues/12290): Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
- [#12356](https://togithub.com/pytest-dev/pytest/issues/12356): Added a subsection to the documentation for debugging flaky tests to mention
lack of thread safety in pytest as a possible source of flakyness.
- [#12363](https://togithub.com/pytest-dev/pytest/issues/12363): The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
astral-sh/ruff (ruff)
### [`v0.4.8`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#048)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.7...v0.4.8)
##### Performance
- Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them ([#11457](https://togithub.com/astral-sh/ruff/pull/11457))
##### Preview features
- \[`flake8-bugbear`] Implement `return-in-generator` (`B901`) ([#11644](https://togithub.com/astral-sh/ruff/pull/11644))
- \[`flake8-pyi`] Implement `PYI063` ([#11699](https://togithub.com/astral-sh/ruff/pull/11699))
- \[`pygrep_hooks`] Check blanket ignores via file-level pragmas (`PGH004`) ([#11540](https://togithub.com/astral-sh/ruff/pull/11540))
##### Rule changes
- \[`pyupgrade`] Update `UP035` for Python 3.13 and the latest version of `typing_extensions` ([#11693](https://togithub.com/astral-sh/ruff/pull/11693))
- \[`numpy`] Update `NPY001` rule for NumPy 2.0 ([#11735](https://togithub.com/astral-sh/ruff/pull/11735))
##### Server
- Formatting a document with syntax problems no longer spams a visible error popup ([#11745](https://togithub.com/astral-sh/ruff/pull/11745))
##### CLI
- Add RDJson support for `--output-format` flag ([#11682](https://togithub.com/astral-sh/ruff/pull/11682))
##### Bug fixes
- \[`pyupgrade`] Write empty string in lieu of panic when fixing `UP032` ([#11696](https://togithub.com/astral-sh/ruff/pull/11696))
- \[`flake8-simplify`] Simplify double negatives in `SIM103` ([#11684](https://togithub.com/astral-sh/ruff/pull/11684))
- Ensure the expression generator adds a newline before `type` statements ([#11720](https://togithub.com/astral-sh/ruff/pull/11720))
- Respect per-file ignores for blanket and redirected noqa rules ([#11728](https://togithub.com/astral-sh/ruff/pull/11728))
getsentry/sentry-python (sentry-sdk)
### [`v2.5.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#251)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.5.0...2.5.1)
This change fixes a regression in our cron monitoring feature, which caused cron checkins not to be sent. The regression appears to have been introduced in version 2.4.0.
**We recommend that all users, who use Cron monitoring and are currently running sentry-python ≥2.4.0, upgrade to this release as soon as possible!**
##### Other fixes & improvements
- feat(tracing): Warn if not-started transaction entered ([#3003](https://togithub.com/getsentry/sentry-python/issues/3003)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
- test(scope): Ensure `last_event_id` cleared ([#3124](https://togithub.com/getsentry/sentry-python/issues/3124)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
- fix(scope): Clear last_event_id on scope clear ([#3124](https://togithub.com/getsentry/sentry-python/issues/3124)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
### [`v2.5.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#250)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.4.0...2.5.0)
##### Various fixes & improvements
- Allow to configure status codes to report to Sentry in Starlette and FastAPI ([#3008](https://togithub.com/getsentry/sentry-python/issues/3008)) by [@sentrivana](https://togithub.com/sentrivana)
By passing a new option to the FastAPI and Starlette integrations, you're now able to configure what
status codes should be sent as events to Sentry. Here's how it works:
```python
from sentry_sdk.integrations.starlette import StarletteIntegration
from sentry_sdk.integrations.fastapi import FastApiIntegration
sentry_sdk.init(
```
### ...
integrations=[
StarletteIntegration(
failed_request_status_codes=[403, range(500, 599)],
),
FastApiIntegration(
failed_request_status_codes=[403, range(500, 599)],
),
]
)
```
`failed_request_status_codes` expects a list of integers or containers (objects that allow membership checks via `in`)
of integers. Examples of valid `failed_request_status_codes`:
- `[500]` will only send events on HTTP 500.
- `[400, range(500, 599)]` will send events on HTTP 400 as well as the 500-599 range.
- `[500, 503]` will send events on HTTP 500 and 503.
The default is `[range(500, 599)]`.
See the [FastAPI](https://docs.sentry.io/platforms/python/integrations/fastapi/) and [Starlette](https://docs.sentry.io/platforms/python/integrations/starlette/) integration docs for more details.
- Support multiple keys with `cache_prefixes` (#3136) by @sentrivana
- Support integer Redis keys (#3132) by @sentrivana
- Update SDK version in CONTRIBUTING.md (#3129) by @sentrivana
- Bump actions/checkout from 4.1.4 to 4.1.5 (#3067) by @dependabot
```
### [`v2.4.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#240)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.3.1...2.4.0)
##### Various fixes & improvements
- Celery: Made `cache.key` span data field a list ([#3110](https://togithub.com/getsentry/sentry-python/issues/3110)) by [@antonpirker](https://togithub.com/antonpirker)
- Celery Beat: Refactor the Celery Beat integration ([#3105](https://togithub.com/getsentry/sentry-python/issues/3105)) by [@antonpirker](https://togithub.com/antonpirker)
- GRPC: Add None check for grpc.aio interceptor ([#3109](https://togithub.com/getsentry/sentry-python/issues/3109)) by [@ordinary-jamie](https://togithub.com/ordinary-jamie)
- Docs: Remove `last_event_id` from migration guide ([#3126](https://togithub.com/getsentry/sentry-python/issues/3126)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
- fix(django): Proper transaction names for i18n routes ([#3104](https://togithub.com/getsentry/sentry-python/issues/3104)) by [@sentrivana](https://togithub.com/sentrivana)
- fix(scope): Copy `_last_event_id` in `Scope.__copy__` ([#3123](https://togithub.com/getsentry/sentry-python/issues/3123)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
- fix(tests): Adapt to new Anthropic version ([#3119](https://togithub.com/getsentry/sentry-python/issues/3119)) by [@sentrivana](https://togithub.com/sentrivana)
- build(deps): bump checkouts/data-schemas from `4381a97` to `59f9683` ([#3066](https://togithub.com/getsentry/sentry-python/issues/3066)) by [@dependabot](https://togithub.com/dependabot)
tiangolo/sqlmodel (sqlmodel)
### [`v0.0.19`](https://togithub.com/tiangolo/sqlmodel/releases/tag/0.0.19)
[Compare Source](https://togithub.com/tiangolo/sqlmodel/compare/0.0.18...0.0.19)
##### Fixes
- 🐛 Fix pydantic `EmailStr` support and `max_length` in several String subclasses. PR [#966](https://togithub.com/tiangolo/sqlmodel/pull/966) by [@estebanx64](https://togithub.com/estebanx64).
- 🐛 Fix set varchar limit when `max_length` is set on Pydantic models using Pydantic v2. PR [#963](https://togithub.com/tiangolo/sqlmodel/pull/963) by [@estebanx64](https://togithub.com/estebanx64).
##### Refactors
- ♻️ Refactor generate select template to isolate templated code to the minimum. PR [#967](https://togithub.com/tiangolo/sqlmodel/pull/967) by [@tiangolo](https://togithub.com/tiangolo).
##### Upgrades
- ⬆️ Update minimum SQLAlchemy version to 2.0.14 as that one includes `TryCast` used internally. PR [#964](https://togithub.com/tiangolo/sqlmodel/pull/964) by [@tiangolo](https://togithub.com/tiangolo).
##### Docs
- ✏️ Fix broken link to `@dataclass_transform` (now PEP 681) in `docs/features.md`. PR [#753](https://togithub.com/tiangolo/sqlmodel/pull/753) by [@soof-golan](https://togithub.com/soof-golan).
##### Internal
- ⬆️ Upgrade Ruff and Black. PR [#968](https://togithub.com/tiangolo/sqlmodel/pull/968) by [@tiangolo](https://togithub.com/tiangolo).
- ⬆ Bump tiangolo/issue-manager from 0.4.1 to 0.5.0. PR [#922](https://togithub.com/tiangolo/sqlmodel/pull/922) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot).
- 📌 Pin typing-extensions in tests for compatiblity with Python 3.8, dirty-equals, Pydantic. PR [#965](https://togithub.com/tiangolo/sqlmodel/pull/965) by [@tiangolo](https://togithub.com/tiangolo).
- 👷 Update GitHub Actions to download and upload artifacts. PR [#936](https://togithub.com/tiangolo/sqlmodel/pull/936) by [@tiangolo](https://togithub.com/tiangolo).
- 👷 Tweak CI for test-redistribute, add needed env vars for slim. PR [#929](https://togithub.com/tiangolo/sqlmodel/pull/929) by [@tiangolo](https://togithub.com/tiangolo).
Configuration
📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==2.7.0
->==2.8.0
==2.2.1
->==2.3.1
==8.2.1
->==8.2.2
==0.4.7
->==0.4.8
==2.3.1
->==2.5.1
==0.0.18
->==0.0.19
Release Notes
pydantic/pydantic-extra-types (pydantic-extra-types)
### [`v2.8.0`](https://togithub.com/pydantic/pydantic-extra-types/blob/HEAD/HISTORY.md#280) [Compare Source](https://togithub.com/pydantic/pydantic-extra-types/compare/v2.7.0...v2.8.0) ##### Refactor - ♻️ refactor some functions & minor changes. [#180](https://togithub.com/pydantic/pydantic-extra-types/pull/180) by [@yezz123](https://togithub.com/yezz123) ##### Internal - Allow requiring extra dependencies. [#178](https://togithub.com/pydantic/pydantic-extra-types/pull/178) by [@yezz123](https://togithub.com/yezz123) ##### Types - Add ISO 15924 and tests. [#174](https://togithub.com/pydantic/pydantic-extra-types/pull/174) by [@07pepa](https://togithub.com/07pepa) - add native datetime to pendulum_dt.py. [#176](https://togithub.com/pydantic/pydantic-extra-types/pull/176) by [@07pepa](https://togithub.com/07pepa) - add hash and eq to phone_numbers. [#177](https://togithub.com/pydantic/pydantic-extra-types/pull/177) by [@07pepa](https://togithub.com/07pepa) ##### Dependencies - ⬆ Bump the python-packages group with 5 updates. PR [#179](https://togithub.com/pydantic/pydantic-extra-types/pull/179) by [@dependabot](https://togithub.com/dependabot) - ⬆ Bump the python-packages group with 4 updates. PR [#171](https://togithub.com/pydantic/pydantic-extra-types/pull/171) by [@dependabot](https://togithub.com/dependabot)pydantic/pydantic-settings (pydantic-settings)
### [`v2.3.1`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.3.1) [Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.3.0...v2.3.1) #### What's Changed - Fix a regression in parsing env value for nested dict by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/301](https://togithub.com/pydantic/pydantic-settings/pull/301) **Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.3.0...v2.3.1 ### [`v2.3.0`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.3.0) [Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.2.1...v2.3.0) #### What's Changed - Add environment parsing support for enums. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/252](https://togithub.com/pydantic/pydantic-settings/pull/252) - Improve `explode_env_vars` for better dict handling by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/261](https://togithub.com/pydantic/pydantic-settings/pull/261) - add `PyprojectTomlConfigSettingsSource` by [@ITProKyle](https://togithub.com/ITProKyle) in [https://github.com/pydantic/pydantic-settings/pull/255](https://togithub.com/pydantic/pydantic-settings/pull/255) - Fix broken link in AliasChoices class by [@keenranger](https://togithub.com/keenranger) in [https://github.com/pydantic/pydantic-settings/pull/271](https://togithub.com/pydantic/pydantic-settings/pull/271) - Update Pydantic by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/273](https://togithub.com/pydantic/pydantic-settings/pull/273) - fix: superfluous deep env conflicts with non-dict model leaf by [@diefans](https://togithub.com/diefans) in [https://github.com/pydantic/pydantic-settings/pull/276](https://togithub.com/pydantic/pydantic-settings/pull/276) - fix: a second level of environment nesting expected a dict by [@diefans](https://togithub.com/diefans) in [https://github.com/pydantic/pydantic-settings/pull/281](https://togithub.com/pydantic/pydantic-settings/pull/281) - Fix an issue when inner types of a discriminated union with a callable discriminator were not correctly identified as complex. by [@jenskeiner](https://togithub.com/jenskeiner) in [https://github.com/pydantic/pydantic-settings/pull/285](https://togithub.com/pydantic/pydantic-settings/pull/285) - Fix a bug when we have case insentive field in nested model by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/294](https://togithub.com/pydantic/pydantic-settings/pull/294) - Add CLI Settings Source by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/214](https://togithub.com/pydantic/pydantic-settings/pull/214) #### New Contributors - [@ITProKyle](https://togithub.com/ITProKyle) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/255](https://togithub.com/pydantic/pydantic-settings/pull/255) - [@keenranger](https://togithub.com/keenranger) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/271](https://togithub.com/pydantic/pydantic-settings/pull/271) - [@diefans](https://togithub.com/diefans) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/276](https://togithub.com/pydantic/pydantic-settings/pull/276) - [@jenskeiner](https://togithub.com/jenskeiner) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/285](https://togithub.com/pydantic/pydantic-settings/pull/285) **Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.2.1...v2.3.0pytest-dev/pytest (pytest)
### [`v8.2.2`](https://togithub.com/pytest-dev/pytest/releases/tag/8.2.2) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.2.1...8.2.2) # pytest 8.2.2 (2024-06-04) ## Bug Fixes - [#12355](https://togithub.com/pytest-dev/pytest/issues/12355): Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters. - [#12367](https://togithub.com/pytest-dev/pytest/issues/12367): Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown. - [#12381](https://togithub.com/pytest-dev/pytest/issues/12381): Fix possible "Directory not empty" crashes arising from concurent cache dir (`.pytest_cache`) creation. Regressed in pytest 8.2.0. ## Improved Documentation - [#12290](https://togithub.com/pytest-dev/pytest/issues/12290): Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme. - [#12356](https://togithub.com/pytest-dev/pytest/issues/12356): Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness. - [#12363](https://togithub.com/pytest-dev/pytest/issues/12363): The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.astral-sh/ruff (ruff)
### [`v0.4.8`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#048) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.7...v0.4.8) ##### Performance - Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them ([#11457](https://togithub.com/astral-sh/ruff/pull/11457)) ##### Preview features - \[`flake8-bugbear`] Implement `return-in-generator` (`B901`) ([#11644](https://togithub.com/astral-sh/ruff/pull/11644)) - \[`flake8-pyi`] Implement `PYI063` ([#11699](https://togithub.com/astral-sh/ruff/pull/11699)) - \[`pygrep_hooks`] Check blanket ignores via file-level pragmas (`PGH004`) ([#11540](https://togithub.com/astral-sh/ruff/pull/11540)) ##### Rule changes - \[`pyupgrade`] Update `UP035` for Python 3.13 and the latest version of `typing_extensions` ([#11693](https://togithub.com/astral-sh/ruff/pull/11693)) - \[`numpy`] Update `NPY001` rule for NumPy 2.0 ([#11735](https://togithub.com/astral-sh/ruff/pull/11735)) ##### Server - Formatting a document with syntax problems no longer spams a visible error popup ([#11745](https://togithub.com/astral-sh/ruff/pull/11745)) ##### CLI - Add RDJson support for `--output-format` flag ([#11682](https://togithub.com/astral-sh/ruff/pull/11682)) ##### Bug fixes - \[`pyupgrade`] Write empty string in lieu of panic when fixing `UP032` ([#11696](https://togithub.com/astral-sh/ruff/pull/11696)) - \[`flake8-simplify`] Simplify double negatives in `SIM103` ([#11684](https://togithub.com/astral-sh/ruff/pull/11684)) - Ensure the expression generator adds a newline before `type` statements ([#11720](https://togithub.com/astral-sh/ruff/pull/11720)) - Respect per-file ignores for blanket and redirected noqa rules ([#11728](https://togithub.com/astral-sh/ruff/pull/11728))getsentry/sentry-python (sentry-sdk)
### [`v2.5.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#251) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.5.0...2.5.1) This change fixes a regression in our cron monitoring feature, which caused cron checkins not to be sent. The regression appears to have been introduced in version 2.4.0. **We recommend that all users, who use Cron monitoring and are currently running sentry-python ≥2.4.0, upgrade to this release as soon as possible!** ##### Other fixes & improvements - feat(tracing): Warn if not-started transaction entered ([#3003](https://togithub.com/getsentry/sentry-python/issues/3003)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - test(scope): Ensure `last_event_id` cleared ([#3124](https://togithub.com/getsentry/sentry-python/issues/3124)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - fix(scope): Clear last_event_id on scope clear ([#3124](https://togithub.com/getsentry/sentry-python/issues/3124)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) ### [`v2.5.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#250) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.4.0...2.5.0) ##### Various fixes & improvements - Allow to configure status codes to report to Sentry in Starlette and FastAPI ([#3008](https://togithub.com/getsentry/sentry-python/issues/3008)) by [@sentrivana](https://togithub.com/sentrivana) By passing a new option to the FastAPI and Starlette integrations, you're now able to configure what status codes should be sent as events to Sentry. Here's how it works: ```python from sentry_sdk.integrations.starlette import StarletteIntegration from sentry_sdk.integrations.fastapi import FastApiIntegration sentry_sdk.init( ``` ### ... integrations=[ StarletteIntegration( failed_request_status_codes=[403, range(500, 599)], ), FastApiIntegration( failed_request_status_codes=[403, range(500, 599)], ), ] ) ``` `failed_request_status_codes` expects a list of integers or containers (objects that allow membership checks via `in`) of integers. Examples of valid `failed_request_status_codes`: - `[500]` will only send events on HTTP 500. - `[400, range(500, 599)]` will send events on HTTP 400 as well as the 500-599 range. - `[500, 503]` will send events on HTTP 500 and 503. The default is `[range(500, 599)]`. See the [FastAPI](https://docs.sentry.io/platforms/python/integrations/fastapi/) and [Starlette](https://docs.sentry.io/platforms/python/integrations/starlette/) integration docs for more details. - Support multiple keys with `cache_prefixes` (#3136) by @sentrivana - Support integer Redis keys (#3132) by @sentrivana - Update SDK version in CONTRIBUTING.md (#3129) by @sentrivana - Bump actions/checkout from 4.1.4 to 4.1.5 (#3067) by @dependabot ``` ### [`v2.4.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#240) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.3.1...2.4.0) ##### Various fixes & improvements - Celery: Made `cache.key` span data field a list ([#3110](https://togithub.com/getsentry/sentry-python/issues/3110)) by [@antonpirker](https://togithub.com/antonpirker) - Celery Beat: Refactor the Celery Beat integration ([#3105](https://togithub.com/getsentry/sentry-python/issues/3105)) by [@antonpirker](https://togithub.com/antonpirker) - GRPC: Add None check for grpc.aio interceptor ([#3109](https://togithub.com/getsentry/sentry-python/issues/3109)) by [@ordinary-jamie](https://togithub.com/ordinary-jamie) - Docs: Remove `last_event_id` from migration guide ([#3126](https://togithub.com/getsentry/sentry-python/issues/3126)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - fix(django): Proper transaction names for i18n routes ([#3104](https://togithub.com/getsentry/sentry-python/issues/3104)) by [@sentrivana](https://togithub.com/sentrivana) - fix(scope): Copy `_last_event_id` in `Scope.__copy__` ([#3123](https://togithub.com/getsentry/sentry-python/issues/3123)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - fix(tests): Adapt to new Anthropic version ([#3119](https://togithub.com/getsentry/sentry-python/issues/3119)) by [@sentrivana](https://togithub.com/sentrivana) - build(deps): bump checkouts/data-schemas from `4381a97` to `59f9683` ([#3066](https://togithub.com/getsentry/sentry-python/issues/3066)) by [@dependabot](https://togithub.com/dependabot)tiangolo/sqlmodel (sqlmodel)
### [`v0.0.19`](https://togithub.com/tiangolo/sqlmodel/releases/tag/0.0.19) [Compare Source](https://togithub.com/tiangolo/sqlmodel/compare/0.0.18...0.0.19) ##### Fixes - 🐛 Fix pydantic `EmailStr` support and `max_length` in several String subclasses. PR [#966](https://togithub.com/tiangolo/sqlmodel/pull/966) by [@estebanx64](https://togithub.com/estebanx64). - 🐛 Fix set varchar limit when `max_length` is set on Pydantic models using Pydantic v2. PR [#963](https://togithub.com/tiangolo/sqlmodel/pull/963) by [@estebanx64](https://togithub.com/estebanx64). ##### Refactors - ♻️ Refactor generate select template to isolate templated code to the minimum. PR [#967](https://togithub.com/tiangolo/sqlmodel/pull/967) by [@tiangolo](https://togithub.com/tiangolo). ##### Upgrades - ⬆️ Update minimum SQLAlchemy version to 2.0.14 as that one includes `TryCast` used internally. PR [#964](https://togithub.com/tiangolo/sqlmodel/pull/964) by [@tiangolo](https://togithub.com/tiangolo). ##### Docs - ✏️ Fix broken link to `@dataclass_transform` (now PEP 681) in `docs/features.md`. PR [#753](https://togithub.com/tiangolo/sqlmodel/pull/753) by [@soof-golan](https://togithub.com/soof-golan). ##### Internal - ⬆️ Upgrade Ruff and Black. PR [#968](https://togithub.com/tiangolo/sqlmodel/pull/968) by [@tiangolo](https://togithub.com/tiangolo). - ⬆ Bump tiangolo/issue-manager from 0.4.1 to 0.5.0. PR [#922](https://togithub.com/tiangolo/sqlmodel/pull/922) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - 📌 Pin typing-extensions in tests for compatiblity with Python 3.8, dirty-equals, Pydantic. PR [#965](https://togithub.com/tiangolo/sqlmodel/pull/965) by [@tiangolo](https://togithub.com/tiangolo). - 👷 Update GitHub Actions to download and upload artifacts. PR [#936](https://togithub.com/tiangolo/sqlmodel/pull/936) by [@tiangolo](https://togithub.com/tiangolo). - 👷 Tweak CI for test-redistribute, add needed env vars for slim. PR [#929](https://togithub.com/tiangolo/sqlmodel/pull/929) by [@tiangolo](https://togithub.com/tiangolo).Configuration
📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.