Skip to content

Commit f10c82d

Browse files
renovate[bot]mangalaman93
authored andcommitted
chore(deps): Update go minor and patch
1 parent 71222c1 commit f10c82d

5 files changed

Lines changed: 40 additions & 40 deletions

File tree

.github/workflows/ci-dgraph-integration2-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
dgraph-integration2-tests:
2525
if: github.event.pull_request.draft == false
2626
runs-on: warp-ubuntu-latest-x64-4x
27-
timeout-minutes: 15
27+
timeout-minutes: 30
2828
steps:
2929
- uses: actions/checkout@v4
3030
with:

edgraph/alter_test.go

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func TestDropAllInNs(t *testing.T) {
2525
defer cleanup()
2626

2727
// Drop all data
28-
require.NoError(t, client.SignInUser(context.Background(),
28+
require.NoError(t, client.Login(context.Background(),
2929
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
3030
require.NoError(t, client.DropAllNamespaces(context.Background()))
3131

@@ -55,7 +55,7 @@ func TestDropAllInNs(t *testing.T) {
5555
require.JSONEq(t, `{"q":[{"name":"Alice"}]}`, string(resp.GetJson()))
5656

5757
// namespace 2
58-
require.NoError(t, client.SignInUser(context.Background(),
58+
require.NoError(t, client.Login(context.Background(),
5959
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
6060
require.NoError(t, client.SetSchema(ctx, "ns2", `name: string @index(exact) .`))
6161
require.NoError(t, client.LoginIntoNamespace(context.Background(),
@@ -70,7 +70,7 @@ func TestDropAllInNs(t *testing.T) {
7070
require.JSONEq(t, `{"q":[{"name":"Bob"}]}`, string(resp.GetJson()))
7171

7272
// Drop everything in namespace 1
73-
require.NoError(t, client.SignInUser(context.Background(),
73+
require.NoError(t, client.Login(context.Background(),
7474
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
7575
require.NoError(t, client.Dgraph.DropAll(context.Background(), "ns1"))
7676

@@ -95,13 +95,13 @@ func TestDropAll(t *testing.T) {
9595
defer cleanup()
9696

9797
// Drop all data
98-
require.NoError(t, client.SignInUser(context.Background(),
98+
require.NoError(t, client.Login(context.Background(),
9999
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
100100
require.NoError(t, client.DropAllNamespaces(context.Background()))
101101

102102
// Create two namespaces
103103
ctx := context.Background()
104-
require.NoError(t, client.SignInUser(context.Background(),
104+
require.NoError(t, client.Login(context.Background(),
105105
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
106106
require.NoError(t, client.CreateNamespace(ctx, "ns1"))
107107
require.NoError(t, client.CreateNamespace(ctx, "ns2"))
@@ -127,7 +127,7 @@ func TestDropAll(t *testing.T) {
127127
require.JSONEq(t, `{"q":[{"name":"Alice"}]}`, string(resp.GetJson()))
128128

129129
// namespace 2
130-
require.NoError(t, client.SignInUser(context.Background(),
130+
require.NoError(t, client.Login(context.Background(),
131131
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
132132
require.NoError(t, client.SetSchema(ctx, "ns2", `name: string @index(exact) .`))
133133
require.NoError(t, client.LoginIntoNamespace(context.Background(),
@@ -142,7 +142,7 @@ func TestDropAll(t *testing.T) {
142142
require.JSONEq(t, `{"q":[{"name":"Bob"}]}`, string(resp.GetJson()))
143143

144144
// Drop all data
145-
require.NoError(t, client.SignInUser(context.Background(),
145+
require.NoError(t, client.Login(context.Background(),
146146
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
147147
require.NoError(t, client.DropAllNamespaces(context.Background()))
148148

@@ -162,13 +162,13 @@ func TestDropData(t *testing.T) {
162162
defer cleanup()
163163

164164
// Drop all data
165-
require.NoError(t, client.SignInUser(context.Background(),
165+
require.NoError(t, client.Login(context.Background(),
166166
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
167167
require.NoError(t, client.DropAllNamespaces(context.Background()))
168168

169169
// Create two namespaces
170170
ctx := context.Background()
171-
require.NoError(t, client.SignInUser(context.Background(),
171+
require.NoError(t, client.Login(context.Background(),
172172
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
173173
require.NoError(t, client.CreateNamespace(ctx, "ns1"))
174174
require.NoError(t, client.CreateNamespace(ctx, "ns2"))
@@ -193,7 +193,7 @@ func TestDropData(t *testing.T) {
193193
require.NoError(t, err)
194194
require.JSONEq(t, `{"q":[{"name":"Alice"}]}`, string(resp.GetJson()))
195195

196-
require.NoError(t, client.SignInUser(context.Background(),
196+
require.NoError(t, client.Login(context.Background(),
197197
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
198198
require.NoError(t, client.DropData(context.Background(), "ns1"))
199199

@@ -215,13 +215,13 @@ func TestDropPredicate(t *testing.T) {
215215
defer cleanup()
216216

217217
// Drop all data
218-
require.NoError(t, client.SignInUser(context.Background(),
218+
require.NoError(t, client.Login(context.Background(),
219219
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
220220
require.NoError(t, client.DropAllNamespaces(context.Background()))
221221

222222
// Create two namespaces
223223
ctx := context.Background()
224-
require.NoError(t, client.SignInUser(context.Background(),
224+
require.NoError(t, client.Login(context.Background(),
225225
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
226226
require.NoError(t, client.CreateNamespace(ctx, "ns1"))
227227
require.NoError(t, client.CreateNamespace(ctx, "ns2"))
@@ -246,7 +246,7 @@ func TestDropPredicate(t *testing.T) {
246246
require.NoError(t, err)
247247
require.JSONEq(t, `{"q":[{"name":"Alice"}]}`, string(resp.GetJson()))
248248

249-
require.NoError(t, client.SignInUser(context.Background(),
249+
require.NoError(t, client.Login(context.Background(),
250250
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
251251
require.NoError(t, client.Dgraph.DropPredicate(context.Background(), "ns1", "name"))
252252

@@ -268,13 +268,13 @@ func TestDropType(t *testing.T) {
268268
defer cleanup()
269269

270270
// Drop all data
271-
require.NoError(t, client.SignInUser(context.Background(),
271+
require.NoError(t, client.Login(context.Background(),
272272
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
273273
require.NoError(t, client.DropAllNamespaces(context.Background()))
274274

275275
// Create two namespaces
276276
ctx := context.Background()
277-
require.NoError(t, client.SignInUser(context.Background(),
277+
require.NoError(t, client.Login(context.Background(),
278278
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
279279
require.NoError(t, client.CreateNamespace(ctx, "ns1"))
280280
require.NoError(t, client.CreateNamespace(ctx, "ns2"))
@@ -303,7 +303,7 @@ func TestDropType(t *testing.T) {
303303
require.NoError(t, err)
304304
require.Contains(t, string(resp.GetJson()), `"name":"name"`)
305305

306-
require.NoError(t, client.SignInUser(context.Background(),
306+
require.NoError(t, client.Login(context.Background(),
307307
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
308308
require.NoError(t, client.DropType(context.Background(), "ns1", "Person"))
309309
resp, err = client.Query(`schema{}`)

edgraph/namespace_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestNamespaces(t *testing.T) {
2626
defer cleanup()
2727

2828
// Drop all data
29-
require.NoError(t, client.SignInUser(context.Background(),
29+
require.NoError(t, client.Login(context.Background(),
3030
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
3131
require.NoError(t, client.DropAll())
3232

@@ -91,7 +91,7 @@ func TestNamespacesPreV25(t *testing.T) {
9191
dgraphapi.DefaultPassword, x.GalaxyNamespace))
9292

9393
// Drop all data
94-
require.NoError(t, client.SignInUser(context.Background(),
94+
require.NoError(t, client.Login(context.Background(),
9595
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
9696
require.NoError(t, client.DropAll())
9797

@@ -158,7 +158,7 @@ func TestCreateNamespaceErr(t *testing.T) {
158158
defer cleanup()
159159

160160
// Drop all data
161-
require.NoError(t, client.SignInUser(context.Background(),
161+
require.NoError(t, client.Login(context.Background(),
162162
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
163163
require.NoError(t, client.DropAll())
164164

@@ -200,7 +200,7 @@ func TestDropNamespaceErr(t *testing.T) {
200200
defer cleanup()
201201

202202
// Drop all data
203-
require.NoError(t, client.SignInUser(context.Background(),
203+
require.NoError(t, client.Login(context.Background(),
204204
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
205205
require.NoError(t, client.DropAll())
206206

@@ -250,7 +250,7 @@ func TestRenameNamespaceErr(t *testing.T) {
250250
defer cleanup()
251251

252252
// Drop all data
253-
require.NoError(t, client.SignInUser(context.Background(),
253+
require.NoError(t, client.Login(context.Background(),
254254
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
255255
require.NoError(t, client.DropAll())
256256

@@ -294,7 +294,7 @@ func TestListNamespacesErr(t *testing.T) {
294294
defer cleanup()
295295

296296
// Drop all data
297-
require.NoError(t, client.SignInUser(context.Background(),
297+
require.NoError(t, client.Login(context.Background(),
298298
dgraphapi.DefaultUser, dgraphapi.DefaultPassword))
299299
require.NoError(t, client.DropAll())
300300

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/Masterminds/semver/v3 v3.3.1
1212
github.com/blevesearch/bleve/v2 v2.4.4
1313
github.com/dgraph-io/badger/v4 v4.6.0
14-
github.com/dgraph-io/dgo/v240 v240.1.1-0.20250324210355-12f8ff79cd3d
14+
github.com/dgraph-io/dgo/v240 v240.1.1-0.20250403071431-f8296b028c14
1515
github.com/dgraph-io/gqlgen v0.13.2
1616
github.com/dgraph-io/gqlparser/v2 v2.2.2
1717
github.com/dgraph-io/graphql-transport-ws v0.0.0-20210511143556-2cef522f1f15
@@ -44,24 +44,24 @@ require (
4444
github.com/spf13/cast v1.7.1
4545
github.com/spf13/cobra v1.9.1
4646
github.com/spf13/pflag v1.0.6
47-
github.com/spf13/viper v1.20.0
47+
github.com/spf13/viper v1.20.1
4848
github.com/stretchr/testify v1.10.0
4949
github.com/twpayne/go-geom v1.6.0
5050
github.com/viterin/vek v0.4.2
5151
github.com/xdg/scram v1.0.5
52-
go.etcd.io/etcd/raft/v3 v3.5.20
52+
go.etcd.io/etcd/raft/v3 v3.5.21
5353
go.opencensus.io v0.24.0
5454
go.uber.org/zap v1.27.0
5555
golang.org/x/crypto v0.36.0
5656
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394
5757
golang.org/x/mod v0.24.0
58-
golang.org/x/net v0.37.0
58+
golang.org/x/net v0.38.0
5959
golang.org/x/sync v0.12.0
6060
golang.org/x/sys v0.31.0
6161
golang.org/x/term v0.30.0
6262
golang.org/x/text v0.23.0
6363
golang.org/x/tools v0.31.0
64-
google.golang.org/grpc v1.71.0
64+
google.golang.org/grpc v1.71.1
6565
google.golang.org/protobuf v1.36.6
6666
gopkg.in/yaml.v3 v3.0.1
6767
)

go.sum

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
129129
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
130130
github.com/dgraph-io/badger/v4 v4.6.0 h1:acOwfOOZ4p1dPRnYzvkVm7rUk2Y21TgPVepCy5dJdFQ=
131131
github.com/dgraph-io/badger/v4 v4.6.0/go.mod h1:KSJ5VTuZNC3Sd+YhvVjk2nYua9UZnnTr/SkXvdtiPgI=
132-
github.com/dgraph-io/dgo/v240 v240.1.1-0.20250324210355-12f8ff79cd3d h1:sq4YzJo70kL0TA+Tq6sjM+3tQyxuMEYm+Qfz1x7ScSI=
133-
github.com/dgraph-io/dgo/v240 v240.1.1-0.20250324210355-12f8ff79cd3d/go.mod h1:CyEuwJgQ8NoNjWbj2ZnvVFPixe5akCbWPR1O0fHpQ+U=
132+
github.com/dgraph-io/dgo/v240 v240.1.1-0.20250403071431-f8296b028c14 h1:juO1dROmkoBY2WV3HD2xman/f5s0VGVs4GzG7ZXuQ1o=
133+
github.com/dgraph-io/dgo/v240 v240.1.1-0.20250403071431-f8296b028c14/go.mod h1:r0vwLSNewHs8ngmn5xeLPBRnutzzTN1H/Gvb+A3cgS8=
134134
github.com/dgraph-io/gqlgen v0.13.2 h1:TNhndk+eHKj5qE7BenKKSYdSIdOGhLqxR1rCiMso9KM=
135135
github.com/dgraph-io/gqlgen v0.13.2/go.mod h1:iCOrOv9lngN7KAo+jMgvUPVDlYHdf7qDwsTkQby2Sis=
136136
github.com/dgraph-io/gqlparser/v2 v2.1.1/go.mod h1:MYS4jppjyx8b9tuUtjV7jU1UFZK6P9fvO8TsIsQtRKU=
@@ -540,8 +540,8 @@ github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
540540
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
541541
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
542542
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
543-
github.com/spf13/viper v1.20.0 h1:zrxIyR3RQIOsarIrgL8+sAvALXul9jeEPa06Y0Ph6vY=
544-
github.com/spf13/viper v1.20.0/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4=
543+
github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4=
544+
github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4=
545545
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
546546
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
547547
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
@@ -587,10 +587,10 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
587587
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
588588
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
589589
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
590-
go.etcd.io/etcd/client/pkg/v3 v3.5.20 h1:sZIAtra+xCo56gdf6BR62to/hiie5Bwl7hQIqMzVTEM=
591-
go.etcd.io/etcd/client/pkg/v3 v3.5.20/go.mod h1:qaOi1k4ZA9lVLejXNvyPABrVEe7VymMF2433yyRQ7O0=
592-
go.etcd.io/etcd/raft/v3 v3.5.20 h1:8Y20WH1z8PxOV2OD7Ufge30wKySXQ0sEnNrBPNp9viU=
593-
go.etcd.io/etcd/raft/v3 v3.5.20/go.mod h1:1sx0UxxQ+skIYgLwFJprFZm2LActM4HNWTqjzpLU7Vk=
590+
go.etcd.io/etcd/client/pkg/v3 v3.5.21 h1:lPBu71Y7osQmzlflM9OfeIV2JlmpBjqBNlLtcoBqUTc=
591+
go.etcd.io/etcd/client/pkg/v3 v3.5.21/go.mod h1:BgqT/IXPjK9NkeSDjbzwsHySX3yIle2+ndz28nVsjUs=
592+
go.etcd.io/etcd/raft/v3 v3.5.21 h1:dOmE0mT55dIUsX77TKBLq+RgyumsQuYeiRQnW/ylugk=
593+
go.etcd.io/etcd/raft/v3 v3.5.21/go.mod h1:fmcuY5R2SNkklU4+fKVBQi2biVp5vafMrWUEj4TJ4Cs=
594594
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
595595
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
596596
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
@@ -717,8 +717,8 @@ golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su
717717
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
718718
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
719719
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
720-
golang.org/x/net v0.37.0 h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c=
721-
golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
720+
golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
721+
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
722722
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
723723
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
724724
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -942,8 +942,8 @@ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3Iji
942942
google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
943943
google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
944944
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
945-
google.golang.org/grpc v1.71.0 h1:kF77BGdPTQ4/JZWMlb9VpJ5pa25aqvVqogsxNHHdeBg=
946-
google.golang.org/grpc v1.71.0/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec=
945+
google.golang.org/grpc v1.71.1 h1:ffsFWr7ygTUscGPI0KKK6TLrGz0476KUvvsbqWK0rPI=
946+
google.golang.org/grpc v1.71.1/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec=
947947
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
948948
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
949949
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=

0 commit comments

Comments
 (0)