|
1 | | -# 0.35.1 |
2 | | -### Simplified File Transfer API |
3 | | - |
4 | | -File upload and download operations have been simplified. The high-level methods `Dataset.download_files()`, `Dataset.upload_files()`, and `File.download()` remain the recommended interfaces for file transfers. Implementation details that were previously exposed—such as credential management, progress monitoring factories, and upload transaction orchestration—have been moved into internal infrastructure and are no longer part of the public API. |
5 | | - |
6 | | -**If you were using the high-level methods**, no changes are required beyond noting that `File.download()` now accepts a simpler `print_progress: bool` parameter instead of `credential_provider` and `progress_monitor_factory`. |
7 | | - |
8 | | -**If you were using lower-level utilities directly**, migrate to the high-level methods above, or use `FileService` from `roboto.fs` if you need more control. |
9 | | - |
10 | | -**Removed from public API:** |
11 | | - |
12 | | - - `FileDownloader` class: use `Dataset.download_files()`, `File.download()`, or `FileService` directly instead |
13 | | - - Credential types (`CredentialProvider`, `DatasetCredentials`, `S3Credentials`, `UploadCredentials`) |
14 | | - - Upload transaction types (`BeginManifestTransactionRequest`, `BeginManifestTransactionResponse`, `ReportTransactionProgressRequest`) |
15 | | - - `File` static methods (`construct_s3_obj_arn()`, `construct_s3_obj_uri()`, `generate_s3_client()`): internal utilities no longer needed |
16 | | - - `Dataset` internals (`_complete_manifest_transaction()`, `_create_manifest_transaction()`, `_flush_manifest_item_completions()`, `UPLOAD_REPORTING_BATCH_COUNT`, `UPLOAD_REPORTING_MIN_BATCH_SIZE`) |
17 | | - - Modules: `roboto.domain.files.file_creds`, `roboto.domain.files.file_downloader`, `roboto.domain.files.file_service`, `roboto.domain.files.progress` |
18 | | - |
19 | | -## Features Added |
20 | | - - Added generic file upload API endpoints (`/v1/files/upload/*`) that support uploading files to any association type (datasets, topics, etc.), replacing the dataset-specific upload endpoints. |
21 | | - |
22 | | -## Bugs Fixed |
23 | | - - CLI version checker now queries GitHub Releases instead of PyPI, ensuring users are only prompted to upgrade to CLI versions that are actually published and available. |
24 | | - |
| 1 | +# 0.35.2 |
0 commit comments