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.
- Add
get_bucket_name_or_none_from_bucket_id
toAccountInfo
andCache
- Cleanup sync errors related to directories
- Use proper error handling in
ScanPoliciesManager
- Application key restriction message reverted to previous form
b2sdk.v1.sync
refactored to reflectb2sdk.sync
structure- Make
B2Api.get_bucket_by_id
return populated bucket objects in v2 - Add proper support of
recommended_part_size
andabsolute_minimum_part_size
inAccountInfo
- Refactored
minimum_part_size
torecommended_part_size
(tha value used stays the same) - Encryption settings, types and providers are now part of the public API
- Remove
Bucket.copy_file
andBucket.start_large_file
1.7.0 - 2021-04-22
- Add
__slots__
and__eq__
toFileVersionInfo
for memory usage optimization and ease of testing - Add support for SSE-C server-side encryption mode
- Add support for
XDG_CONFIG_HOME
for determining the location ofSqliteAccountInfo
db file
BasicSyncEncryptionSettingsProvider
supports different settings sets for reading and writing- Refactored AccountInfo tests to a single file using pytest
- Fix clearing cache during
authorize_account
- Fix
ChainedStream
(needed inBucket.create_file
etc.) - Make tqdm-based progress reporters less jumpy and easier to read
- Fix emerger examples in docs
1.6.0 - 2021-04-08
- Fetch S3-compatible API URL from
authorize_account
- Exclude packages inside the test package when installing
- Fix for server response change regarding SSE
1.5.0 - 2021-03-25
- Add
dependabot.yml
- Add support for SSE-B2 server-side encryption mode
- Add upper version limit for the requirements
- Pin
setuptools-scm<6.0
as>=6.0
doesn't support Python 3.5
1.4.0 - 2021-03-03
- Add an ability to provide
bucket_id
filter parameter forlist_buckets
- Add
is_same_key
method toAccountInfo
- Add upper version limit for arrow dependency, because of a breaking change
- Fix docs autogen
1.3.0 - 2021-01-13
- Add custom exception for
403 transaction_cap_exceeded
- Add
get_file_info_by_id
andget_file_info_by_name
toBucket
FileNotPresent
andNonExistentBucket
now subclass new exceptionsFileOrBucketNotFound
andResourceNotFound
- Fix missing import in the synchronization example
- Use
setuptools-scm
for versioning - Clean up CI steps
1.2.0 - 2020-11-03
- Add support for Python 3.9
- Support for bucket to bucket sync
- Add a possibility to append a string to the User-Agent in
B2Http
- Change default fetch count for
ls
to 10000
- Drop Python 2 and Python 3.4 support 🎉
- Remove
--prefix
fromls
(it didn't really work, usefolderName
argument)
- Allow to set an empty bucket info during the update
- Fix docs generation in CI
1.1.4 - 2020-07-15
- Allow specifying custom realm in B2Session.authorize_account
1.1.2 - 2020-07-06
- Fix upload part for file range on Python 2.7
1.1.0 - 2020-06-24
- Add
list_file_versions
method to buckets. - Add server-side copy support for large files
- Add ability to synthesize objects from local and remote sources
- Add AuthInfoCache, InMemoryCache and AbstractCache to public interface
- Add ability to filter in ScanPoliciesManager based on modification time
- Add ScanPoliciesManager and SyncReport to public interface
- Add md5 checksum to FileVersionInfo
- Add more keys to dicts returned by as_dict() methods
- Make sync treat hidden files as deleted
- Ignore urllib3 "connection pool is full" warning
- Remove arrow warnings caused by arrow-py/arrow#612
- Fix handling of modification time of files
1.0.2 - 2019-10-15
- Remove upper version limit for arrow dependency
1.0.0 - 2019-10-03
- Minor bug fix.
1.0.0-rc1 - 2019-07-09
- Deprecate some transitional method names to v0 in preparation for v1.0.0.
0.1.10 - 2019-07-09
- Remove a parameter (which did nothing, really) from
b2sdk.v1.Bucket.copy_file
signature
0.1.8 - 2019-06-28
- Add support for b2_copy_file
- Add support for
prefix
parameter on ls-like calls
0.1.6 - 2019-04-24
- Rename account ID for authentication to application key ID. Account ID is still backwards compatible, only the terminology has changed.
- Fix transferer crashing on empty file download attempt
0.1.4 - 2019-04-04
Initial official release of SDK as a separate package (until now it was a part of B2 CLI)