Skip to content

chore(deps): update dependency b2sdk to v1.11.0

Botaniker (Bot) requested to merge renovate/b2sdk-1.x into master

This MR contains the following updates:

Package Update Change
b2sdk minor ==1.7.0 -> ==1.11.0

Release Notes

Backblaze/b2-sdk-python

v1.11.0

Compare Source

Changed
  • apiver v2 interface released. from b2sdk.v2 import ... is now the recommended import, but from b2sdk.v1 import ... works as before

v1.10.0

Compare Source

Added
  • get_fresh_state method added to FileVersion and Bucket
Changed
  • download_file_* methods refactored to allow for inspecting DownloadVersion before downloading the whole file
  • B2Api.get_file_info returns a FileVersion object in v2
  • B2RawApi renamed to B2RawHTTPApi
  • B2HTTP tests are now common
  • B2HttpApiConfig class introduced to provide parameters like user_agent_append to B2Api without using internal classes in v2
  • Bucket.update returns a Bucket object in v2
  • Bucket.ls argument show_versions renamed to latest_only in v2
  • B2Api application key methods refactored to operate with dataclasses instead of dicts in v2
  • B2Api.list_keys is a generator lazily fetching all keys in v2
  • account_id and bucket_id added to FileVersion
Fixed
  • Fix EncryptionSetting.from_response_headers
  • Fix FileVersion.size and FileVersion.mod_time_millis type ambiguity
  • Old buckets (from past tests) are cleaned up before running integration tests in a single thread
Removed
  • Remove deprecated SyncReport methods

v1.9.0

Compare Source

Added
  • ScanPoliciesManager is able to filter b2 files by upload timestamp
Changed
  • Synchronizer.make_file_sync_actions and Synchronizer.make_folder_sync_actions were made private in v2 interface
  • Refactored sync.file.*File and sync.file.*FileVersion to sync.path.*SyncPath in v2
  • Refactored FileVersionInfo to FileVersion in v2
  • ScanPoliciesManager exclusion interface changed in v2
  • B2Api unittests for v0, v1 and v2 are now common
  • B2Api.cancel_large_file returns a FileIdAndName object instead of a FileVersion object in v2
  • FileVersion has a mandatory api parameter in v2
  • B2Folder holds a handle to B2Api
  • Bucket unit tests for v1 and v2 are now common
Fixed
  • Fix call to incorrect internal api in B2Api.get_download_url_for_file_name

v1.8.0

Compare Source

Added
  • Add get_bucket_name_or_none_from_bucket_id to AccountInfo and Cache
  • Add possibility to change realm during integration tests
  • Add support for "file locks": file retention, legal hold and default bucket retention
Fixed
  • Cleanup sync errors related to directories
  • Use proper error handling in ScanPoliciesManager
  • Application key restriction message reverted to previous form
  • Added missing apiver wrappers for FileVersionInfo
  • Fix crash when Content-Range header is missing
  • Pin dependency versions appropriately
Changed
  • b2sdk.v1.sync refactored to reflect b2sdk.sync structure
  • Make B2Api.get_bucket_by_id return populated bucket objects in v2
  • Add proper support of recommended_part_size and absolute_minimum_part_size in AccountInfo
  • Refactored minimum_part_size to recommended_part_size (tha value used stays the same)
  • Encryption settings, types and providers are now part of the public API
Removed
  • Remove Bucket.copy_file and Bucket.start_large_file
  • Remove FileVersionInfo.format_ls_entry and FileVersionInfo.format_folder_ls_entry

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box.

This MR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.

Edited by Botaniker (Bot)

Merge request reports

Loading