From 08db7f70684468572295d2e70f204c5b5aea9131 Mon Sep 17 00:00:00 2001 From: Botberry Date: Fri, 30 Aug 2024 22:32:22 +0000 Subject: [PATCH] =?UTF-8?q?Release=20=F0=9F=8D=93=200.238.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 13 +++++++++++++ RELEASE.md | 8 -------- pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 RELEASE.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bd2514b9e..52aa75b168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,19 @@ CHANGELOG ========= +0.238.1 - 2024-08-30 +-------------------- + +Fix an issue where `StrawberryResolver.is_async` was returning `False` for a +function decorated with asgiref's `@sync_to_async`. + +The root cause is that in python >= 3.12 coroutine functions are market using +`inspect.markcoroutinefunction`, which should be checked with +`inspect.iscoroutinefunction` instead of `asyncio.iscoroutinefunction` + +Contributed by [Hyun S. Moon](https://github.com/shmoon-kr) via [PR #3599](https://github.com/strawberry-graphql/strawberry/pull/3599/) + + 0.238.0 - 2024-08-30 -------------------- diff --git a/RELEASE.md b/RELEASE.md deleted file mode 100644 index 5a8078bd9e..0000000000 --- a/RELEASE.md +++ /dev/null @@ -1,8 +0,0 @@ -Release type: patch - -Fix an issue where `StrawberryResolver.is_async` was returning `False` for a -function decorated with asgiref's `@sync_to_async`. - -The root cause is that in python >= 3.12 coroutine functions are market using -`inspect.markcoroutinefunction`, which should be checked with -`inspect.iscoroutinefunction` instead of `asyncio.iscoroutinefunction` diff --git a/pyproject.toml b/pyproject.toml index 446275b10e..5f5f5f271e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "strawberry-graphql" packages = [ { include = "strawberry" } ] -version = "0.238.0" +version = "0.238.1" description = "A library for creating GraphQL APIs" authors = ["Patrick Arminio "] license = "MIT"