Releases: jjjake/internetarchive
Releases · jjjake/internetarchive
Version 5.0.0
Updated the CLI's command-line argument parsing by replacing the obsolete docopt with the native argparse library, ensuring continued functionality and future compatibility. Note: While the CLI functionality hasn't changed, some commands may need to be formatted slightly differently. If you encounter any issues, refer to ia --help
and ia {command} --help
if you run into any issues.
What's Changed
- Skip early when downloading existing file by @ChlodAlejandro in #650
- Add archive file to cache files that passed checksum validation (#600) by @benbou8231 in #645
- Refactoring CLI argument parsing from docopt to argparse by @jjjake in #646
New Contributors
- @ChlodAlejandro made their first contribution in #650
- @benbou8231 made their first contribution in #645
Full Changelog: v4.1.0...v5.0.0
Version 4.1.0
What's Changed
- Add refresh opt-out on Item.modify_metadata() by @DuncanDHall in #643
- Use mtime from files.xml if no Last-Modified header is available (e.g. VTT files) by @jjjake in 903a833
Full Changelog: v4.0.1...v4.1.0
Version 4.0.1
Features and Improvements
- Partially downloaded files will now automatically resume where they left off when retried.
- Use
Last-Modified
header to set all mtimes (this includes files.xml now).
Version 3.7.0
Features and Improvements
- Added support for JSON Patch test operations, via the
expect
parameter. - Added support for moving values via --append-list (Now, rather than ignoring any requests where the value is already present,
--append-list
will move the value to the end of the list). - Switched to importlib-metadata to drop deprecated pkg_resources.
Bugfixes
- Fixed automatic size hint on uploads.
- Fixed bug where auth wasn't being sent for searches with user_aggs params.
Version 3.4.0
Features and Improvements
- Added parameters for filtering files based on their source value in files.xml.
- Added support for downloading multiple files to stdout.
- Added timeout parameter to download.
Version 3.3.0
Features and Improvements
- Added support for inserting metadata into an existing multi-value metadata
field. It differs fromia metadata <id> --modify collection[0]:foo
in
that it does not clobber. For example,
ia metadata <id> --insert collection[0]:foo
will insertfoo
as the
first collection, it will not clobber.
Bugfixes
- Fixed bug in search where timeouts would always be returned on queries
submitted to the files index where more than 10,000 results would be
returned.
Version 3.2.0
Features and Improvements
- Added support for admins to delete reviews via itemname.
Version 3.1.0
Bugfixes
- Fixed bug in
ia search --fts
where--itemlist
was printing empyt lines. - Fixed bug in
ia search --fts
where-p scope:all
was not working. - Fixed directory creation race conditions in download.
- Fixed bug in
ia download --stdout
where nothing would be printed to stdout
if the specified file existed on disk. - Fixed bug that made it impossible to upload to user items.
- Fixed memoryview error when running
Item.upload
withStringIO
input
andverbose=True
. - Fixed bug in upload where a period was not being expanded properly to the
contents of the current directory.
Features and Improvements
- Added support for admins to delete other users reviews.
- Added support for excluding files in
ia download
via the--exclude
parameter. - Various refactoring and code simplifications.
Version 3.0.2
Bugfixes
- Fixed bug where installation would fail in some cases if
requests
,tqdm
,
orjsonpatch
were not already installed.
Version 3.0.1
Features and Improvements
- Cut down on the number of HTTP requests made by search.
- Added Python type hints, and other Python 3 improvements.