Skip to content

Commit 59f0564

Browse files
authored
Remove client and server implementations, and OperationHandler GetInfo, and GetResult (#62)
Also deprecate `Handler.GetInfo` and `Handler.GetResult`, those are in use by the Temporal Go SDK and cannot be removed for now. Also revert the error message changes, the Temporal server needs to be adjusted to support that still. The client and server implementations will be inlined into `temporalio/temporal` until the protocol matures.
1 parent 5f16fd0 commit 59f0564

32 files changed

+440
-5265
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717
submodules: recursive
1818
- uses: actions/setup-go@v4
1919
with:
20-
go-version: "1.21"
20+
go-version: "1.25"
2121
- name: Lint
22-
uses: golangci/golangci-lint-action@v6
22+
uses: golangci/golangci-lint-action@v8
2323
with:
24-
version: v1.64
24+
version: v2.5
2525
args: --verbose --timeout 3m --fix=false
2626
- name: Test
2727
run: go test -v ./...
2828
- name: Lint nexusproto
29-
uses: golangci/golangci-lint-action@v6
29+
uses: golangci/golangci-lint-action@v8
3030
with:
31-
version: v1.64
31+
version: v2.5
3232
args: --verbose --timeout 3m --fix=false
3333
working-directory: ./contrib/nexusproto
3434
- name: Test nexusproto

README.md

Lines changed: 39 additions & 330 deletions
Large diffs are not rendered by default.

contrib/nexusproto/go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
module github.com/nexus-rpc/sdk-go/contrib/nexusproto
22

3-
go 1.23.4
3+
go 1.25
44

55
require (
6-
github.com/nexus-rpc/sdk-go v0.3.0
6+
github.com/nexus-rpc/sdk-go v0.4.0
77
github.com/stretchr/testify v1.8.4
88
google.golang.org/protobuf v1.36.6
99
)
1010

1111
require (
1212
github.com/davecgh/go-spew v1.1.1 // indirect
13-
github.com/google/uuid v1.3.0 // indirect
1413
github.com/pmezard/go-difflib v1.0.0 // indirect
1514
gopkg.in/yaml.v3 v3.0.1 // indirect
1615
)

contrib/nexusproto/go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
22
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
33
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
44
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
5-
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
6-
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
75
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
86
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
97
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=

go.mod

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
module github.com/nexus-rpc/sdk-go
22

3-
go 1.21
3+
go 1.25
44

5-
require (
6-
github.com/google/uuid v1.3.0
7-
github.com/stretchr/testify v1.8.4
8-
)
5+
require github.com/stretchr/testify v1.8.4
96

107
require (
118
github.com/davecgh/go-spew v1.1.1 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
22
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3-
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
4-
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
53
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
64
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
75
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=

0 commit comments

Comments
 (0)