Releases: Azure/azure-kusto-go
Releases · Azure/azure-kusto-go
azkustodata/v1.0.0-preview-5
Fixed
- Proper parsing of booleans for rare cases where the values are returned as integers.
- Reverted new json library to the default one, as it was causing issues with edge cases.
azkustodata/v1.0.0-preview-4
Security
- Use the new azqueue library.
- Various dependency updates.
Changed
- the
WithApplicationCertificate
onKustoConnectionStringBuilder
was removed as it was ambiguous and not implemented correctly. Instead there are two new methods:WithAppCertificatePath
- Receives the path to the certificate file.WithAppCertificateBytes
- Receives the certificate bytes in-memory.
Both methods accept an optional password for the certificate.
WithUserManagedIdentity
has been deprecated in favor of more specific functions:WithUserAssignedIdentityClientId
- Receives the MSI client idWithUserAssignedIdentityResourceId
- Receives the MSI resource id
WithUserManagedIdentity
has been deprecated in favor of more specific functions:WithUserAssignedIdentityClientId
- Receives the MSI client idWithUserAssignedIdentityResourceId
- Receives the MSI resource id
- V2FrameCapacity was renamed to V2IoCapacity to better reflect its purpose.
- V2FragmentCapacity was renamed to V2TableCapacity to better reflect its purpose.
- Removed
Skip
option fromIterativeTable
, as the usecase for it was not clear. - Better defaults for buffer sizes.
Fixed
- Fixed Mapping Kind not working correctly with certain formats.
- Fixed plenty of sync issues.
- Reduced allocations.
v0.16.1
Added
- Added new valid endpoints for the Kusto service.
v0.15.3
Fixed
- Fixed Mapping Kind not working correctly with certain formats.
azkustodata/v1.0.0-preview-3
Added
- Row and fragment capacity options to iterative dataset creation.
- Added RawV2 method for manual parsing.
Changed
- Changed frame defaults to be more reasonable
azkustodata/v1.0.0-preview-2
Changed
- [BREAKING] The Dynamic type now returns a []byte of json, it's up to the user to marshall it to the desired type. It can also be null.
- E2E tests now avoid creating tables when possible.
Added
- Methods for getting a guid value (were missing).
- Support obscure column aliases.
Fixed
- Fixed a panic when using the xByY methods on a null value.
- Fixed race in closing the client.
- Fixed special float values not being parsed correctly.
v0.15.2
Fixed
- Fix storage URI parsing for hostname with more than 5 parts.
- Keep original error when refreshing ingestion resources fails.
v1.0.0-preview
[1.0.0-preview]
Changed
- See MIGRATION.md for a migration guide for the changes
- [BREAKING] The minimal go version is now 1.22
- [BREAKING] [MAJOR] Split the main module into two packages:
- azkustodata - contains querying, management APIs.
- azkustoingest - contains ingestion in all its forms.
- [BREAKING] [MAJOR] New API for querying, see MIGRATION.md for more details.
- [BREAKING] [MAJOR] Constructing ingest clients is now done using a KustoConnectionStringBuilder, and not a client struct.
- [BREAKING] [MAJOR] Changes in the kusto type system:
- Kusto values will now return a pointer when they are nullable. This applies to all types except for string.
- Decimal values are now represented as
decimal.Decimal
instead ofstring
. This is to maintain efficiency and ease of use.
- In addition, passing a default database and table for ingestion is not necessary anymore, and can be done using Options.
// before: queryClient := kusto.New("https://ingest-somecluster.kusto.windows.net") client := ingest.New(quetryClient, "some-db", "some-table") // after: client := azkustoingest.New("https://ingest-somecluster.kusto.windows.net", azkustoingest.WithDefaultDatabase("someDb"), azkustoingest.WithDefaultTable("someTable"))
- Added autocorrection for endpoints for ingest clients. When creating a client, the "ingest-" will be added or removed as needed. To avoid this behavior, use the
azkustoingest.WithoutEndpointCorrection()
option. - ManagedStreamingClient constructor now only requires the query endpoint, and will infer the ingest endpoint from it. If you want to use a different endpoint, use the
azkustoingest.WithCustomIngestConnectionString()
option. - Removed the old deprecated Stream() method on queued ingest client, instead use azkustoingest.NewStreaming() or azkustoingest.NewManaged() for proper streaming ingest client.
- Removed
QueryIngestion()
option for Query client. If you want to perform commands against the dm, create a query client with the "ingest-" endpoint.
v0.15.1
Changed
- Binary data formats are no longer compressed, as it is inefficient.
Fixed
- Type aliases for int32 now work correctly when converting.
v0.15.0
Changed (BREAKING)
- Queries are no longer progressive by default.
ResultsProgressiveDisable()
has been removed.- Use
ResultsProgressiveEnabled()
to enable progressive queries.
Added
- Add file options: RawDataSize, CompressionType
- New package ingest/ingestoptions now contains Compression properties (in the future will hold DataFormat)
Fixed
- String quoting in default value of query parameters