Releases: Backblaze/b2-sdk-python
1.17.3
As in version 1.16.0, the replication API may still be unstable, however
no backward-incompatible changes are planned at this point.
Fixed
- Fix
FileVersion._get_upload_headerswhen encryption key isNone
Infrastructure
- Fix download integration tests on non-production environments
- Add
B2_DEBUG_HTTPenv variable to enable network-level test debugging - Disable changelog validation temporarily
1.17.2
As in version 1.16.0, the replication API may still be unstable, however
no backward-incompatible changes are planned at this point.
Fixed
- Fix a race in progress reporter
- Fix import of replication
1.17.1
As in version 1.16.0, the replication API may still be unstable, however
no backward-incompatible changes are planned at this point.
Fixed
- Fix importing scan module
1.17.0
As in version 1.16.0, the replication API may still be unstable, however
no backward-incompatible changes are planned at this point.
Added
- Add
included_sourcesmodule for keeping track of included modified third-party libraries - Add
include_existing_filesparameter toReplicationSetupHelper
Changed
- Downloading compressed files with
Content-Encodingheader set no longer causes them to be decompressed on the fly - it's an option - Change the per part retry limit from 5 to 20 for data transfer operations. Please note that the retry system is not considered to be a part of the public interface and is subject to be adjusted
- Do not wait more than 64 seconds between retry attempts (unless server asks for it)
- On longer failures wait an additional (random, up to 1s) amount of time to prevent client synchronization
- Flatten
ReplicationConfigurationinterface - Reorder actions of
ReplicationSetupHelperto avoid zombie rules
Fixed
- Fix: downloading compressed files and decompressing them on the fly now does not cause a TruncatedOutput error
- Fix
AccountInfo.is_master_key() - Fix docstring of
SqliteAccountInfo - Fix lifecycle rule type in the docs
Infrastructure
- Add 3.11.0-beta.1 to CI
- Change Sphinx major version from 5 to 6
- Extract folder/bucket scanning into a new
scanmodule - Enable pip cache in CI
1.16.0
This release contains a preview of replication support. It allows for basic
usage of B2 replication feature (currently in closed beta).
As the interface of the sdk (and the server api) may change, the replication
support shall be considered PRIVATE interface and should be used with caution.
Please consult the documentation on how to safely use the private api interface.
Expect substantial amount of work on sdk interface:
- The interface of
ReplicationConfigurationWILL change - The interface of
FileVersion.replication_statusMIGHT change - The interface of
FileVersionDownloadMIGHT change
Added
- Add basic replication support to
BucketandFileVersion - Add
is_master_key()method toAbstractAccountInfo - Add
readBucketReplicationsandwriteBucketReplicationstoALL_CAPABILITIES - Add log tracing of
interpret_b2_error - Add
ReplicationSetupHelper
Fixed
- Fix license test on Windows
- Fix cryptic errors when running integration tests with a non-full key
1.15.0
Changed
- Don't run coverage in pypy in CI
- Introduce a common thread worker pool for all downloads
- Increase http timeout to 20min (for copy using 5GB parts)
- Remove inheritance from object (leftover from python2)
- Run unit tests on all CPUs
Added
- Add pypy-3.8 to test matrix
- Add support for unverified checksum upload mode
- Add dedicated exception for unverified email
- Add a parameter to customize
sync_policy_manager - Add parameters to set the min/max part size for large file upload/copy methods
- Add CopySourceTooBig exception
- Add an option to set a custom file version class to FileVersionFactory
- Add an option for B2Api to turn off hash checking for downloaded files
- Add an option for B2Api to set write buffer size for DownloadedFile.save_to method
- Add support for multiple profile files for SqliteAccountInfo
Fixed
- Fix copying objects larger than 1TB
- Fix uploading objects larger than 1TB
- Fix downloading files with unverified checksum
- Fix decoding in filename and file info of
DownloadVersion - Fix an off-by-one bug and other bugs in the Simulator copy functionality
Removed
- Drop support for Python 3.5 and Python 3.6
1.14.1
Fixed
- Fix setting permissions for local sqlite database (thanks to Jan Schejbal for responsible disclosure!)
1.14.0
Fixed
- Relax constraint on arrow to allow for versions >= 1.0.2
1.13.0
Added
- Add support for Python 3.10
Changed
- Update a list with all capabilities
Fixed
- Fix pypy selector in CI
1.12.0
Changed
- The
importlib-metadatarequirement is less strictly bound now (just >=3.3.0 for python > 3.5). B2Apiupdate_file_legal_holdandupdate_file_retention_settingnow return the set values
Added
BucketIdNotFoundthrown based on B2 cloud response_clonemethod toFileVersionandDownloadVersiondelete,update_legal_hold,update_retentionanddownloadmethods added toFileVersion
Fixed
- FileSimulator returns special file info headers properly
Removed
- One unused import.