summaryrefslogtreecommitdiff
path: root/doc/whatsnew
diff options
context:
space:
mode:
Diffstat (limited to 'doc/whatsnew')
-rw-r--r--doc/whatsnew/2.10.rst5
-rw-r--r--doc/whatsnew/2.11.rst27
2 files changed, 29 insertions, 3 deletions
diff --git a/doc/whatsnew/2.10.rst b/doc/whatsnew/2.10.rst
index 85cba1c3f..82f7950d1 100644
--- a/doc/whatsnew/2.10.rst
+++ b/doc/whatsnew/2.10.rst
@@ -22,9 +22,10 @@ colored diagrams, and plantuml diagram using pyreverse. ``PYLINT_HOME`` is now `
The performance of the similarity checker has been improved, as well as several small performance fixes.
We're going to continue working on improving performance during 2.11. We're also going to finalize
-a new ``possible-forgotten-f-prefix`` check that had too much false positives at release time. Check
-https://github.com/PyCQA/pylint/pull/4787 if you want to provide knowledge or use case :)
+a new ``possible-forgotten-f-prefix`` check that had too much false positives at release time.
+Check the `possible-forgotten-f-prefix`_ issue if you want to provide knowledge or use case :)
+.. _possible-forgotten-f-prefix: https://github.com/PyCQA/pylint/pull/4787
New checkers
============
diff --git a/doc/whatsnew/2.11.rst b/doc/whatsnew/2.11.rst
index f04020796..312ec5de3 100644
--- a/doc/whatsnew/2.11.rst
+++ b/doc/whatsnew/2.11.rst
@@ -3,11 +3,36 @@
***************************
:Release: 2.11
-:Date: TBA
+:Date: 2021-09-16
Summary -- Release highlights
=============================
+In 2.11, we added a new default checker to advise using f-string as it's
+the most efficient way of formatting strings right now. You can use
+`pyupgrade`_ to migrate your old ``%`` and ``format()`` automatically.
+
+We added a new extension ``SetMembershipChecker`` that will advise the
+use of set for membership test, as it's more performant than lists or tuples.
+The ``CodeStyleChecker`` also got some love, check it out if you're not already
+using it.
+
+We fixed some long standing bugs, false positives, or false negatives and
+we added small quality of life options like ``min-similarity-lines`` that
+disable the duplication check when set to 0.
+
+Under the hood the code for both pylint and astroid is progressively more typed,
+which could be helpful to you if you're using them as libraries. In order for
+this new typing to make more sense and stay simple, we deprecated some functions
+or type that will be removed in the next major version. This is an ongoing effort.
+
+The future ``possible-forgotten-f-prefix`` check still had too much false positives,
+and is delayed again. Check the `possible-forgotten-f-prefix`_ issue if you want
+to provide knowledge or use case :)
+
+.. _possible-forgotten-f-prefix: https://github.com/PyCQA/pylint/pull/4787
+.. _pyupgrade: https://github.com/asottile/pyupgrade
+
New checkers
============