Release notes ============= .. roughly following https://sphinx-gallery.github.io/dev/maintainers.html, .. 1.0.0 notes were generated by: .. 1. tagging PRs as enhancement/bug/removed .. 2. $ github_changelog_generator -u numpy -p numpydoc --since-tag=v0.9.2 .. 3. $ pandoc CHANGELOG.md --wrap=none -o release_notes.rst .. 4. adding a manual addition (CSS note), tweaking heading levels, adding TOC .. contents:: Page contents :local: :depth: 2 .. note:: For release notes (sparsely) kept prior to 1.0.0, look at the `releases page on GitHub `__. 1.5.0 ----- Release date: 8 October 2022 Requires Python 3.7+ and Sphinx 4.2+. `Full Changelog `__ Fixed bugs ~~~~~~~~~~ - Parsing ``returns`` section with several types and no name `#428 `__ - BUG: Fix returns parsing no name `#429 `__ (`rossbar `__) Closed issues ~~~~~~~~~~~~~ - readthedocs build failing `#439 `__ - Exclude class properties from being listed under METHODS section `#339 `__ - BUG: Numpydoc doesn’t render attributes decorated with ``cached\_property`` in the Attributes section `#432 `__ - Is numpydoc_use_blockquotes deprecated or not yet? `#420 `__ - No light theme available in docs `#413 `__ - 1.4.0 release plan `#408 `__ Merged pull requests ~~~~~~~~~~~~~~~~~~~~ - Update doc requirements `#441 `__ (`jarrodmillman `__) - Update pydata-sphinx-theme `#440 `__ (`jarrodmillman `__) - Support Python 3.11 `#438 `__ (`jarrodmillman `__) - Update precommit hooks `#437 `__ (`jarrodmillman `__) - Use Python 3.10 to build docs `#436 `__ (`jarrodmillman `__) - Use requirements/*.txt files for CI `#435 `__ (`jarrodmillman `__) - Fix front page `#434 `__ (`jarrodmillman `__) - Add cached property support `#433 `__ (`rossbar `__) - ENH: Update validate.py to allow parameters with trailing underscores. `#425 `__ (`stefmolin `__) - DOC: Use ``:ref:`` when referring to section headers `#424 `__ (`namurphy `__) - Remove numpydoc_use_blockquotes `#422 `__ (`jarrodmillman `__) - Require sphinx>=4.2 (cleanup) `#421 `__ (`jarrodmillman `__) - docs: fix validation include line numbers `#418 `__ (`thatlittleboy `__) - Update precommit linters `#417 `__ (`jarrodmillman `__) - Update GH actions `#416 `__ (`jarrodmillman `__) - ENH: Add support for dict show_inherited_class_members `#415 `__ (`larsoner `__) - DOC: Add theme switcher and default to lightmode. `#414 `__ (`rossbar `__) - Require sphinx>=4.2 `#411 `__ (`jarrodmillman `__) \* *This Changelog was automatically generated by*\ `github_changelog_generator `__ 1.4.0 ----- Release date: 9 June 2022 Requires Python 3.7+ and Sphinx 3.0+. `Full Changelog `__ Fixed bugs ~~~~~~~~~~ - Fix bug with version name `#400 `__ (`jarrodmillman `__) Closed issues ~~~~~~~~~~~~~ - sphinx 5 compatibility `#399 `__ Merged pull requests ~~~~~~~~~~~~~~~~~~~~ - Fix CI `#410 `__ (`jarrodmillman `__) - Remove pytest py3.11b2 workaround `#407 `__ (`jarrodmillman `__) - Update GH actions `#406 `__ (`jarrodmillman `__) - Add workaround for pytest failures on 3.11b2 `#404 `__ (`jarrodmillman `__) - Use node.findall if available (docutils 18.x) `#403 `__ (`drammock `__) - Test docutils 0.18.1 `#402 `__ (`jarrodmillman `__) - Remove old warning filters `#398 `__ (`jarrodmillman `__) - Cleanup sphinx conf `#397 `__ (`jarrodmillman `__) - Update pre-commit `#396 `__ (`jarrodmillman `__) - Test prereleases of requirements `#395 `__ (`jarrodmillman `__) - Ignore black formatting `#394 `__ (`jarrodmillman `__) - Use black `#391 `__ (`jarrodmillman `__) - Test on 3.11 `#375 `__ (`jarrodmillman `__) \* *This Changelog was automatically generated by*\ `github_changelog_generator `__ 1.3.1 ----- Release date: 30 April 2022 Requires Python 3.7+ and Sphinx 3.0+. `Full Changelog `__ Closed issues ~~~~~~~~~~~~~ - numpydoc-1.3.tar.gz on pypi is missing requirements/ needed by setup.py `#387 `__ - What to do about Jinja2 dependency & supporting old sphinx versions `#380 `__ - RFE: please update for ``jinja2`` 3.x `#376 `__ - Test failures with Sphinx 4.5.0 `#373 `__ Merged pull requests ~~~~~~~~~~~~~~~~~~~~ - Update doc requirements `#389 `__ (`jarrodmillman `__) - Update manifest `#388 `__ (`jarrodmillman `__) 1.3 --- Release date: 29 April 2022 Requires Python 3.7+ and Sphinx 3.0+. `Full Changelog `__ Closed issues ~~~~~~~~~~~~~ - Broken “many checks” link in validation chapter `#378 `__ - 1.2.1: pytest warnings `#377 `__ Merged pull requests ~~~~~~~~~~~~~~~~~~~~ - Require sphinx>3 `#385 `__ (`jarrodmillman `__) - Update tests + coverage config to rm warnings. `#383 `__ (`rossbar `__) - MAINT: Dont import for version `#382 `__ (`larsoner `__) - Runtime verification of sphinx and jinja2 versions `#381 `__ (`rossbar `__) - DOC: fix broken link to built-in validation checks. `#379 `__ (`rossbar `__) - Add pre-commit hook / linter `#374 `__ (`jarrodmillman `__) - Remove deprecated numpydoc_edit_link `#372 `__ (`jarrodmillman `__) - Cleanup cruft `#371 `__ (`jarrodmillman `__) 1.2.1 ----- Release date: 29 March 2022 Requires Python 3.7+ and Sphinx 1.8+. `Full Changelog `__ Implemented enhancements ~~~~~~~~~~~~~~~~~~~~~~~~ - Update year `#370 `__ (`jarrodmillman `__) Fixed bugs ~~~~~~~~~~ - Use consistent release tags `#361 `__ (`jarrodmillman `__) - BUG: 1.2 raises error w.r.t. object has no attribute ‘\__name_\_’ `#362 `__ - Use isgeneratorfunction to avoid false alarm YD01 validation `#368 `__ (`jnothman `__) - Fix AttributeError in underline length check `#363 `__ (`rossbar `__) - Upper bound jinja `#369 `__ (`jarrodmillman `__) Closed issues ~~~~~~~~~~~~~ - Validation check YD01 not implemented properly `#365 `__ - Support numpydoc validation without running sphinx `#364 `__ - 1.2: change tagging convention? `#360 `__ 1.2.0 ----- Release date: 24 January 2022 Requires Python 3.7+ and Sphinx 1.8+. Implemented enhancements ~~~~~~~~~~~~~~~~~~~~~~~~ - Document release process `#357 `__ (`jarrodmillman `__) - Use setuptools `#349 `__ (`jarrodmillman `__) - DOC: Switch docs to pydata-sphinx-theme `#313 `__ (`rossbar `__) - Improve error messages for see also parsing `#306 `__ (`rossbar `__) - ENH: Enable validation during sphinx-build process `#302 `__ (`rossbar `__) - Add a note to the docstring standard about long ‘See Also’ entries. `#300 `__ (`WarrenWeckesser `__) - MAINT: minor refactoring in docscrape `#297 `__ (`rossbar `__) - ENH: Add configuration option for parameter cross-referencing `#295 `__ (`rossbar `__) - ENH: Better warning for sections. `#278 `__ (`Carreau `__) Fixed bugs ~~~~~~~~~~ - How to specify that parameter can equal the string ‘integer’? `#341 `__ - Fix validation bug when parameter type is set of options. `#347 `__ (`rossbar `__) - Escape newline in docstring. `#345 `__ (`Carreau `__) - Correctly validate parameters under the “Other Parameters” section `#337 `__ (`dcbr `__) - BUG: fix an incomplete check in ``Reader.\_error\_location`` `#308 `__ (`rgommers `__) - MAINT: pytest ignore doc directory. `#296 `__ (`rossbar `__) - DOC: fix inaccuracy in validate docstring. `#294 `__ (`rossbar `__) - Fix param parsing. `#286 `__ (`Carreau `__) - BUG: Properly parse See Also when summary on first line. `#283 `__ (`Carreau `__) - BUG: fix role regex. `#280 `__ (`Carreau `__) - fix splitting of parameter lines. `#279 `__ (`Carreau `__) Closed issues ~~~~~~~~~~~~~ - Class methods (@classmethod) are not documented using ``numpydoc`` `#340 `__ - Exclude certain methods from METHODS section `#338 `__ - Warnings is not allowed in “GL06” check `#334 `__ - Add version to style guide `#333 `__ - numpydoc does not render parameters as expected `#329 `__ - 1.1.0: pytest warnings `#324 `__ - RTD configuration - ``latest`` `#321 `__ - Rendering of types in latest doc build `#318 `__ - Anchors for individual sections in numpydoc doc? `#317 `__ - Development documentation not up-to-date `#311 `__ - Warning: autosummary: stub file not found `#290 `__ - Wrong number of Parameter for numpy array. `#285 `__ - syntax to document default values `#284 `__ - Failed See Also Parsing. `#281 `__ - Sphinx emits “WARNING: py:class reference target not found” with numpydoc 1.1.0 `#275 `__ 1.1.0 ----- Implemented enhancements ~~~~~~~~~~~~~~~~~~~~~~~~ - MAINT: Suggestions from reviewing test suite `#271 `__ (`rossbar `__) - DEV: Add testing requirements `#267 `__ (`rossbar `__) - BUG: Defer to autodoc for signatures `#221 `__ (`thequackdaddy `__) Fixed bugs ~~~~~~~~~~ - function signatures for \*args, \**kwargs objects off `#218 `__ - BUG: Connect to earlier event `#269 `__ (`larsoner `__) Closed issues ~~~~~~~~~~~~~ - “Handler for event ‘autodoc-process-docstring’ threw an exception” `#268 `__ - Timing of next release `#249 `__ - self included in list of params for method `#220 `__ Additional notes ~~~~~~~~~~~~~~~~ - Due to merging of `#221 `__, self and cls no longer will appear in method signatures. 1.0.0 ----- Implemented enhancements ~~~~~~~~~~~~~~~~~~~~~~~~ - ENH: Add args and kwargs to example `#258 `__ (`larsoner `__) - MAINT,STY: Upgrade to bionic, and change style similar to NumPy `#253 `__ (`mwtoews `__) - Delay import of Sphinx `#248 `__ (`cgohlke `__) - Adding –validate option \__main_\_ and run new validation `#240 `__ (`datapythonista `__) - Add docstring validation script (from pandas) `#238 `__ (`datapythonista `__) - ENH: Test full output and coverage `#230 `__ (`larsoner `__) - DOC: Add description for blank lines after the docstring. `#229 `__ (`bingyao `__) Fixed bugs ~~~~~~~~~~ - References outside function `#214 `__ - FIX: Get doc of actual class in test `#262 `__ (`larsoner `__) - TST: Add inherited method `#260 `__ (`larsoner `__) - Fixes references outside function (#214) `#259 `__ (`Hoxbro `__) - Disable escaping “\*” on signature `#256 `__ (`tk0miya `__) - MAINT: clean-up unused objects `#254 `__ (`mwtoews `__) - STY: Reword first lines of example.py docstrings `#246 `__ (`justinludwig `__) - DOC: Fixed three formatting issues in docs `#245 `__ (`rossbar `__) - STY Minor style improvements to doc/example.py to pass validation `#243 `__ (`rth `__) - BUG: Allow no . at end if indented `#239 `__ (`larsoner `__) - DOC: Update links and code checkers info in format.rst `#228 `__ (`bingyao `__) - DOC: Update links and info in conf.py. `#227 `__ (`bingyao `__) - BUG: Fix full rebuilds `#226 `__ (`larsoner `__) - MAINT: doctest and pytest `#225 `__ (`larsoner `__) - Py3fy some doctests. `#224 `__ (`anntzer `__) - MAINT: fix trivial source comment typos `#222 `__ (`luzpaz `__) - Add missing headings to code examples `#252 `__ (`Cadair `__) Removed ~~~~~~~ - MNT Drop Python 2.7 and 3.4 support `#236 `__ (`rth `__) Closed issues ~~~~~~~~~~~~~ - Prefix added to reference keys in class docstrings `#263 `__ - Test failure with python 3.9 `#261 `__ - sphinx doc napoleon extension maintainer interest request `#251 `__ - Missing reference to float_power function in the ufunc list `#250 `__ Additional notes ~~~~~~~~~~~~~~~~ - CSS styling changed from NumpyDoc < 0.8 and Sphinx < 2.0 to more properly make use of definition lists. This can cause issues with rendering that can be fixed via CSS, especially when using ``sphinx-rtd-theme``. For more information, see: - https://github.com/numpy/numpydoc/issues/215#issuecomment-568261611 - https://github.com/readthedocs/sphinx_rtd_theme/pull/838