Releases: Azure/azure-kusto-python
Fix break in MSI Auth
FIXES:
- MSI auth throws exception due to change in token result format
Graduate Kusto Python to Version 1.0.0
This release include some miscellaneous changes and features.
BREAKING CHANGES:
- Authentication via Managed Service Identity uses
azure.identity
instead ofmsrestazure
.
This library caches tokens which would resolve some issues for high capacity users.
At the moment however, it only supports obtaining user managed service identities via the client_id hint.
Attempting to provideKustoConnectionStringBuilder
with an object_id or msi_res_id will result in aValueError
exception being thrown.
FEATURES:
- Added an option to authenticate using a certificate subject name and issuer.
KustoConnectionStringBuilder.with_aad_application_certificate_sni_authentication(cluster, client_id, PEM, public_certificate, thumbprint, authority_id)
FIXES:
-
Fix a bug where the exception text description reported to
KustoServiceError
were not saved due to a change in the syntax for explicitly calling a Super class constructor. Please mind that,
-- The exception text description is saved in theargs
field of the Exception class.
-- Themessage
field no long exists in Python 3 -
Raise descriptive exception when az cli token not found when using az cli authentication.
Support Blob Storage API 12.x.x
Release is mostly around changing the dependency for Azure Storage on the azure-kusto-ingest package.
It also includes various changes, which are mostly cosmetic, as well as adding E2E tests and adding them to the build pipeline as a check.
BREAKING CHANGES:
- Upgraded to use Azure Storage v12 (will require dependencies)
- All arguments changed to snake_case to conform to python guidelines.
- Renamed
azure.kusto.data.request
toazure.kusto.data.client
- old import offrom azure.kusto.data.request import KustoClient
will now break. should change them to `rom azure.kusto.data import KustoClient
FEATURES:
None
FIXES:
- fixed breaking test (
test_kusto_streaming_ingest_client.py
)
OTHERS:
- Etoe tests - cleanup, grabbing connection parameters from env, and running inside buildpipeline.
- Added Contrib doc
- Added annotations where possible
Various minor fixes
BREAKING CHANGES:
- None
FEATURES:
- New option to authenticate by providing a function callback to
KustoConnectionStringBuilder
which returns a valid authentication token as a string, e.g.
token_provider = lambda: "{caller token}"
kcsb = KustoConnectionStringBuilder.with_token_provider("http://mykusto.kusto.windows.net", token_provider)
-
When ingesting zip and gzip files, and uncompressed file size is not provided by the caller, attempt to detect uncompressed size from the file metadata.
-
When ingesting, a user can provide inline ingestion mapping in the ingestion command instead of creating it in advance.
We suggest to use the newcolumnMapping
class instead ofCsvColumnMapping
orJsonColumnMapping
.
FIXES:
- When ingesting a file and uncompressed file size is provided by the caller, use provided uncompressed file size instead of estimating the uncompressed size from the file size or file metadata
Fix for MSI auth
BREAKING CHANGES:
None
FEATURES:
None
FIXES:
- Minor fix for MSI auth
AZ CLI support
BREAKING CHANGES:
- no more py2 (reached EOL)
FEATURES:
- removed
six
- should reduce size when installing - added better docs and cleaner py3 syntax where possible
FIXES:
- add az cli authentication:
Once a user logs in to az cli usingaz login
and then requests an access token usingaz account get-access-token
, the client will be able to pick up the token and use it.
client = KustoClient(KustoConnectionStringBuilder.with_az_cli_authentication('https://cluster'))
Correct __str__ for KustoResultTable
BREAKING CHANGES:
None.
FEATURES:
None.
FIXES:
- fixed bug described in #150 when calling
str()
onKustoResultTable
.
Azure Managed Service Idenity Authentcation Support
BREAKING CHANGES:
None.
FEATURES:
- Added support of authentication with Azure Managed Service Identity (MSI) via a new API KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(...)
For more information about Azure MSI, see:
https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
FIXES:
- Prevent compression of binary formats (Avro, Parquet and Orc) when ingesting from local file.
Support Orc format
BREAKING CHANGES:
None.
FEATURES:
Support ingestion of Orc format files
FIXES:
None.
Fix streaming ingest service error
BREAKING CHANGES:
None.
FEATURES:
None.
FIXES:
Fix parsing of streaming ingest service errors.