From 06151b7c90fef8561096eacf5fc3fa4bd9954ddc Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Wed, 8 Nov 2023 15:08:01 +0000 Subject: [PATCH] Prepare release 23.11.0 (#446) --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1029da30..aedaa20f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,15 @@ # Change Log -## Unreleased +## 23.11.0 New error codes: -* Introduce Y058: Use `Iterator` rather than `Generator` as the return value +* Y058: Use `Iterator` rather than `Generator` as the return value for simple `__iter__` methods, and `AsyncIterator` rather than `AsyncGenerator` as the return value for simple `__aiter__` methods. -* Introduce Y059: `Generic[]` should always be the last base class, if it is +* Y059: `Generic[]` should always be the last base class, if it is present in the bases of a class. -* Introduce Y060, which flags redundant inheritance from `Generic[]`. -* Introduce Y061: Do not use `None` inside a `Literal[]` slice. +* Y060, which flags redundant inheritance from `Generic[]`. +* Y061: Do not use `None` inside a `Literal[]` slice. For example, use `Literal["foo"] | None` instead of `Literal["foo", None]`. Other changes: