Skip to content

Latest commit

 

History

History
113 lines (71 loc) · 2.2 KB

File metadata and controls

113 lines (71 loc) · 2.2 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.2.5]

Added

  • Optional parameter to fetch_file() with a modified time of the remote file pulled from the TIND API. fetch_file() uses this to avoid unnecessary downloads if a file already exists at the target location and has a modified time that is newer than the requested file.
  • Added tests for this new behavior.

Changed

  • Raises a file not downloaded error if tind_download() fails to return a written file path.

Fixed

  • Found a bug in the fetch_file() method where the "backup" filename parsing logic would always return download as the filename.

[0.2.4]

Added

  • TooManyRequestsError is raised by all API calls when the TIND API returns an HTTP 429 response.

[0.2.3]

Added

  • parameter to client.write_search_results_to_file() to specify an output directory for the file, with fallback to default_storage_dir if not provided
  • also uses PATH

[0.2.2]

Changed

  • build package and publish to pypi, using setuptools_scm for version management

[0.2.1]

Changed

  • reconciling version agreement between the releases, this file, and the pyproject.toml

[0.2.0]

Added

  • client method to write search results to an XML file, with validation against expected number of records to be written
  • client method to return an iterator of XML records from a search, to support streaming results for large result sets
  • xml fixture files for testing
  • tests for the new client methods, including edge cases for validation

Changed

  • README examples

Deprecated

  • N/A

Removed

  • N/A

Fixed

  • N/A

Security

  • N/A

[0.1.1]

Added

  • N/A

Changed

  • Expand supported Python versions to include 3.12

Deprecated

  • N/A

Removed

  • N/A

Fixed

  • N/A

Security

  • N/A

[0.1.0]

Added

  • Implemented TINDClient to wrap API interactions
  • Created tests, linting, and ci configurations

Changed

  • N/A

Deprecated

  • N/A

Removed

  • N/A

Fixed

  • N/A

Security

  • N/A