8000 Bump to 4.0.0 final · sphinx-doc/sphinx@a317d00 · GitHub
[go: up one dir, main page]

Skip to content

Commit a317d00

Browse files
committed
Bump to 4.0.0 final
1 parent 09bb986 commit a317d00

File tree

2 files changed

+43
-61
lines changed

2 files changed

+43
-61
lines changed

CHANGES

Lines changed: 41 additions & 59 deletions
< 9E7A tr class="diff-line-row">
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,16 @@
1-
Release 4.0.0 beta3 (in development)
2-
====================================
1+
Release 4.0.0 (released May 09, 2021)
2+
=====================================
33

44
Dependencies
55
------------
66

7-
Incompatible changes
8-
--------------------
9-
10-
Deprecated
11-
----------
12-
13-
Features added
14-
--------------
15-
16-
Bugs fixed
17-
----------
18-
19-
* #9167: html: Failed to add CSS files to the specific page
7+
4.0.0b1
208

21-
Testing
22-
--------
9+
* Drop python 3.5 support
10+
* Drop docutils 0.12 and 0.13 support
11+
* LaTeX: add ``tex-gyre`` font dependency
2312

24-
Release 4.0.0 beta2 (released Apr 29, 2021)
25-
===========================================
26-
27-
Dependencies
28-
------------
13+
4.0.0b2
2914

3015
* Support docutils-0.17. Please notice it changes the output of HTML builder.
3116
Some themes do not support it, and you need to update your custom CSS to
@@ -34,43 +19,7 @@ Dependencies
3419
Incompatible changes
3520
--------------------
3621

37-
* #9023: Change the CSS classes on :rst:role:`cpp:expr` and
38-
:rst:role:`cpp:texpr`.
39-
40-
Features added
41-
--------------
42-
43-
* #8818: autodoc: Super class having ``Any`` arguments causes nit-picky warning
44-
* #9095: autodoc: TypeError is raised on processing broken metaclass
45-
* #9110: autodoc: metadata of GenericAlias is not rendered as a reference in
46-
py37+
47-
* #9098: html: copy-range protection for doctests doesn't work in Safari
48-
* #9103: LaTeX: imgconverter: conversion runs even if not needed
49-
* #8127: py domain: Ellipsis in info-field-list causes nit-picky warning
50-
* #9121: py domain: duplicated warning is emitted when both canonical and its
51-
alias objects are defined on the document
52-
* #9023: More CSS classes on domain descriptions, see :ref:`nodes` for details.
53-
* #8195: mathjax: Rename :confval:`mathjax_config` to
54-
:confval:`mathjax2_config` and add :confval:`mathjax3_config`
55-
56-
Bugs fixed
57-
----------
58-
59-
* C, C++, fix ``KeyError`` when an ``alias`` directive is the first C/C++
60-
directive in a file with another C/C++ directive later.
61-
62-
Release 4.0.0 beta1 (released Apr 12, 2021)
63-
===========================================
64-
65-
Dependencies
66-
------------
67-
68-
* Drop python 3.5 support
69-
* Drop docutils 0.12 and 0.13 support
70-
* LaTeX: add ``tex-gyre`` font dependency
71-
72-
Incompatible changes
73-
--------------------
22+
4.0.0b1
7423

7524
* #8539: autodoc: info-field-list is generated into the class description when
7625
``autodoc_typehints='description'`` and ``autoclass_content='class'`` set
@@ -107,6 +56,11 @@ Incompatible changes
10756
* #8487: The :file: option for csv-table directive now recognizes an absolute
10857
path as a relative path from source directory
10958

59+
4.0.0b2
60+
61+
* #9023: Change the CSS classes on :rst:role:`cpp:expr` and
62+
:rst:role:`cpp:texpr`.
63+
11064
Deprecated
11165
----------
11266

@@ -128,6 +82,8 @@ Deprecated
12882
Features added
12983
--------------
13084

85+
4.0.0b1
86+
13187
* #8924: autodoc: Support ``bound`` argument for TypeVar
13288
* #7383: autodoc: Support typehints for properties
13389
* #5603: autodoc: Allow to refer to a python class using its canonical name
@@ -157,9 +113,26 @@ Features added
157113
* #7199: A new node, ``sphinx.addnodes.pending_xref_condition`` has been added.
158114
It can be used to choose appropriate content of the reference by conditions.
159115

116+
4.0.0b2
117+
118+
* #8818: autodoc: Super class having ``Any`` arguments causes nit-picky warning
119+
* #9095: autodoc: TypeError is raised on processing broken metaclass
120+
* #9110: autodoc: metadata of GenericAlias is not rendered as a reference in
121+
py37+
122+
* #9098: html: copy-range protection for doctests doesn't work in Safari
123+
* #9103: LaTeX: imgconverter: conversion runs even if not needed
124+
* #8127: py domain: Ellipsis in info-field-list causes nit-picky warning
125+
* #9121: py domain: duplicated warning is emitted when both canonical and its
126+
alias objects are defined on the document
127+
* #9023: More CSS classes on domain descriptions, see :ref:`nodes` for details.
128+
* #8195: mathjax: Rename :confval:`mathjax_config` to
129+
:confval:`mathjax2_config` and add :confval:`mathjax3_config`
130+
160131
Bugs fixed
161132
----------
162133

134+
4.0.0b1
135+
163136
* #8917: autodoc: Raises a warning if function has wrong __globals__ value
164137
* #8415: autodoc: a TypeVar imported from other module is not resolved (in
165138
Python 3.7 or above)
@@ -194,6 +167,15 @@ Bugs fixed
194167
(function) declarators, and in the argument to ``sizeof...``.
195168
* C, fix linking of names in array declarators.
196169

170+
4.0.0b2
171+
172+
* C, C++, fix ``KeyError`` when an ``alias`` directive is the first C/C++
173+
directive in a file with another C/C++ directive later.
174+
175+
4.0.0b3
176+
177+
* #9167: html: Failed to add CSS files to the specific page
178+
197179
Release 3.5.5 (in development)
198180
==============================
199181

sphinx/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
warnings.filterwarnings('ignore', "'U' mode is deprecated",
2828
DeprecationWarning, module='docutils.io')
2929

30-
__version__ = '4.0.0+'
30+
__version__ = '4.0.0'
3131
__released__ = '4.0.0' # used when Sphinx builds its own docs
3232

3333
#: Version info for better programmatic use.
@@ -38,7 +38,7 @@
3838
#:
3939
#: .. versionadded:: 1.2
4040
#: Before version 1.2, check the string ``sphinx.__version__``.
41-
version_info = (4, 0, 0, 'beta', 3)
41+
version_info = (4, 0, 0, 'final', 0)
4242

4343
package_dir = path.abspath(path.dirname(__file__))
4444

0 commit comments

Comments
 (0)
0