Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
5bd766bf
Unverified
Commit
5bd766bf
authored
Dec 21, 2020
by
Henry Schreiner
Committed by
GitHub
Dec 21, 2020
Browse files
docs: update changelog and add script to help generate it (#2733)
parent
d5af536f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
76 additions
and
1 deletion
+76
-1
docs/changelog.rst
docs/changelog.rst
+26
-1
tools/make_changelog.py
tools/make_changelog.py
+50
-0
No files found.
docs/changelog.rst
View file @
5bd766bf
...
...
@@ -6,10 +6,35 @@ Changelog
Starting with version 1.8.0, pybind11 releases use a `semantic versioning
<http://semver.org>`_ policy.
v2.6.2 (TBA, not yet released)
------------------------------
* Details to follow here
* Fixed segfault in multithreaded environments when using ``scoped_ostream_redirect``.
`#2675 <https://github.com/pybind/pybind11/pull/2675>`_
* CMake: mixing local and installed pybind11's would prioritize the installed one over the local one (regression in 2.6.0).
`#2716 <https://github.com/pybind/pybind11/pull/2716>`_
* Fix bug where the constructor of `object` subclasses would not throw on being passed a Python object of the wrong type.
`#2701 <https://github.com/pybind/pybind11/pull/2701>`_
* Fixed assertion error related to unhandled (later overwritten) exception in CPython 3.8 and 3.9 debug builds.
`#2685 <https://github.com/pybind/pybind11/pull/2685>`_
* Fix ``py::gil_scoped_acquire`` assert with CPython 3.9 debug build.
`#2683 <https://github.com/pybind/pybind11/pull/2683>`_
* Fixes segfaults in multithreaded environments when using ``scoped_ostream_redirect``.
`#2675 <https://github.com/pybind/pybind11/pull/2675>`_
* Fix issue with FindPython2/FindPython3 not working with ``pybind11::embed``.
`#2662 <https://github.com/pybind/pybind11/pull/2662>`_
* Allow thread termination to be avoided during shutdown for CPython 3.7+ via ``.disarm``.
`#2657 <https://github.com/pybind/pybind11/pull/2657>`_
v2.6.1 (Nov 11, 2020)
...
...
tools/make_changelog.py
0 → 100755
View file @
5bd766bf
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import
re
import
ghapi.core
ENTRY
=
re
.
compile
(
r
"""
Suggested \s changelog \s entry:
.*
```rst
\s*
(.*?)
\s*
```
"""
,
re
.
DOTALL
|
re
.
VERBOSE
,
)
api
=
ghapi
.
core
.
GhApi
(
owner
=
"pybind"
,
repo
=
"pybind11"
)
issues
=
api
.
issues
.
list_for_repo
(
labels
=
"needs changelog"
,
state
=
"closed"
)
missing
=
[]
for
issue
in
issues
:
changelog
=
ENTRY
.
findall
(
issue
.
body
)
if
changelog
:
(
msg
,)
=
changelog
if
not
msg
.
startswith
(
"* "
):
msg
=
"* "
+
msg
if
not
msg
.
endswith
(
"."
):
msg
+=
"."
print
(
msg
)
print
(
f
" `#
{
issue
.
number
}
<
{
issue
.
html_url
}
>`_
\n
"
)
else
:
missing
.
append
(
issue
)
if
missing
:
print
()
print
(
"-"
*
30
)
print
()
for
issue
in
missing
:
print
(
f
"Missing:
{
issue
.
title
}
"
)
print
(
f
"
{
issue
.
html_url
}
"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment