Skip to content

0.37.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Nov 17:51
· 311 commits to main since this release

0.37.0 - 2023-11-12

Compare with 0.36.9

Deprecations

  • The loader load_module method was renamed load,
    Its module parameter was renamed objspec and is now positional-only.
    This method always returned the specified object, not just modules,
    so it made more sense to rename it load and to rename the parameter
    specifying the object. Old usages (load_module and module=...)
    will continue to work for some time (a few months, a year, more),
    and will emit deprecation warnings.

Features

  • Add option to warn about unknown parameters in Sphinx docstrings (8b11d77 by Ashwin Vinod). Issue #64, PR #210, Co-authored-by: Timothée Mazzucotelli pawamoy@pm.me
  • Add on_package_loaded event (a5cf654 by Timothée Mazzucotelli).
  • Add option to find, load and merge stubs-only packages (6e55f3b by Romain). PR #221, Co-authored-by: Timothée Mazzucotelli pawamoy@pm.me

Bug Fixes

  • Report attributes who lost their value as "unset" (dfffa4b by Geethakrishna-Puligundla). Issue #218, PR #225
  • Don't crash when computing MRO for a class that is named after its parent (a2dd8a6 by Timothée Mazzucotelli).

Code Refactoring

  • Rename loader load_module method to load (2bfe206 by Timothée Mazzucotelli).