Releases: mjishnu/pypdl
Releases · mjishnu/pypdl
pypdl 1.5.5
What's Changed
- Refine Range Header parsing for spec compliance and error suppression (#43)
- Remove clear_terminal option (pypdl no longer clears the terminal)
- Update docs and logging format
- Minor bug fixes
Full Changelog: 1.5.4...1.5.5
pypdl 1.5.4
What's Changed
- Fix documentation errors (#39)
- Introduce caching in FileValidator (#40)
- Fix hash checking (#37)
- Introduce parameter for precomputing hash (
hash_algorithms
) while downloading in start method (#36), check docs for more details - Add callback support (
callback
) in start method (#38), check docs for more details
Full Changelog: 1.5.3...1.5.4
pypdl 1.5.3
What's Changed
- Fix failed list not updating
- Improve file name generation
Full Changelog: 1.5.2...1.5.3
pypdl 1.5.2
What's Changed
- Add support for Keyboard Interrupt when
block=True
. - Dynamic update of success and failed lists during runtime (#33)
- Suppressed log spamming, minor bug fixes and code refactoring.
Full Changelog: 1.5.1...1.5.2
pypdl 1.5.1
What's Changed
- Re-implemented mirror parameter (now supports coroutines as well)
- Fix resource leak (not properly cancelling tasks when exception occurs)
- Fix other minor bugs (#32, #31)
Full Changelog: 1.5.0...1.5.1
pypdl 1.5.0
What's Changed
- Removed pypdl factory (pypdl now supports the task parameter, check the docs for more details).
- Removed mirror_func (you can directly pass func to URL for the same effect).
- Removed wait flag.
- Implemented asyncio-based producer-consumer pattern for downloader
- Enhanced performance and scalability of the downloader.
- Added speed limit support.
- Added Range header support (#28).
- Fixed bugs (#15).
Full Changelog: 1.4.5...1.5.0
pypdl 1.4.5
What's Changed
- Added support for disabling terminal clearing when
display=True
(#27). - Introduced a new
completed
property toPypdlFactory
, which checks if all tasks are completed (returns a boolean value). The previouscompleted
attribute has been renamed tosuccess
for better consistency. - Fixed a bug that caused a deadlock when calling
stop
on an already completedPypdlFactory
instance. - Other minor bug fixes and code refactoring.
Note: The positions of arguments in the start
methods of Pypdl
and PypdlFactory
have changed, refer docs for more info.
Full Changelog: 1.4.4...1.4.5
pypdl 1.4.4
What's Changed
- Improve file name generation
- Add support for dynamic url (#25)
Full Changelog: 1.4.3...1.4.4
pypdl 1.4.3
What's Changed
- Fix progress rounding issue in pypdl factory when odd number of task are supplied
- Small logging enhancements (include traceback when logging exceptions, fix typos) by @Speyedr in #22
- Prevent sticky Pypdl._kwargs['headers']['range'] reference bug when reusing Pypdl object with user-supplied headers and multiple multi-segment downloads by @Speyedr in #24
New Contributors
Full Changelog: 1.4.2...1.4.3
pypdl 1.4.2
What's Changed
- Fix a bug when downloading multiple files sequentially using a single instance of
pypdl
withallow_resue=True
- Introduce wait flag, this flag is set to true only after all preliminary data has been fetched, useful for checking readiness of download (check docs for more details)
Full Changelog: 1.4.1...1.4.2