Skip to content

Releases: jjjake/internetarchive

Version 4.1.0

07 May 15:58
Compare
Choose a tag to compare

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

15 Apr 16:07
Compare
Choose a tag to compare

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

19 Mar 21:23
Compare
Choose a tag to compare

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

05 Apr 20:09
Compare
Choose a tag to compare

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

30 Jan 22:32
Compare
Choose a tag to compare

Features and Improvements

  • Added support for inserting metadata into an existing multi-value metadata
    field. It differs from ia metadata <id> --modify collection[0]:foo in
    that it does not clobber. For example,
    ia metadata <id> --insert collection[0]:foo will insert foo 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

06 Jan 20:07
Compare
Choose a tag to compare

Features and Improvements

  • Added support for admins to delete reviews via itemname.

Version 3.1.0

06 Jan 19:27
Compare
Choose a tag to compare

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 with StringIO input
    and verbose=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

15 Jun 20:02
Compare
Choose a tag to compare

Bugfixes

  • Fixed bug where installation would fail in some cases if requests, tqdm,
    or jsonpatch were not already installed.

Version 3.0.1

02 Jun 17:25
Compare
Choose a tag to compare

Features and Improvements

  • Cut down on the number of HTTP requests made by search.
  • Added Python type hints, and other Python 3 improvements.

Version 3.0.0

17 Mar 19:32
Compare
Choose a tag to compare

Breaking changes

  • Removed Python 2.7, 3.5, and 3.6 support
  • ia download no longer has a --verbose option, and --silent has been renamed to --quiet.
  • internetarchive.download, Item.download and File.download no longer have a silent
    keyword argument. They are silent by default now unless verbose is set to True.

Features and Improvements

  • page parameter is no longer required if rows parameter is specified in search requests.
  • advancedsearch.php endpoint now supports IAS3 authorization.
  • ia upload now has a --keep-directories option to use the full local file paths as the
    remote name.
  • Added progress bars to ia download

Bugfixes

  • Fixed treatment of list-like file metadata in ia list under Python 3
  • Fixed ia upload --debug only displaying the first request.
  • Fixed uploading from stdin crashing with UnicodeDecodeError or TypeError exception.
  • Fixed ia upload silently ignoring exceptions.
  • Fixed uploading from a spreadsheet with a BOM (UTF-8 byte-order mark) raising a KeyError.
  • Fixed uploading from a spreadsheet not reusing the identifier column.
  • Fixed uploading from a spreadsheet not correctly dropping the item column from metadata.
  • Fixed uploading from a spreadsheet with --checksum crashing on skipped files.
  • Fixed minor bug in S3 overload check on upload error retries.
  • Fixed various messages being printed to stdout instead of stderr.
  • Fixed format selection for on-the-fly files.