Skip to content

Commit 9a6d33c

Browse files
committed
Merge branch 'main' into feature/add-import-warning
2 parents 6c1177b + f5c7295 commit 9a6d33c

File tree

89 files changed

+1387
-572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+1387
-572
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
strategy:
1010
matrix:
1111
# Keep this in sync with tox.ini
12-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
12+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1313
platform: [ubuntu-latest, macos-latest, windows-latest]
1414
runs-on: ${{ matrix.platform }}
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
allow-prereleases: true

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- name: Set up Python
13-
uses: actions/setup-python@v4
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: "3.x"
1616
- name: Install pypa/build
@@ -22,7 +22,7 @@ jobs:
2222
- name: Build a binary wheel and a source tarball
2323
run: python3 -m build
2424
- name: Store the distribution packages
25-
uses: actions/upload-artifact@v3
25+
uses: actions/upload-artifact@v4
2626
with:
2727
name: python-package-distributions
2828
path: dist/
@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: Download all the dists
45-
uses: actions/download-artifact@v3
45+
uses: actions/download-artifact@v4
4646
with:
4747
name: python-package-distributions
4848
path: dist/
@@ -63,12 +63,12 @@ jobs:
6363

6464
steps:
6565
- name: Download all the dists
66-
uses: actions/download-artifact@v3
66+
uses: actions/download-artifact@v4
6767
with:
6868
name: python-package-distributions
6969
path: dist/
7070
- name: Sign the dists with Sigstore
71-
uses: sigstore/gh-action-sigstore-python@v1.2.3
71+
uses: sigstore/gh-action-sigstore-python@v3.0.0
7272
with:
7373
inputs: >-
7474
./dist/*.tar.gz
@@ -82,4 +82,4 @@ jobs:
8282
run: >-
8383
gh release upload
8484
'${{ github.ref_name }}' dist/**
85-
--repo '${{ github.repository }}'
85+
--repo '${{ github.repository }}'

.readthedocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ build:
55
os: ubuntu-22.04
66
tools:
77
python: "3.11"
8+
apt_packages:
9+
- graphviz
810

911
# Build documentation in the docs/ directory with Sphinx
1012
sphinx:
@@ -23,4 +25,4 @@ python:
2325
- method: pip
2426
path: .
2527
extra_requirements:
26-
- docs
28+
- docs

CHANGELOG.rst

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,157 @@ Versions follow `Semantic Versioning <https://semver.org/>`_ (``<major>.<minor>.
55

66
.. towncrier release notes start
77
8+
v3.3.3 (2024-10-25)
9+
-------------------
10+
11+
Bugfixes
12+
^^^^^^^^
13+
14+
- Document packages and modules under a single "submodules" heading (#450)
15+
- Fix crash when __init__ is assigned to (#488)
16+
- Fix documenting incorrect attributes from __init__ (#497)
17+
18+
19+
Misc
20+
^^^^
21+
22+
- #426, #462, #491, #492
23+
24+
25+
v3.3.2 (2024-09-25)
26+
-------------------
27+
28+
Bugfixes
29+
^^^^^^^^
30+
31+
- Fix types missing from documentation generated by autodoc-style directives. (#473)
32+
33+
34+
v3.3.1 (2024-09-01)
35+
-------------------
36+
37+
Bugfixes
38+
^^^^^^^^
39+
40+
- Fix all class members missing when documenting a module with the same name as a standard library module
41+
42+
Members inherited from the standard library can also have their skip value
43+
overridden by autoapi-skip-member. (#478)
44+
45+
46+
Misc
47+
^^^^
48+
49+
- Updated all github actions.
50+
51+
52+
v3.3.0 (2024-08-28)
53+
-------------------
54+
55+
Features
56+
^^^^^^^^
57+
58+
- Do not document members inherited from standard library classes. (#467)
59+
60+
61+
Bugfixes
62+
^^^^^^^^
63+
64+
- Fix instance attributes not being documented by inherited-members (#477)
65+
66+
67+
Misc
68+
^^^^
69+
70+
- #425
71+
- Fix the parser returning a dictionary instead of a list in the empty parse scenario
72+
- Rename testenvs to all follow similar naming style
73+
74+
75+
v3.2.1 (2024-07-23)
76+
-------------------
77+
78+
Bugfixes
79+
^^^^^^^^
80+
81+
- Fix error or duplicates when __init__ assigns to a property (#466)
82+
83+
84+
v3.2.0 (2024-07-20)
85+
-------------------
86+
87+
Features
88+
^^^^^^^^
89+
90+
- functools.cached_property is considered a property (#436)
91+
92+
93+
Bugfixes
94+
^^^^^^^^
95+
96+
- Gracefully handle no objects being rendered (#448)
97+
- Fix ignoring undocumented instance attributes (#451)
98+
99+
100+
Deprecations and Removals
101+
^^^^^^^^^^^^^^^^^^^^^^^^^
102+
103+
- Removed ability for autoapi_template_dir to be relative to cwd. This was supposed to have been retired in v3 (#457)
104+
- Removed autoapi_include_summaries option. This was supposed to have been retired in v3
105+
106+
107+
Misc
108+
^^^^
109+
110+
- #428, #449
111+
112+
113+
v3.1.2 (2024-06-20)
114+
-------------------
115+
116+
Bugfixes
117+
^^^^^^^^
118+
119+
- Fix imported members being rendered in modules (#452)
120+
121+
122+
v3.1.1 (2024-05-22)
123+
-------------------
124+
125+
Bugfixes
126+
^^^^^^^^
127+
128+
- Fix private subpackages causing orphan pages (#446)
129+
130+
131+
v3.1.0 (2024-05-20)
132+
-------------------
133+
134+
Features
135+
^^^^^^^^
136+
137+
- Objects can render to their own page (#226)
138+
- Render PEP-695 type aliases as TypeAlias assignments. (#414)
139+
140+
141+
Bugfixes
142+
^^^^^^^^
143+
144+
- Values are always rendered for TypeAlises and PEP-695 type aliases. (#224)
145+
- Fix submodule with `__init__.pyi` documented as `__init__` instead of submodule name (#398)
146+
- Fix IndexError when a module docstring contains only a heading (#412)
147+
- Preserve strings inside Literal type annotations (#423)
148+
- Stopped using xrefs in page titles (#427)
149+
- Fix unpickable configuration value warning when using autoapi_prepare_jinja_env (#445)
150+
- Fix emitting ignore event twice for methods.
151+
152+
153+
Misc
154+
^^^^
155+
156+
- #388
157+
158+
8159
v3.0.0 (2023-09-26)
9160
-------------------
10161

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ You can check your formatting using black's check mode:
8383

8484
.. code-block:: bash
8585
86-
tox -e formatting
86+
tox -e format
8787
8888
You can also get black to format your changes for you:
8989

autoapi/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
from .extension import setup
44

55
__all__ = ("setup",)
6-
__version__ = "3.0.0"
7-
__version_info__ = (3, 0, 0)
6+
__version__ = "3.3.3"
7+
__version_info__ = (3, 3, 3)

0 commit comments

Comments
 (0)