Skip to content

Commit

Permalink
Upgraded version and wrote changelog (#150)
Browse files Browse the repository at this point in the history
Co-authored-by: Yochai Gilad <[email protected]>
  • Loading branch information
AsafMah and yogilad authored Dec 8, 2022
1 parent 758c81c commit 833a692
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,31 @@ This is a data plane SDK (it is for interacting with Azure Data Explorer service

## What's New

### Version 0.10.0
* [BREAKING] - The minimal go version is now 1.19
* [BREAKING] - Moving to a connection-string based approach to creating and authenticating clients.
This change aligns the go SDK with the others, and gives the option to re-use connection strings between SDKs.
As part of this change use of go-autorest based authentication is deprecated in favor of Azure Identity.

To initialize a client:
```go
// OLD WAY - REMOVED
authConfig := auth.NewClientCredentialsConfig("clientID", "clientSecret", "tenantID")
client, err := kusto.New("endpoint", kusto.Authorization{Config: authConfig})

// NEW WAY
kcsb := kusto.NewConnectionStringBuilder(`endpoint`).WithAadAppKey("clientID", "clientSecret", "tenentID")
client, err := kusto.New(kcsb)
```
* [BREAKING] - Upgraded the azblob library to 0.5.1. This solves compatibility issues with other libraries, but might cause errors to those who still depend on the old version.
* Implicit cloud detection.
* All of our operations now share the same HTTP client inside the kusto client object.
Using the option `WithHttpClient` will use the passed http client for all of the SDKs request, granting support for configuring proxies and other HTTP related settings.

* Fixed various goroutine leaks. Now there are automatic tests to make sure we are not leaking resources.
* Fetching ingestion resources is now done more consistently, without blocking the user.
* Removed the header caching mechanism from streaming ingestion, as it was using a lot of memory for no major benefit.

### Version 0.9.1
* Setting a mapping now implies the ingestion format
* Fixed possible context race
Expand Down
2 changes: 1 addition & 1 deletion kusto/internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
package version

// Kusto is the version of this client package that is communicated to the server.
const Kusto = "0.9.1"
const Kusto = "0.10.0"

0 comments on commit 833a692

Please sign in to comment.