## agronholm/anyio — 4.12.1…4.13.0

_36 commits._

### Features
- **Add `ttl` parameter to functools.lru_cache (#1073)** (013de24)
- **Dropped support for Python 3.9 (#1040)** (f234a25)

### Fixes
- **fix: Consider tests which are marked for anyio programmatically (#1082)** (4e8ad02)
- **fix: preserve exception cause in asyncio SocketStream (#1064)** (a2a07c7)

### Backend
- **Bumped up the version** (afbe93c)
- **Rearranged the changelog entries** (33bdf2e)
- **Fixed inverted condition in _forcibly_shutdown_process_pool_on_exit (#1074)** (19e09e2)
- **Fixed Condition.wait() not handing over notification when cancelled** (9369d80)
- **Fixed cancellation exceptions leaking from a `CancelScope` on asyncio when they are in a group with non-cancellation exceptions (#1092)** (6f122ab)
- **[pre-commit.ci] pre-commit autoupdate (#1097)** (beaa45a)
- **Widened type annotations to accept IO[bytes] in file streams** (602f660)
- **Added note about erasing the template** (b5dcd45)
- **[pre-commit.ci] pre-commit autoupdate (#1090)** (d68670b)
- **tweak to_thread docs about abandon_on_cancel (#1088)** (fc17a22)
- **[pre-commit.ci] pre-commit autoupdate (#1084)** (7996218)
- **[pre-commit.ci] pre-commit autoupdate (#1079)** (16eb35c)
- **Bump the github-actions group with 2 updates (#1080)** (7f5e0a7)
- **Removed exceptiongroup as a test dependency** (fcf6c5b)
- **[pre-commit.ci] pre-commit autoupdate (#1077)** (398a878)
- **Updated mypy configuration and related pre-commit config** (d97c544)
- **Updated pre-commit modules** (1c403b1)
- **Added sponsor badge and a sponsor entry** (8ba339d)
- **Fixed the parameter name "func" in parametrize breaking pytest (#1068)** (c33395a)
- **Handled Python 3.15 path API changes (#1065)** (25b417f)
- **[pre-commit.ci] pre-commit autoupdate (#1062)** (fafed88)
- **[pre-commit.ci] pre-commit autoupdate (#1058)** (6826ea0)
- **Updated the version history for v4.12.1** (9cb7a0f)
- **Fixed `anyio.functools.lru_cache` not working with methods (#1056)** (8c4a5a3)
- **[pre-commit.ci] pre-commit autoupdate (#1054)** (240bf45)
- **Added TideLift security contact information** (d7c491d)
- **Remove `BlockingPortal.__new__` hack (#1053)** (74e77f8)
- **Replaced the NoCurrentAsyncBackend exception with NoEventLoopError (#1049)** (1730f5a)
- **[pre-commit.ci] pre-commit autoupdate (#1050)** (bac48fc)
- **Bump the github-actions group with 3 updates (#1051)** (bcc27a0)
- **[pre-commit.ci] pre-commit autoupdate (#1046)** (6b8cca2)
- **[pre-commit.ci] pre-commit autoupdate (#1043)** (e415faf)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/agronholm/anyio?utm_source=github-action)._