Releases: skyflowapi/skyflow-python
1.16.1
What's Changed
Deprecation Notice: Skyflow Python SDK v1.x will reach End of Life on October 31, 2026.
Please migrate to v2: Migration Guide
Added
- Added
docs/migrate_to_v2.md— full V1 → V2 migration guide covering authentication, client initialization, request/response structure, and error format. - Added EOL banner to README pointing v1 users to the migration guide.
Full Changelog: 1.16.0...1.16.1
2.1.1
What's Changed
Security
- Fixed GHSA-752w-5fwx-jx9f (High): raised PyJWT minimum to 2.12.0, which patches JWT crit header bypass vulnerability.
Dependencies
- PyJWT: ~=2.9.0 → >=2.12, <3
- python-dotenv: ~=1.0.1 → >=1.0, <2
- urllib3: >=1.25.3, <2.1.0 → >=1.25.3, <3
Python
- Minimum Python version raised from 3.8 to 3.9 — Python 3.8 is EOL (Oct 2024) and PyJWT ≥2.12 does not support it.
Full Changelog: 2.1.0...2.1.1
2.1.0
What's Changed
Deprecations (Backward Compatible)
update_log_level()has been re-added as a backward-compatible shim that delegates toset_log_level()and emits a deprecation warning. It was removed in the previous release by mistake.redactionkey in detokenize requests is now deprecated in favor ofredaction_type. Both keys are accepted —redaction_typetakes priority. Usingredactionalone emits a deprecation warning.- Positional arguments in
FileUploadRequest(table, skyflow_id, column_name)are deprecated. Callers should migrate to keyword arguments. A deprecation warning is emitted when the old positional order is used.
New
errorsfield added toDeidentifyFileResponse,DeidentifyTextResponse, andReidentifyTextResponse.
Full Changelog: 2.0.2...2.1.0
2.0.2
What's Changed
- Added support for passing a dictionary as context in bearer token and signed data token generation requests. This enables Conditional Data Access policies that reference multiple context values (e.g. request.context.role, request.context.department) using a single token generation call.
Full Changelog: 2.0.1...2.0.2
2.0.1
What's Changed
- Fixed an issue where the Fern-generated HTTP client was not re-initialised correctly after a token refresh, causing excessive memory usage on long-running connections.
Full Changelog: 1.15.8...2.0.1
2.0.0
What's Changed
Added
-
Multi-vault and multi-connection support via a fluent builder (Skyflow.builder()). A single client can now manage multiple vault and connection configurations simultaneously.
-
Typed request and response classes for all vault operations: InsertRequest, GetRequest, UpdateRequest, DeleteRequest, QueryRequest, DetokenizeRequest, TokenizeRequest, FileUploadRequest.
-
Detect API: de-identify and re-identify sensitive data in text (deidentify_text, reidentify_text) and files (deidentify_file, get_detect_run).
-
Flexible credential types: API key, static bearer token, service account credentials string, credentials file path, and SKYFLOW_CREDENTIALS environment variable.
-
SkyflowError now includes structured fields: http_code, grpc_code, http_status, request_id, and details.
Changed
- Complete rewrite of the SDK public API. All v1 method names, signatures, and response shapes have changed.
Removed
- All v1 public API surface (getById, invokeConnection, insertRecord, etc.). Use the new typed request classes instead.
Full Changelog: 1.16.0...2.0.0
1.15.8
What's Changed
- Fixed retry logic when continue_on_error=True is set on an insert request. Previously, partial failures were not retried correctly when this flag was enabled, potentially causing inconsistencies in the inserted records.
Full Changelog: 1.15.7...1.15.8
1.16.0
What's Changed
- Optimised connection pooling in the insert method by switching to requests.Session, reducing connection errors and improving reliability at scale.
- Added automatic retry logic for connection-related errors and 5xx server errors to improve resilience on long-running or high-throughput workloads.
Full Changelog: 1.15.5...1.16.0
1.15.7
What's Changed
- SK-2131 retry for errors in insert by @skyflow-shravan in #205
1.15.6
What's Changed
- SK-2131 add retry for errors by @skyflow-shravan in #202
Full Changelog: 1.15.5...1.15.6