febus982 / bootstrap-python-fastapi

A python service built using Clean Architecture and SOLID principles
https://febus982.github.io/bootstrap-python-fastapi
37 stars 2 forks source link

Update all non-major dependencies #179

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
coverage 7.5.1 -> 7.5.3 age adoption passing confidence dev patch
docker/build-push-action v5.3.0 -> v5.4.0 age adoption passing confidence action minor
docker/login-action v3.1.0 -> v3.2.0 age adoption passing confidence action minor
mkdocs-material (changelog) 9.5.24 -> 9.5.26 age adoption passing confidence dev patch
pydantic (changelog) 2.7.1 -> 2.7.3 age adoption passing confidence dependencies patch
pydantic-settings (changelog) 2.2.1 -> 2.3.2 age adoption passing confidence dependencies minor
pytest (changelog) 8.2.1 -> 8.2.2 age adoption passing confidence dev patch
ruff (source, changelog) 0.4.5 -> 0.4.8 age adoption passing confidence dev patch
strawberry-graphql (source, changelog) 0.230.0 -> 0.235.0 age adoption passing confidence dev minor
strawberry-graphql (source, changelog) 0.230.0 -> 0.235.0 age adoption passing confidence http minor
structlog (changelog) 24.1.0 -> 24.2.0 age adoption passing confidence dependencies minor
uvicorn (changelog) ^0.29.0 -> ^0.30.0 age adoption passing confidence http minor

Release Notes

nedbat/coveragepy (coverage) ### [`v7.5.3`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-753--2024-05-28) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.5.2...7.5.3) - Performance improvements for combining data files, especially when measuring line coverage. A few different quadratic behaviors were eliminated. In one extreme case of combining 700+ data files, the time dropped from more than three hours to seven minutes. Thanks for Kraken Tech for funding the fix. - Performance improvements for generating HTML reports, with a side benefit of reducing memory use, closing `issue 1791`\_. Thanks to Daniel Diniz for helping to diagnose the problem. .. \_issue 1791:[https://github.com/nedbat/coveragepy/issues/1791](https://togithub.com/nedbat/coveragepy/issues/1791)1 .. \_changes\_7-5-2: ### [`v7.5.2`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-752--2024-05-24) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.5.1...7.5.2) - Fix: nested matches of exclude patterns could exclude too much code, as reported in `issue 1779`\_. This is now fixed. - Changed: previously, coverage.py would consider a module docstring to be an executable statement if it appeared after line 1 in the file, but not executable if it was the first line. Now module docstrings are never counted as executable statements. This can change coverage.py's count of the number of statements in a file, which can slightly change the coverage percentage reported. - In the HTML report, the filter term and "hide covered" checkbox settings are remembered between viewings, thanks to `Daniel Diniz `\_. - Python 3.13.0b1 is supported. - Fix: parsing error handling is improved to ensure bizarre source files are handled gracefully, and to unblock oss-fuzz fuzzing, thanks to `Liam DeVoe `*. Closes `issue 1787`*. .. \_pull 1776:[https://github.com/nedbat/coveragepy/pull/1776](https://togithub.com/nedbat/coveragepy/pull/1776)6 .. \_issue 1779[https://github.com/nedbat/coveragepy/issues/1779](https://togithub.com/nedbat/coveragepy/issues/1779)79 .. \_issue 178[https://github.com/nedbat/coveragepy/issues/1787](https://togithub.com/nedbat/coveragepy/issues/1787)787 .. \_pull 17[https://github.com/nedbat/coveragepy/pull/1788](https://togithub.com/nedbat/coveragepy/pull/1788)1788 .. \_changes\_7-5-1:
docker/build-push-action (docker/build-push-action) ### [`v5.4.0`](https://togithub.com/docker/build-push-action/compare/v5.3.0...v5.4.0) [Compare Source](https://togithub.com/docker/build-push-action/compare/v5.3.0...v5.4.0)
docker/login-action (docker/login-action) ### [`v3.2.0`](https://togithub.com/docker/login-action/releases/tag/v3.2.0) [Compare Source](https://togithub.com/docker/login-action/compare/v3.1.0...v3.2.0) - Improve missing username/password by [@​Frankkkkk](https://togithub.com/Frankkkkk) in [https://github.com/docker/login-action/pull/706](https://togithub.com/docker/login-action/pull/706) - Bump [@​docker/actions-toolkit](https://togithub.com/docker/actions-toolkit) from 0.18.0 to 0.24.0 in [https://github.com/docker/login-action/pull/715](https://togithub.com/docker/login-action/pull/715) [https://github.com/docker/login-action/pull/721](https://togithub.com/docker/login-action/pull/721) - Bump aws-sdk-dependencies to 3.583.0 in [https://github.com/docker/login-action/pull/720](https://togithub.com/docker/login-action/pull/720) - Bump undici from 5.28.3 to 5.28.4 in [https://github.com/docker/login-action/pull/694](https://togithub.com/docker/login-action/pull/694) **Full Changelog**: https://github.com/docker/login-action/compare/v3.1.0...v3.2.0
squidfunk/mkdocs-material (mkdocs-material) ### [`v9.5.26`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.26): mkdocs-material-9.5.26 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.25...9.5.26) - Fixed [#​7232](https://togithub.com/squidfunk/mkdocs-material/issues/7232): Tab switches on scroll when linking tabs (9.5.19 regression) - Fixed [#​7230](https://togithub.com/squidfunk/mkdocs-material/issues/7230): Blog author avatar broken when referring to local file ### [`v9.5.25`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.25): mkdocs-material-9.5.25 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.24...9.5.25) - Fixed [#​7209](https://togithub.com/squidfunk/mkdocs-material/issues/7209): Tags plugin crashing on numeric tags
pydantic/pydantic (pydantic) ### [`v2.7.3`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v273-2024-06-03) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v2.7.2...v2.7.3) [GitHub release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.3) ##### What's Changed ##### Packaging - Bump `pydantic-core` to `v2.18.4` by [@​sydney-runkle](https://togithub.com/sydney-runkle) in [#​9550](https://togithub.com/pydantic/pydantic/pull/9550) ##### Fixes - Fix u style unicode strings in python [@​samuelcolvin](https://togithub.com/samuelcolvin) in [pydantic/jiter#110](https://togithub.com/pydantic/jiter/pull/110) ### [`v2.7.2`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v272-2024-05-28) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v2.7.1...v2.7.2) [GitHub release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.2) ##### What's Changed ##### Packaging - Bump `pydantic-core` to `v2.18.3` by [@​sydney-runkle](https://togithub.com/sydney-runkle) in [#​9515](https://togithub.com/pydantic/pydantic/pull/9515) ##### Fixes - Replace `__spec__.parent` with `__package__` by [@​hramezani](https://togithub.com/hramezani) in [#​9331](https://togithub.com/pydantic/pydantic/pull/9331) - Fix validation of `int`s with leading unary minus by [@​RajatRajdeep](https://togithub.com/RajatRajdeep) in [pydantic/pydantic-core#1291](https://togithub.com/pydantic/pydantic-core/pull/1291) - Fix `str` subclass validation for enums by [@​sydney-runkle](https://togithub.com/sydney-runkle) in \[[pydantic/pydantic-core#1273](https://togithub.com/pydantic/pydantic-core/issues/1273)][https://github.com/pydantic/pydantic-core/pull/1273](https://togithub.com/pydantic/pydantic-core/pull/1273) - Support `BigInt`s in `Literal`s and `Enum`s by [@​samuelcolvin](https://togithub.com/samuelcolvin) in \[[pydantic/pydantic-core#1297](https://togithub.com/pydantic/pydantic-core/issues/1297)][https://github.com/pydantic/pydantic-core/pull/1297](https://togithub.com/pydantic/pydantic-core/pull/1297) - Fix: uuid - allow `str` subclass as input by [@​davidhewitt](https://togithub.com/davidhewitt) in \[[pydantic/pydantic-core#1296](https://togithub.com/pydantic/pydantic-core/issues/1296)][https://github.com/pydantic/pydantic-core/pull/1296](https://togithub.com/pydantic/pydantic-core/pull/1296)
pydantic/pydantic-settings (pydantic-settings) ### [`v2.3.2`](https://togithub.com/pydantic/pydantic-settings/compare/v2.3.1...v2.3.2) [Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.3.1...v2.3.2) ### [`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)) ### [`v0.4.7`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#047) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.6...v0.4.7) ##### Preview features - \[`flake8-pyi`] Implement `PYI064` ([#​11325](https://togithub.com/astral-sh/ruff/pull/11325)) - \[`flake8-pyi`] Implement `PYI066` ([#​11541](https://togithub.com/astral-sh/ruff/pull/11541)) - \[`flake8-pyi`] Implement `PYI057` ([#​11486](https://togithub.com/astral-sh/ruff/pull/11486)) - \[`pyflakes`] Enable `F822` in `__init__.py` files by default ([#​11370](https://togithub.com/astral-sh/ruff/pull/11370)) ##### Formatter - Fix incorrect placement of trailing stub function comments ([#​11632](https://togithub.com/astral-sh/ruff/pull/11632)) ##### Server - Respect file exclusions in `ruff server` ([#​11590](https://togithub.com/astral-sh/ruff/pull/11590)) - Add support for documents not exist on disk ([#​11588](https://togithub.com/astral-sh/ruff/pull/11588)) - Add Vim and Kate setup guide for `ruff server` ([#​11615](https://togithub.com/astral-sh/ruff/pull/11615)) ##### Bug fixes - Avoid removing newlines between docstring headers and rST blocks ([#​11609](https://togithub.com/astral-sh/ruff/pull/11609)) - Infer indentation with imports when logical indent is absent ([#​11608](https://togithub.com/astral-sh/ruff/pull/11608)) - Use char index rather than position for indent slice ([#​11645](https://togithub.com/astral-sh/ruff/pull/11645)) - \[`flake8-comprehension`] Strip parentheses around generators in `C400` ([#​11607](https://togithub.com/astral-sh/ruff/pull/11607)) - Mark `repeated-isinstance-calls` as unsafe on Python 3.10 and later ([#​11622](https://togithub.com/astral-sh/ruff/pull/11622)) ### [`v0.4.6`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#046) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.5...v0.4.6) ##### Breaking changes - Use project-relative paths when calculating GitLab fingerprints ([#​11532](https://togithub.com/astral-sh/ruff/pull/11532)) ##### Preview features - \[`flake8-async`] Sleep with >24 hour interval should usually sleep forever (`ASYNC116`) ([#​11498](https://togithub.com/astral-sh/ruff/pull/11498)) ##### Rule changes - \[`numpy`] Add missing functions to NumPy 2.0 migration rule ([#​11528](https://togithub.com/astral-sh/ruff/pull/11528)) - \[`mccabe`] Consider irrefutable pattern similar to `if .. else` for `C901` ([#​11565](https://togithub.com/astral-sh/ruff/pull/11565)) - Consider `match`-`case` statements for `C901`, `PLR0912`, and `PLR0915` ([#​11521](https://togithub.com/astral-sh/ruff/pull/11521)) - Remove empty strings when converting to f-string (`UP032`) ([#​11524](https://togithub.com/astral-sh/ruff/pull/11524)) - \[`flake8-bandit`] `request-without-timeout` should warn for `requests.request` ([#​11548](https://togithub.com/astral-sh/ruff/pull/11548)) - \[`flake8-self`] Ignore sunder accesses in `flake8-self` rules ([#​11546](https://togithub.com/astral-sh/ruff/pull/11546)) - \[`pyupgrade`] Lint for `TypeAliasType` usages (`UP040`) ([#​11530](https://togithub.com/astral-sh/ruff/pull/11530)) ##### Server - Respect excludes in `ruff server` configuration discovery ([#​11551](https://togithub.com/astral-sh/ruff/pull/11551)) - Use default settings if initialization options is empty or not provided ([#​11566](https://togithub.com/astral-sh/ruff/pull/11566)) - `ruff server` correctly treats `.pyi` files as stub files ([#​11535](https://togithub.com/astral-sh/ruff/pull/11535)) - `ruff server` searches for configuration in parent directories ([#​11537](https://togithub.com/astral-sh/ruff/pull/11537)) - `ruff server`: An empty code action filter no longer returns notebook source actions ([#​11526](https://togithub.com/astral-sh/ruff/pull/11526)) ##### Bug fixes - \[`flake8-logging-format`] Fix autofix title in `logging-warn` (`G010`) ([#​11514](https://togithub.com/astral-sh/ruff/pull/11514)) - \[`refurb`] Avoid recommending `operator.itemgetter` with dependence on lambda arguments ([#​11574](https://togithub.com/astral-sh/ruff/pull/11574)) - \[`flake8-simplify`] Avoid recommending context manager in `__enter__` implementations ([#​11575](https://togithub.com/astral-sh/ruff/pull/11575)) - Create intermediary directories for `--output-file` ([#​11550](https://togithub.com/astral-sh/ruff/pull/11550)) - Propagate reads on global variables ([#​11584](https://togithub.com/astral-sh/ruff/pull/11584)) - Treat all `singledispatch` arguments as runtime-required ([#​11523](https://togithub.com/astral-sh/ruff/pull/11523))
strawberry-graphql/strawberry (strawberry-graphql) ### [`v0.235.0`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02350---2024-06-10) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.234.3...0.235.0) This release adds a new configuration to disable field suggestions in the error response. ```python @​strawberry.type class Query: name: str schema = strawberry.Schema( query=Query, config=StrawberryConfig(disable_field_suggestions=True) ) ``` Trying to query `{ nam }` will not suggest to query `name` instead. Contributed by [Patrick Arminio](https://togithub.com/patrick91) via [PR #​3537](https://togithub.com/strawberry-graphql/strawberry/pull/3537/) ### [`v0.234.3`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02343---2024-06-10) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.234.2...0.234.3) Fixes a bug where pydantic models as the default value for an input did not print the proper schema. See [this issue](https://togithub.com/strawberry-graphql/strawberry/issues/3285). Contributed by [ppease](https://togithub.com/ppease) via [PR #​3499](https://togithub.com/strawberry-graphql/strawberry/pull/3499/) ### [`v0.234.2`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02342---2024-06-07) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.234.1...0.234.2) This release fixes an issue when trying to retrieve specialized type vars from a generic type that has been aliased to a name, in cases like: ```python @​strawberry.type class Fruit(Generic[T]): ... SpecializedFruit = Fruit[str] ``` Contributed by [Thiago Bellini Ribeiro](https://togithub.com/bellini666) via [PR #​3535](https://togithub.com/strawberry-graphql/strawberry/pull/3535/) ### [`v0.234.1`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02341---2024-06-06) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.234.0...0.234.1) Improved error message when supplying GlobalID with invalid or unknown type name component Contributed by [Take Weiland](https://togithub.com/diesieben07) via [PR #​3533](https://togithub.com/strawberry-graphql/strawberry/pull/3533/) ### [`v0.234.0`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02340---2024-06-01) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.233.3...0.234.0) This release separates the `relay.ListConnection` logic that calculates the slice of the nodes into a separate function. This allows for easier reuse of that logic for other places/libraries. The new function lives in the `strawberry.relay.utils` and can be used by calling `SliceMetadata.from_arguments`. This has no implications to end users. Contributed by [Thiago Bellini Ribeiro](https://togithub.com/bellini666) via [PR #​3530](https://togithub.com/strawberry-graphql/strawberry/pull/3530/) ### [`v0.233.3`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02333---2024-05-31) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.233.2...0.233.3) This release fixes a typing issue where trying to type a `root` argument with `strawberry.Parent` would fail, like in the following example: ```python import strawberry @​strawberry.type class SomeType: @​strawberry.field def hello(self, root: strawberry.Parent[str]) -> str: return "world" ``` This should now work as intended. Contributed by [Thiago Bellini Ribeiro](https://togithub.com/bellini666) via [PR #​3529](https://togithub.com/strawberry-graphql/strawberry/pull/3529/) ### [`v0.233.2`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02332---2024-05-31) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.233.1...0.233.2) This release fixes an introspection issue when requesting `isOneOf` on built-in scalars, like `String`. Contributed by [Patrick Arminio](https://togithub.com/patrick91) via [PR #​3528](https://togithub.com/strawberry-graphql/strawberry/pull/3528/) ### [`v0.233.1`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02331---2024-05-30) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.233.0...0.233.1) This release exposes `get_arguments` in the schema_converter module to allow integrations, such as strawberry-django, to reuse that functionality if needed. This is an internal change with no impact for end users. Contributed by [Thiago Bellini Ribeiro](https://togithub.com/bellini666) via [PR #​3527](https://togithub.com/strawberry-graphql/strawberry/pull/3527/) ### [`v0.233.0`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02330---2024-05-29) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.232.2...0.233.0) This release refactors our Federation integration to create types using Strawberry directly, instead of using low level types from GraphQL-core. The only user facing change is that now the `info` object passed to the `resolve_reference` function is the `strawberry.Info` object instead of the one coming coming from GraphQL-core. This is a **breaking change** for users that were using the `info` object directly. If you need to access the original `info` object you can do so by accessing the `_raw_info` attribute. ```python import strawberry @​strawberry.federation.type(keys=["upc"]) class Product: upc: str @​classmethod def resolve_reference(cls, info: strawberry.Info, upc: str) -> "Product": ### Access the original info object original_info = info._raw_info return Product(upc=upc) ``` Contributed by [Patrick Arminio](https://togithub.com/patrick91) via [PR #​3525](https://togithub.com/strawberry-graphql/strawberry/pull/3525/) ### [`v0.232.2`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02322---2024-05-28) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.232.1...0.232.2) This release fixes an issue that would prevent using lazy aliased connections to annotate a connection field. For example, this should now work correctly: ```python ``` ### [`v0.232.1`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02321---2024-05-27) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.232.0...0.232.1) This release fixes an issue where mypy would complain when using a typed async resolver with `strawberry.field(resolver=...)`. Now the code will type check correctly. We also updated our test suite to make we catch similar issues in the future. Contributed by [Patrick Arminio](https://togithub.com/patrick91) via [PR #​3516](https://togithub.com/strawberry-graphql/strawberry/pull/3516/) ### [`v0.232.0`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02320---2024-05-25) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.231.1...0.232.0) This release improves type checking for async resolver functions when used as `strawberry.field(resolver=resolver_func)`. Now doing this will raise a type error: ```python import strawberry def some_resolver() -> int: return 0 @​strawberry.type class User: ### Note the field being typed as str instead of int name: str = strawberry.field(resolver=some_resolver) ``` Contributed by [Bryan Ricker](https://togithub.com/bricker) via [PR #​3241](https://togithub.com/strawberry-graphql/strawberry/pull/3241/) ### [`v0.231.1`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02311---2024-05-25) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.231.0...0.231.1) Fixes an issue where lazy annotations raised an error when used together with a List Contributed by [jeich](https://togithub.com/jeich) via [PR #​3388](https://togithub.com/strawberry-graphql/strawberry/pull/3388/) ### [`v0.231.0`](https://togithub.com/strawberry-graphql/strawberry/blob/HEAD/CHANGELOG.md#02310---2024-05-25) [Compare Source](https://togithub.com/strawberry-graphql/strawberry/compare/0.230.0...0.231.0) When calling the CLI without all the necessary dependencies installed, a `MissingOptionalDependenciesError` will be raised instead of a `ModuleNotFoundError`. This new exception will provide a more helpful hint regarding how to fix the problem. Contributed by [Ethan Henderson](https://togithub.com/parafoxia) via [PR #​3511](https://togithub.com/strawberry-graphql/strawberry/pull/3511/)
hynek/structlog (structlog) ### [`v24.2.0`](https://togithub.com/hynek/structlog/blob/HEAD/CHANGELOG.md#2420---2024-05-27) [Compare Source](https://togithub.com/hynek/structlog/compare/24.1.0...24.2.0) ##### Added - It is now possible to disable log level-padding in `structlog.dev.LogLevelColumnFormatter` and `structlog.dev.ConsoleRenderer`. [#​599](https://togithub.com/hynek/structlog/pull/599) - The `structlog.processors.CallsiteParameterAdder` can now be pickled. [#​603](https://togithub.com/hynek/structlog/pull/603) - `structlog.processors.CallsiteParameterAdder` now also works with `structlog.stdlib.BoundLogger`'s non-standard async methods (`ainfo()`, and so forth) [#​618](https://togithub.com/hynek/structlog/pull/618) ##### Changed - `structlog.processors.LogfmtRenderer` now escapes newlines. [#​592](https://togithub.com/hynek/structlog/pull/592) - `structlog.processors.LogfmtRenderer` now escapes backslashes and double quotes. [#​594](https://togithub.com/hynek/structlog/pull/594) - `structlog.processors.CallsiteParameterAdder` has been optimized to be about 2x faster. [#​606](https://togithub.com/hynek/structlog/pull/606) ##### Fixed - `structlog.stdlib.render_to_log_kwargs` now correctly passes stacklevel as a kwarg to stdlib logging. [#​619](https://togithub.com/hynek/structlog/pull/620)
encode/uvicorn (uvicorn) ### [`v0.30.1`](https://togithub.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0301-2024-06-02) [Compare Source](https://togithub.com/encode/uvicorn/compare/0.30.0...0.30.1) ##### Fixed - Allow horizontal tabs `\t` in response header values ([#​2345](https://togithub.com/encode/uvicorn/issues/2345)) ### [`v0.30.0`](https://togithub.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0300-2024-05-28) [Compare Source](https://togithub.com/encode/uvicorn/compare/0.29.0...0.30.0) ##### Added - New multiprocess manager ([#​2183](https://togithub.com/encode/uvicorn/issues/2183)) - Allow `ConfigParser` or a `io.IO[Any]` on `log_config` ([#​1976](https://togithub.com/encode/uvicorn/issues/1976)) ##### Fixed - Suppress side-effects of signal propagation ([#​2317](https://togithub.com/encode/uvicorn/issues/2317)) - Send `content-length` header on 5xx ([#​2304](https://togithub.com/encode/uvicorn/issues/2304)) ##### Deprecated - Deprecate the `uvicorn.workers` module ([#​2302](https://togithub.com/encode/uvicorn/issues/2302))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

codeclimate[bot] commented 3 months ago

Code Climate has analyzed commit 875ad799 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (100% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (0.0% change).

View more on Code Climate.