Skip to content

Commit 8e5d3d2

Browse files
authored
docs: prepare for 2.6.2 (#2820)
* docs: prepare for 2.6.2 * chore: pre-commit autoupdate
1 parent 42e7380 commit 8e5d3d2

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
repos:
1616
# Standard hooks
1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v3.2.0
18+
rev: v3.4.0
1919
hooks:
2020
- id: check-added-large-files
2121
- id: check-case-conflict
@@ -46,7 +46,7 @@ repos:
4646

4747
# Flake8 also supports pre-commit natively (same author)
4848
- repo: https://gitlab.com/pycqa/flake8
49-
rev: 3.8.3
49+
rev: 3.8.4
5050
hooks:
5151
- id: flake8
5252
additional_dependencies: [flake8-bugbear, pep8-naming]
@@ -63,7 +63,7 @@ repos:
6363

6464
# Check static types with mypy
6565
- repo: https://github.com/pre-commit/mirrors-mypy
66-
rev: v0.790
66+
rev: v0.800
6767
hooks:
6868
- id: mypy
6969
# The default Python type ignores .pyi files, so let's rerun if detected
@@ -74,7 +74,7 @@ repos:
7474

7575
# Checks the manifest for missing files (native support)
7676
- repo: https://github.com/mgedmin/check-manifest
77-
rev: "0.43"
77+
rev: "0.46"
7878
hooks:
7979
- id: check-manifest
8080
# This is a slow hook, so only run this if --hook-stage manual is passed

docs/changelog.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
77
<http://semver.org>`_ policy.
88

99

10-
v2.6.2 (TBA, not yet released)
11-
------------------------------
10+
v2.6.2 (Jan 26, 2021)
11+
---------------------
1212

1313

1414
Minor missing functionality added:
@@ -62,6 +62,10 @@ Bug fixes:
6262
overloads.
6363
`#2698 <https://github.com/pybind/pybind11/pull/2698>`_
6464

65+
* When casting to a C++ integer, ``__index__`` is always called and not
66+
considered as conversion, consistent with Python 3.8+.
67+
`#2801 <https://github.com/pybind/pybind11/pull/2801>`_
68+
6569
* Fix bug where the constructor of ``object`` subclasses would not throw on
6670
being passed a Python object of the wrong type.
6771
`#2701 <https://github.com/pybind/pybind11/pull/2701>`_
@@ -74,6 +78,11 @@ Bug fixes:
7478
than set an empty string.
7579
`#2745 <https://github.com/pybind/pybind11/pull/2745>`_
7680

81+
* The module key in builtins that pybind11 uses to store its internals changed
82+
from std::string to a python str type (more natural on Python 2, no change on
83+
Python 3).
84+
`#2814 <https://github.com/pybind/pybind11/pull/2814>`_
85+
7786
* Fixed assertion error related to unhandled (later overwritten) exception in
7887
CPython 3.8 and 3.9 debug builds.
7988
`#2685 <https://github.com/pybind/pybind11/pull/2685>`_

0 commit comments

Comments
 (0)