Skip to content

0.12.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Jan 18:01
· 7 commits to main since this release

0.12.0 - 2024-01-11

Compare with 0.11.3

Possible breaking changes

Automatic detection of API breaking changes thanks to Griffe:

  • src/aria2p/api.py:23: PathOrStr: Public object was removed
  • src/aria2p/downloads.py:16: aria2p: Public object was removed
  • src/aria2p/downloads.py:19: PathOrStr: Public object was removed
  • src/aria2p/interface.py:22: Dict: Public object was removed
  • src/aria2p/interface.py:476: Interface.width: Attribute value was changed: None -> 80
  • src/aria2p/interface.py:475: Interface.height: Attribute value was changed: None -> 20
  • src/aria2p/interface.py:352: Interface.screen: Attribute value was changed: None -> unset
  • src/aria2p/interface.py:355: Interface.scroller: Attribute value was changed: None -> unset
  • src/aria2p/options.py:13: aria2p: Public object was removed
  • src/aria2p/options.py:20: GenericMeta: Public object was removed
  • src/aria2p/types.py:0: <module>: Public object was removed
  • src/aria2p/utils.py:14: Dict: Public object was removed
  • src/aria2p/utils.py:16: pkg_resources: Public object was removed
  • src/aria2p/utils.py:17: toml: Public object was removed
  • src/aria2p/utils.py:21: PathOrStr: Public object was removed
  • src/aria2p/cli/commands/listen.py:10: PathOrStr: Public object was removed

These objects removal have very few chances of breaking user code,
because they're almost entirely related to type annotations for aria2p itself,
which users shouldn't rely upon. The rest were non-public imports.

Bug Fixes

Code Refactoring

  • Use importlib.metadata instead of pkg_resources (e259a40 by Timothée Mazzucotelli).
  • Use tomli, and tomllib on Python 3.11+ (8effdac by Michał Fluder). PR #127