Releases: laurent-laporte-pro/deprecated
v1.2.15
What's Changed
- build: drop deprecated CI tools by @12rambau in #67
- fix: add
extra_stacklevel
argument to better control deprecated function call references by @coroa in #69 - Update class method deprecation warnings for Python 3.13 by @mgorny in #73
- Add support for Python 3.12 by @hugovk in #75
- v1.2.15 by @laurent-laporte-pro in #76
New Contributors
- @coroa made their first contribution in #69
- @laurent-laporte-pro made their first contribution in #76
Full Changelog: v1.2.14...v1.2.15
v1.2.14
Fix
- Fix #60: return a correctly dedented docstring when long docstring are using the D212 or D213 format.
Other
- Add support for Python 3.11.
- Drop support for Python older than 3.7 in build systems like pytest and tox, while ensuring the library remains production-compatible.
- Update GitHub workflow to run in recent Python versions.
New Contributors
Full Changelog: v1.2.13...v1.2.14
v1.2.13 - Bug fix Release
Fix
-
Fix #45: Change the signature of the :func:
~deprecated.sphinx.deprecated
decorator to reflect
the valid use cases. -
Fix #48: Fix
versionadded
andversionchanged
decorators: do not return a decorator factory,
but a Wrapt adapter.
Other
-
Fix configuration for AppVeyor: simplify the test scripts and set the version format to match the current version.
-
Change configuration for Tox:
- change the requirements for
pip
to "pip >= 9.0.3, < 21" (Python 2.7, 3.4 and 3.5). - install
typing
when building on Python 3.4 (required by Pytest->Attrs). - run unit tests on Wrapt 1.13 (release candidate).
- change the requirements for
-
Migrating project to
travis-ci.com <https://travis-ci.com/github/tantale/deprecated>
_.
v1.2.12 - Bug fix Release
v1.2.11 - Bug fix Release
- Fix packit configuration: use
upstream_tag_template: v{version}
. - Fix #33: Change the class ~deprecated.sphinx.SphinxAdapter: add
theline_length
keyword argument to the constructor to specify the
max line length of the directive text. Sphinx decorators also accept
theline_length
argument. - Fix #34:
versionadded
andversionchanged
decorators don't emit
DeprecationWarning
anymore on decorated classes.
v1.2.10 - Bug fix Release
Fix #25: @deprecated respects global warning filters with actions other than "ignore" and "always" on Python 3.
v1.2.9 - Bug fix Release
v1.2.8 - Bug fix Release
Fix #15: The @deprecated decorator doesn’t set a warning filter if the action keyword argument is not provided or None. In consequences, the warning messages are only emitted if the global filter allow it. For more information, see The Warning Filter in the Python documentation.
Fix #13: Warning displays the correct filename and line number when decorating a class if wrapt does not have the compiled c extension.
The API documentation and the Tutorial is improved to explain how to use custom warning categories and local filtering (warning filtering at function call).
Fix #17: Customize the sidebar to add links to the documentation to the source in GitHub and to the Bug tracker. Add a logo in the sidebar and change the logo in the main page to see the library version.
Add a detailed documentation about The “Sphinx” decorators.
Change the Tox configuration to test the library with Wrapt 1.12.x.
v1.2.7 - Bug fix Release
Fix: Warning displays the correct filename and line number when decorating a function if wrapt does not have the compiled c extension.
v1.2.6 - Bug fix Release
New release v1.2.6 (2019-07-06)