-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0156067
commit 1c67c41
Showing
18 changed files
with
170 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
on: | ||
pull_request_target: | ||
|
||
name: changelog | ||
|
||
jobs: | ||
changelog: | ||
name: changelog | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
|
||
- name: Changelog updated | ||
uses: Zomzog/[email protected] | ||
with: | ||
fileName: CHANGELOG.md | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
on: | ||
pull_request_target: | ||
|
||
name: version | ||
|
||
jobs: | ||
changelog: | ||
name: version | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
|
||
- name: Version updated | ||
uses: Zomzog/[email protected] | ||
with: | ||
fileName: internal/meta/version.go | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
The following authors have created the source code of "Yandex Database GO SDK" | ||
published and distributed by YANDEX LLC as the owner: | ||
|
||
Sergey Kamardin <kamardin@yandex-team.ru> | ||
Aleksey Myasnikov <asmyasnikov@yandex-team.ru> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,2 @@ | ||
# Breaking changes for the next major release | ||
- [x] Delete deprecated api package | ||
- [x] Delete deprecated internalapi package | ||
- [x] Delete deprecated parameter KeepAliveBatchSize from session pool | ||
- [x] Delete deprecated ConnUsePolicy, EndpointInfo, WithEndpointInfo, WithEndpointInfoAndPolicy, ContextConn | ||
- [x] Delete deprecated client option DefaultMaxQueryCacheSize, MaxQueryCacheSize and client query cache | ||
- [x] Change `proto` codegen code in `api` from `internal/cmd/protoc-gen` tool to standard `protoc-gen-go` tool. | ||
This need for change imports to standard. Current imports are deprecated and linters alarms | ||
- [x] Replace grpc and protobuf libraries to actual | ||
- [x] Replace all internal usages of `driver.Call()` and `driver.StreamRead()` to code-generated grpc-clients, | ||
which will be use driver as `grpc.ClientConnInterface` provider. | ||
- [x] Delete deprecated Driver interface | ||
- [x] Remove or hide (do private) deprecated API for new `scanner`. | ||
- [x] Delete deprecated ready statistics from session pool | ||
- [x] Hide (do private) entity `table.Client` or `table.SessionPool` because it most difficultly for SDK users | ||
- [x] Drop `table.SessionProvider.PutBusy()` interface func | ||
- [x] Drop `Retry.MustCheckSession()` func | ||
- [x] Drop `RetryCheckSession` constant | ||
- [x] Drop `table.SessionPoolStats.BusyCheck` counter | ||
- [x] Drop `ydbsql.WithSessionPoolBusyCheckInterval()` | ||
- [x] Drop `connect.WithSessionPoolBusyCheckInterval()` | ||
- [x] Drop marked as deprecated some retry constants | ||
- [x] Extract auth package to neighbour project(-s) for isolation ydb-go-sdk from unnecessary dependencies | ||
- [x] Extract coordination package to neighbour project as plugin over ydb-go-sdk | ||
- [x] Extract ratelimiter package to neighbour project as plugin over ydb-go-sdk | ||
- [x] Extract experimental package to neighbour project as plugin over ydb-go-sdk | ||
- [x] Refactoring Trace API: exclude duplicates of data from closure Trace functions | ||
- [x] Move traceutil from internal to root | ||
- [X] Drop ReadConnStats() public method. Use Cluster.Stats() instead | ||
- [x] Drop deprecated NextStreamSet (merged logic into NextSet) | ||
- [ ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
package conn | ||
|
||
import "C" | ||
|
||
import ( | ||
"context" | ||
"sync" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package meta | ||
|
||
const ( | ||
Version = "ydb-go-sdk/2.10.1" | ||
Version = "ydb-go-sdk/3.0.0" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,7 @@ | ||
package response | ||
|
||
import ( | ||
"github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Operations" | ||
) | ||
import "github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Operations" | ||
|
||
//type Response interface { | ||
// GetOpReady() bool | ||
// GetOpID() string | ||
// GetStatus() Ydb.StatusIds_StatusCode | ||
// GetIssues() []*Ydb_Issue.IssueMessage | ||
// GetResult() *anypb.Any | ||
// GetResponseProto() proto.Message | ||
//} | ||
// | ||
type Response interface { | ||
//proto.Message | ||
GetOperation() *Ydb_Operations.Operation | ||
} | ||
|
||
//var _ Response = &opResponseWrapper{} | ||
// | ||
//type opResponseWrapper struct { | ||
// response Response | ||
//} | ||
// | ||
//func WrapOpResponse(resp Response) Response { | ||
// return &opResponseWrapper{response: resp} | ||
//} | ||
// | ||
//func (r *opResponseWrapper) GetOpReady() bool { | ||
// return r.response.GetOperation().GetReady() | ||
//} | ||
// | ||
//func (r *opResponseWrapper) GetOpID() string { | ||
// return r.response.GetOperation().GetId() | ||
//} | ||
// | ||
//func (r *opResponseWrapper) GetStatus() Ydb.StatusIds_StatusCode { | ||
// return r.response.GetOperation().GetStatus() | ||
//} | ||
// | ||
//func (r *opResponseWrapper) GetIssues() []*Ydb_Issue.IssueMessage { | ||
// return r.response.GetOperation().GetIssues() | ||
//} | ||
// | ||
//func (r *opResponseWrapper) GetResult() *anypb.Any { | ||
// return r.response.GetOperation().GetResult() | ||
//} | ||
// | ||
//func (r *opResponseWrapper) GetResponseProto() proto.Message { | ||
// return r.response | ||
//} | ||
// | ||
//type NoOpResponse interface { | ||
// proto.Message | ||
// GetStatus() Ydb.StatusIds_StatusCode | ||
// GetIssues() []*Ydb_Issue.IssueMessage | ||
//} | ||
// | ||
//var _ Response = &noOpResponseWrapper{} | ||
// | ||
//type noOpResponseWrapper struct { | ||
// response NoOpResponse | ||
//} | ||
// | ||
//func WrapNoOpResponse(resp NoOpResponse) Response { | ||
// return &noOpResponseWrapper{response: resp} | ||
//} | ||
// | ||
//func (r *noOpResponseWrapper) GetIssues() []*Ydb_Issue.IssueMessage { | ||
// return r.response.GetIssues() | ||
//} | ||
// | ||
//func (r *noOpResponseWrapper) GetOpReady() bool { | ||
// return true | ||
//} | ||
// | ||
//func (r *noOpResponseWrapper) GetOpID() string { | ||
// return "" | ||
//} | ||
// | ||
//func (r *noOpResponseWrapper) GetResponseProto() proto.Message { | ||
// return r.response | ||
//} | ||
// | ||
//func (r *noOpResponseWrapper) GetResult() *anypb.Any { | ||
// return nil | ||
//} | ||
// | ||
//func (r *noOpResponseWrapper) GetStatus() Ydb.StatusIds_StatusCode { | ||
// return r.response.GetStatus() | ||
//} |
Oops, something went wrong.