Skip to content

Latest commit

 

History

History
89 lines (60 loc) · 2.35 KB

CHANGES.rst

File metadata and controls

89 lines (60 loc) · 2.35 KB

ChangeLog

Version 0.1.0 2024-10-15

Breaking changes:

  • accepted store URLs: see README
  • Store: require complete levels configuration, #46

Other changes:

  • sftp/posixfs backends: remove ad-hoc mkdir calls, #46
  • optimize Sftp._mkdir, #80
  • sftp backend is now optional, avoids dependency issues on some platforms, #74. Use pip install "borgstore[sftp]" to install with the sftp backend.

Version 0.0.5 2024-10-01

Fixes:

  • backend.create: only reject non-empty storage, #57
  • backends.sftp: fix _mkdir edge case
  • backends.sftp: raise BackendDoesNotExist if base path is not found
  • rclone backend:
    • don't error on create if source directory is empty, #57
    • fix hang on termination, #54

New features:

  • rclone backend: retry errors on load and store 3 times

Other changes:

  • remove MStore for now, see commit 6a6fb334.
  • refactor Store tests, add Store.set_levels method
  • move types-requests to tox.ini, only needed for development

Version 0.0.4 2024-09-22

  • rclone: new backend to access any of the 100s of cloud backends rclone supports, needs rclone >= v1.57.0.

    See the rclone docs for installing rclone and creating remotes. After that, borgstore will support URLs like:

    • rclone://remote:
    • rclone://remote:path
    • rclone:///tmp/testdir (local fs, for testing)
  • Store.list: give up trying to do anything with a directory's "size"

  • .info / .list: return st.st_size for a directory "as is"

  • tests: BORGSTORE_TEST_RCLONE_URL to set rclone test URL

  • tests: allow BORGSTORE_TEST_*_URL into testenv to make tox work for testing sftp, rclone or other URLs.

Version 0.0.3 2024-09-17

  • sftp: add support for ~/.ssh/config, #37
  • sftp: username is optional, #27
  • load known_hosts, remove AutoAddPolicy, #39
  • store: raise BE specific exceptions, #34
  • add Store.stats property, #25
  • bandwidth emulation via BORGSTORE_BANDWIDTH [bit/s], #24
  • latency emulation via BORGSTORE_LATENCY [us], #24
  • fix demo code, also output stats
  • tests: BORGSTORE_TEST_SFTP_URL to set sftp test URL

Version 0.0.2 2024-09-10

  • sftp backend: use paramiko's client.posix_rename, #17
  • posixfs backend: hack: accept file://relative/path, #23
  • support / test on Python 3.13, #21

Version 0.0.1 2024-08-23

First PyPi release.