Skip to content

Releases: laurent-laporte-pro/deprecated

v1.2.14

27 May 16:06
Compare
Choose a tag to compare

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

05 Sep 11:11
Compare
Choose a tag to compare

Fix

  • Fix #45: Change the signature of the :func:~deprecated.sphinx.deprecated decorator to reflect
    the valid use cases.

  • Fix #48: Fix versionadded and versionchanged 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).
  • Migrating project to travis-ci.com <https://travis-ci.com/github/tantale/deprecated>_.

v1.2.12 - Bug fix Release

13 Mar 14:34
Compare
Choose a tag to compare

New bug fix release v1.2.12 (2020-03-13)

  • Avoid "Explicit markup ends without a blank line" when the decorated function has no docstring.
  • Fix #40: 'version' argument is required in Sphinx directives.
  • Fix #41: deprecated.sphinx: strip Sphinx cross-referencing syntax from warning message.

v1.2.11 - Bug fix Release

17 Jan 10:07
Compare
Choose a tag to compare
  • Fix packit configuration: use upstream_tag_template: v{version}.
  • Fix #33: Change the class ~deprecated.sphinx.SphinxAdapter: add
    the line_length keyword argument to the constructor to specify the
    max line length of the directive text. Sphinx decorators also accept
    the line_length argument.
  • Fix #34: versionadded and versionchanged decorators don't emit
    DeprecationWarning anymore on decorated classes.

v1.2.10 - Bug fix Release

13 May 21:02
Compare
Choose a tag to compare

Fix #25: @deprecated respects global warning filters with actions other than "ignore" and "always" on Python 3.

v1.2.9 - Bug fix Release

10 Apr 08:47
Compare
Choose a tag to compare
  • Fix #20
  • Fix #19 packit configuration

v1.2.8 - Bug fix Release

05 Apr 20:51
Compare
Choose a tag to compare

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

11 Nov 16:53
Compare
Choose a tag to compare

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

18 Jul 21:41
Compare
Choose a tag to compare
New release v1.2.6 (2019-07-06)

v1.2.5 - Bug fix Release

18 Jul 21:41
Compare
Choose a tag to compare
Bump version: 1.2.4 → 1.2.5