Skip to content

Commit f6e71de

Browse files
committed
Update SDK to version 0.35.1
1 parent c78a8bf commit f6e71de

45 files changed

Lines changed: 1610 additions & 1509 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
# 0.35.1
4+
### Simplified File Transfer API
5+
6+
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.
7+
8+
**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`.
9+
10+
**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.
11+
12+
**Removed from public API:**
13+
14+
- `FileDownloader` class: use `Dataset.download_files()`, `File.download()`, or `FileService` directly instead
15+
- Credential types (`CredentialProvider`, `DatasetCredentials`, `S3Credentials`, `UploadCredentials`)
16+
- Upload transaction types (`BeginManifestTransactionRequest`, `BeginManifestTransactionResponse`, `ReportTransactionProgressRequest`)
17+
- `File` static methods (`construct_s3_obj_arn()`, `construct_s3_obj_uri()`, `generate_s3_client()`): internal utilities no longer needed
18+
- `Dataset` internals (`_complete_manifest_transaction()`, `_create_manifest_transaction()`, `_flush_manifest_item_completions()`, `UPLOAD_REPORTING_BATCH_COUNT`, `UPLOAD_REPORTING_MIN_BATCH_SIZE`)
19+
- Modules: `roboto.domain.files.file_creds`, `roboto.domain.files.file_downloader`, `roboto.domain.files.file_service`, `roboto.domain.files.progress`
20+
21+
## Features Added
22+
- 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.
23+
24+
## Bugs Fixed
25+
- 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.
26+
327
# 0.35.0.post1
428
## Bugs Fixed
529
- Added `RobotoApiVersion.v2026_01_02` to support backwards-compatible handling of null vs. unset semantics in dataset update requests.

RELEASE_NOTES.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
1-
# 0.35.0.post1
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+
222
## Bugs Fixed
3-
- Added `RobotoApiVersion.v2026_01_02` to support backwards-compatible handling of null vs. unset semantics in dataset update requests.
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.
424

0 commit comments

Comments
 (0)