Skip to content

1.5.0

Latest

Choose a tag to compare

@vaultah vaultah released this 05 Feb 15:33
38c85a4
  • Python 3.13 support and wheels.
  • For encrypted repositories, keys can now be created without a password, in which case secrets will be stored within the key in plaintext. As such, non-password-protected keys must be stored securely. Password-protected keys are still supported.

CLI changes:

  • init command no longer requires a password when creating encrypted repositories
  • add-key command no longer requires a password for the new key
  • stricter validation for init and add-key settings

Python API changes:

  • Repository.init now returns an instance of InitResult and no longer requires password argument when creating encrypted repositories
  • Repository.add_key now returns an instance of AddKeyResult and no longer requires password argument
  • Repository.snapshot now returns an instance of SnapshotResult
  • Repository.restore now returns an instance of RestoreResult with paths of restored files and digests of chunks that those files referenced
  • Repository.upload_objects now always returns None
  • Repository.list_objects now returns a list of object paths
  • stricter validation for init and add_key settings

Miscellaneous changes:

  • revised README
  • added Trove classifiers
  • replaced the deprecated appdirs with platformdirs
  • sprinkled in some type annotations and stubs, added mypy step to the linting script