|
| 1 | +* Reimplement sugar.DSN with net/url |
| 2 | + |
1 | 3 | ## v3.21.0 |
2 | | -* Fixed gtrace tool generation code style bug with leading spaces |
| 4 | +* Fixed gtrace tool generation code style bug with leading spaces |
3 | 5 | * Removed accounting load factor (unused field) in balancers |
4 | 6 | * Enabled by default anonymous credentials |
5 | 7 | * Enabled by default internal dns resolver |
|
39 | 41 |
|
40 | 42 | ## v3.18.5 |
41 | 43 | * Fixed duplicating `WithPanicCallback` proxying to table config options |
42 | | -* Fixed comments for `xerrros.Is` and `xerrros.As` |
| 44 | +* Fixed comments for `xerrros.Is` and `xerrros.As` |
43 | 45 |
|
44 | 46 | ## v3.18.4 |
45 | 47 | * Renamed internal packages `errors`, `net` and `resolver` to `xerrors`, `xnet` and `xresolver` for excluding ambiguous interpretation |
|
52 | 54 | ## v3.18.2 |
53 | 55 | * Refactored balancers (makes concurrent-safe) |
54 | 56 | * Excluded separate balancers lock from cluster |
55 | | -* Refactored `cluster.Cluster` interface (`Insert` and `Remove` returning nothing now) |
| 57 | +* Refactored `cluster.Cluster` interface (`Insert` and `Remove` returning nothing now) |
56 | 58 | * Replaced unsafe `cluster.close` boolean flag to `cluster.done` chan for listening close event |
57 | 59 | * Added internal checker `cluster.isClosed()` for check cluster state |
58 | 60 | * Extracted getting available conn from balancer to internal helper `cluster.get` (called inside `cluster.Get` as last effort) |
|
69 | 71 | * Added `ydb.WithOperationTimeout` and `ydb.WithOperationCancelAfter` context modifiers |
70 | 72 |
|
71 | 73 | ## v3.17.0 |
72 | | -* Removed redundant `trace.With{Table,Driver,Retry}` and `trace.Context{Table,Driver,Retry}` funcs |
| 74 | +* Removed redundant `trace.With{Table,Driver,Retry}` and `trace.Context{Table,Driver,Retry}` funcs |
73 | 75 | * Moved `gtrace` tool from `./cmd/gtrace` to `./internal/cmd/gtrace` |
74 | 76 | * Refactored `gtrace` tool for generate `Compose` options |
75 | 77 | * Added panic recover on trace calls in `Compose` call step |
|
78 | 80 |
|
79 | 81 | ## v3.16.12 |
80 | 82 | * Fixed bug with check acquire error over `ydb.IsRatelimiterAcquireError` |
81 | | -* Added full changelog link to github release description |
| 83 | +* Added full changelog link to github release description |
82 | 84 |
|
83 | 85 | ## v3.16.11 |
84 | 86 | * Added stacktrace to errors with issues |
|
96 | 98 | * Refactored internal operation and transport errors |
97 | 99 |
|
98 | 100 | ## v3.16.8 |
99 | | -* Added `config.ExcludeGRPCCodesForPessimization()` opttion for exclude some grpc codes from pessimization rules |
| 101 | +* Added `config.ExcludeGRPCCodesForPessimization()` opttion for exclude some grpc codes from pessimization rules |
100 | 102 | * Refactored pessimization node conditions |
101 | 103 | * Added closing of ticker in `conn.Conn.connParker` |
102 | 104 | * Removed `config.WithSharedPool` and usages it |
|
114 | 116 |
|
115 | 117 | ## v3.16.5 |
116 | 118 | * Added `config.SharedPool()` setting and `config.WithSharedPool()` option |
117 | | -* Added management of shared pool flag on change dial timeout and credentials |
| 119 | +* Added management of shared pool flag on change dial timeout and credentials |
118 | 120 | * Removed explicit checks of conditions for use (or not) shared pool in `ydb.With()` |
119 | 121 | * Renamed `internal/db` interfaces |
120 | 122 | * Changed signature of `conn.Conn.Release` (added error as result) |
|
132 | 134 | * Removed explicit call meta in `db.New()` |
133 | 135 |
|
134 | 136 | ## v3.16.1 |
135 | | -* Added `WithMeta()` discovery config option |
| 137 | +* Added `WithMeta()` discovery config option |
136 | 138 | * Fixed bug with credentials on discovery |
137 | 139 |
|
138 | 140 | ## v3.16.0 |
|
142 | 144 | ## v3.15.1 |
143 | 145 | * Removed all conditions for trace retry errors |
144 | 146 | * Fixed background color of warn messages |
145 | | -* Added to log messages additional information about error, such as retryable (or not), delete session (or not), etc. |
| 147 | +* Added to log messages additional information about error, such as retryable (or not), delete session (or not), etc. |
146 | 148 |
|
147 | 149 | ## v3.15.0 |
148 | 150 | * Added github action for publish release tags |
|
151 | 153 | * Fixed race on check trailer on closing table grpc-stream |
152 | 154 | * Refactored traces (start and done struct names have prefix about trace) |
153 | 155 | * Replaced `errors.Error`, `errors.Errorf` and `errors.ErrorfSkip` to single `errors.WithStackTrace` |
154 | | -* Refactored table client options |
| 156 | +* Refactored table client options |
155 | 157 | * Declared and implemented interface `errors.isYdbError` for checking ybd/non-ydb errors |
156 | 158 | * Fixed double tracing table do events |
157 | 159 | * Added `retry.WithFastBackoff` and `retry.WithFastBackoff` options |
|
183 | 185 | * Fixed linter issues |
184 | 186 |
|
185 | 187 | ## 3.13.2 |
186 | | -* Fixed race with read/write pool conns on closing conn |
| 188 | +* Fixed race with read/write pool conns on closing conn |
187 | 189 |
|
188 | 190 | ## 3.13.1 |
189 | 191 | * Improved error messages |
190 | 192 | * Defended `cluster.balancer` with `sync.RWMutex` on `cluster.Insert`, `cluster.Update`, `cluster.Remove` and `cluster.Get` |
191 | 193 | * Excluded `Close` and `Park` methods from `conn.Conn` interface |
192 | | -* Fixed bug with `Multi` balancer `Create()` |
| 194 | +* Fixed bug with `Multi` balancer `Create()` |
193 | 195 | * Improved `errors.IsTransportError` (check a few transport error codes instead check single transport error code) |
194 | 196 | * Improved `errors.Is` (check a few errors instead check single error) |
195 | 197 | * Refactored YDB errors checking API on client-side |
196 | | -* Implemented of scripting traces |
| 198 | +* Implemented of scripting traces |
197 | 199 |
|
198 | 200 | ## 3.13.0 |
199 | 201 | * Refactored `Connection` interface |
|
209 | 211 | * Fixed bug with closing nil session in table retryer |
210 | 212 | * Restored repeater `Force` call on pessimize event |
211 | 213 | * Changed mutex type in `conn.Conn` from `sync.Mutex` to `sync.RWMutex` for exclude deadlocks |
212 | | -* Reverted applying empty `discovery` results to `cluster` |
| 214 | +* Reverted applying empty `discovery` results to `cluster` |
213 | 215 |
|
214 | 216 | ## 3.12.0 |
215 | 217 | * Added `balancers.Prefer` and `balancers.PreferWithFallback` constructors |
|
236 | 238 | ## 3.11.8 |
237 | 239 | * Added `trace.EndpointInfo.LastUpdated()` timestamp |
238 | 240 | * Refactored `endpoint.Endpoint` (split to struct `endopint` and interface `Endpoint`) |
239 | | -* Returned safe-thread copy of `endpoint.Endpoint` to trace callbacks |
| 241 | +* Returned safe-thread copy of `endpoint.Endpoint` to trace callbacks |
240 | 242 | * Added `endpoint.Endpoint.Touch()` func for refresh endpoint info |
241 | 243 | * Added `conn.conn.onClose` slice for call optional funcs on close step |
242 | 244 | * Added removing `conn.Conn` from `conn.Pool` on `conn.Conn.Close()` call |
|
275 | 277 | * Removed `trace.Table.OnPoolTake` event (unused) |
276 | 278 | * Refactored `trace.Details` matching by string pattern |
277 | 279 | * Added resolver trace callback |
278 | | -* Refactored initialization step of grpc dial options |
| 280 | +* Refactored initialization step of grpc dial options |
279 | 281 | * Added internal package `net` with `net.Conn` proxy object |
280 | 282 | * Fixed closing proxy clients |
281 | 283 | * Added `ydb.Connection.With(opts ...ydb.CustomOption)` for taking proxy `ydb.Connection` with some redefined options |
|
319 | 321 | * Added `ydb.RegisterParser` method for registering external parser of connection string |
320 | 322 |
|
321 | 323 | ## 3.8.12 |
322 | | -* Unwrap sub-tests called as `t.Run(...)` in integration tests |
| 324 | +* Unwrap sub-tests called as `t.Run(...)` in integration tests |
323 | 325 | * Updated `grpc` dependency (from `v1.38.0` to `v1.43.0`) |
324 | 326 | * Updated `protobuf` dependency (from `v1.26.0` to `v1.27.1`) |
325 | 327 | * Added internal retryers into `lazy.Ratelimiter` |
|
390 | 392 | * Added `String()` method to `table.types.Type` interface |
391 | 393 | * Added `With[Custom]UserAgent()` `Option` and `CustomOption` constructors |
392 | 394 | * Refactored `log.Logger` interface and internal implementation |
393 | | -* Added `retry.RetryableError()` for returns user-defined error which must be retryed |
| 395 | +* Added `retry.RetryableError()` for returns user-defined error which must be retryed |
394 | 396 | * Renamed internal type `internal.errors.OperationCompleted` to `internal.errors.OperationStatus` |
395 | 397 | * Added `String()` method to `table.KeyRange` and `table.Value` types |
396 | 398 | * Replaced creation of goroutine on each stream call to explicit call stream.Recv() on NextResultSet() |
|
403 | 405 |
|
404 | 406 | ## 3.6.1 |
405 | 407 | * Switched closing cluster after closing all sub-services |
406 | | -* Added windows and macOS runtimes to unit and integration tests |
| 408 | +* Added windows and macOS runtimes to unit and integration tests |
407 | 409 |
|
408 | 410 | ## 3.6.0 |
409 | 411 | * Added `config/balancer` package with popular balancers |
|
448 | 450 | * Fixed `CGO` race on `Darwin` system when driver tried to expand tilde on certificates path |
449 | 451 | * Removed `EnsurePathExists` and `CleanupDatabase` from API of `scheme.Client` |
450 | 452 | * Added helpers `MakePath` and `CleanPath` to root of package `ydb-go-sdk` |
451 | | -* Removed call `types.Scanner.UnmarshalYDB()` inside `scanner.setDefaults()` |
| 453 | +* Removed call `types.Scanner.UnmarshalYDB()` inside `scanner.setDefaults()` |
452 | 454 | * Added `DoTx()` API method into `table.Client` |
453 | 455 | * Added `String()` method into `ConnectParams` for serialize params to connection string |
454 | 456 | * Added early exit from Rollback for committed transaction |
|
485 | 487 | ## 3.3.0 |
486 | 488 | * Stored node ID into `endpoint.Endpoint` struct |
487 | 489 | * Simplified <Host,Port> in `endpoint.Endpoint` to single fqdn Address |
488 | | -* On table session requests now preferred the endpoint by `ID` extracted from session `ID`. If |
| 490 | +* On table session requests now preferred the endpoint by `ID` extracted from session `ID`. If |
489 | 491 | endpoint by `ID` not found - using the endpoint from balancer |
490 | | -* Upgraded internal logger for print colored messages |
| 492 | +* Upgraded internal logger for print colored messages |
491 | 493 |
|
492 | 494 | ## 3.2.7 |
493 | 495 | * Fixed compare endpoints func |
494 | 496 |
|
495 | 497 | ## 3.2.6 |
496 | | -* Reverted `NodeID` as key for link between session and endpoint because yandex-cloud YDB |
497 | | - installation not supported `Endpoint.ID` entity |
| 498 | +* Reverted `NodeID` as key for link between session and endpoint because yandex-cloud YDB |
| 499 | + installation not supported `Endpoint.ID` entity |
498 | 500 |
|
499 | 501 | ## 3.2.5 |
500 | | -* Dropped endpoint.Addr entity as unused. After change link type between session and endpoint |
| 502 | +* Dropped endpoint.Addr entity as unused. After change link type between session and endpoint |
501 | 503 | to NodeID endpoint.Addr became unnecessary for internal logic of driver |
502 | 504 | * Enabled integration test table pool health |
503 | 505 | * Fixed race on session stream requests |
504 | 506 |
|
505 | 507 | ## 3.2.4 |
506 | | -* Returned context error when context is done on `session.StreamExecuteScanQuery` |
| 508 | +* Returned context error when context is done on `session.StreamExecuteScanQuery` |
507 | 509 | and `session.StreamReadTable` |
508 | 510 |
|
509 | 511 | ## 3.2.3 |
|
524 | 526 | * added internal leveled logger which implement interface `log.Logger` |
525 | 527 | * supported environment variable `YDB_LOG_SEVERITY_LEVEL` |
526 | 528 | * changed name of the field `RetryAttempts` to` Attempts` in the structure `trace.PoolGetDoneInfo`. |
527 | | - This change reduces back compatibility, but there are no external uses of v3 sdk, so this change is |
| 529 | + This change reduces back compatibility, but there are no external uses of v3 sdk, so this change is |
528 | 530 | fine. We are sorry if this change broke your code |
529 | 531 |
|
530 | 532 | ## 3.1.0 |
|
0 commit comments