Skip to content

v0.4.0: Enhanced Documentation & Modernization

Choose a tag to compare

@Borda Borda released this 03 Dec 10:39
· 231 commits to main since this release

🎉 pyDeprecate 0.4.0

We're excited to announce pyDeprecate 0.4.0, bringing automatic documentation updates and broader Python version support to make API deprecation even smoother!

✨ What's New

📝 Automatic Documentation Updates

The headline feature: update_docs option automatically inserts deprecation notices directly into your function and class docstrings!

@deprecated(target=new_function, update_docs=True, deprecated_in="0.4", remove_in="1.0")
def old_function():
    """Does something useful."""
    pass

Now your IDE tooltips and generated documentation will automatically show deprecation warnings, making it easier for users to discover they're using deprecated APIs without even running the code.

🐍 Expanded Python Support

Full support for modern Python versions:

  • ✅ Python 3.10
  • ✅ Python 3.11
  • ✅ Python 3.12
  • ✅ Python 3.13

Keep your deprecation strategy up-to-date with the latest Python releases!

🔧 Under the Hood

  • Modernized build configuration and dependencies
  • Enhanced CI/CD testing across all supported Python versions
  • Improved code quality and type hints
  • Better test coverage

📦 Installation

pip install --upgrade pyDeprecate

🙏 Thank You

Thanks to everyone who has used pyDeprecate and provided feedback!


Full changelog: 0.3.2...0.4.0

New Contributors: