From 4198b0fac88235bf31e855f303971bfbdddc185f Mon Sep 17 00:00:00 2001 From: Aman Mangal Date: Thu, 17 Apr 2025 17:06:40 +0530 Subject: [PATCH] upgrade to dgo v250.0.0-preview1 --- .trunk/trunk.yaml | 2 +- acl/acl.go | 4 +-- acl/acl_integration_test.go | 2 +- acl/acl_test.go | 4 +-- acl/utils.go | 4 +-- check_upgrade/check_upgrade_test.go | 2 +- chunker/json_parser.go | 2 +- chunker/json_parser_test.go | 2 +- chunker/rdf_parser.go | 2 +- chunker/rdf_parser_test.go | 2 +- conn/node.go | 2 +- conn/pool.go | 2 +- conn/raft_server.go | 2 +- dgraph/cmd/alpha/http.go | 2 +- .../mutations_mode/mutations_mode_test.go | 4 +-- dgraph/cmd/alpha/run.go | 4 +-- dgraph/cmd/alpha/run_test.go | 4 +-- dgraph/cmd/alpha/txn_test.go | 4 +-- dgraph/cmd/alpha/upsert_test.go | 4 +-- dgraph/cmd/bulk/mapper.go | 2 +- dgraph/cmd/increment/increment.go | 4 +-- dgraph/cmd/increment/increment_test.go | 4 +-- dgraph/cmd/live/batch.go | 4 +-- dgraph/cmd/live/load-json/load_test.go | 2 +- dgraph/cmd/live/load-uids/load_test.go | 4 +-- dgraph/cmd/live/run.go | 4 +-- dgraph/cmd/zero/http.go | 2 +- dgraph/cmd/zero/oracle.go | 2 +- dgraph/cmd/zero/zero.go | 2 +- dgraphapi/cluster.go | 4 +-- dgraphapi/vector.go | 2 +- dgraphtest/compose_cluster.go | 2 +- dgraphtest/dcloud_cluster.go | 4 +-- dgraphtest/load.go | 2 +- dgraphtest/local_cluster.go | 4 +-- dql/dql.go | 2 +- dql/mutation.go | 2 +- dql/parser_mutation.go | 2 +- dql/parser_test.go | 2 +- edgraph/access.go | 2 +- edgraph/alter.go | 4 +-- edgraph/alter_test.go | 2 +- edgraph/graphql.go | 2 +- edgraph/multi_tenancy.go | 2 +- edgraph/namespace.go | 4 +-- edgraph/query.go | 4 +-- edgraph/server.go | 4 +-- edgraph/server_test.go | 2 +- go.mod | 16 +++++------ go.sum | 28 +++++++++---------- graphql/admin/login.go | 2 +- graphql/admin/update_group.go | 2 +- graphql/dgraph/execute.go | 2 +- graphql/e2e/common/admin.go | 4 +-- graphql/e2e/common/common.go | 4 +-- graphql/e2e/common/error.go | 4 +-- graphql/e2e/common/mutation.go | 4 +-- graphql/e2e/common/query.go | 4 +-- graphql/e2e/common/schema.go | 4 +-- graphql/e2e/schema/schema_test.go | 2 +- graphql/resolve/auth_test.go | 2 +- graphql/resolve/mutation.go | 2 +- graphql/resolve/mutation_rewriter.go | 2 +- graphql/resolve/mutation_test.go | 2 +- graphql/resolve/query.go | 2 +- graphql/resolve/resolver.go | 2 +- graphql/resolve/resolver_error_test.go | 2 +- posting/list_test.go | 2 +- posting/lists.go | 2 +- posting/mvcc.go | 2 +- posting/size.go | 2 +- posting/size_test.go | 2 +- protos/Makefile | 4 +-- protos/pb.proto | 2 +- protos/pb/pb.pb.go | 4 +-- protos/pb/pb_grpc.pb.go | 2 +- query/common_test.go | 2 +- query/mutation.go | 2 +- query/mutation_test.go | 2 +- query/normalize_feature_flag_test.go | 2 +- query/outputnode.go | 2 +- query/query1_test.go | 2 +- query/query4_test.go | 2 +- query/vector/vector_test.go | 2 +- systest/1million/1million_test.go | 2 +- systest/backup/encryption/backup_test.go | 2 +- systest/backup/filesystem/backup_test.go | 4 +-- systest/backup/minio-large/backup_test.go | 4 +-- systest/backup/minio/backup_test.go | 4 +-- systest/backup/multi-tenancy/backup_test.go | 4 +-- systest/backup/nfs-backup/backup_test.go | 4 +-- systest/bgindex/common_test.go | 2 +- systest/bgindex/count_test.go | 4 +-- systest/bgindex/parallel_test.go | 4 +-- systest/bgindex/reverse_test.go | 4 +-- systest/bgindex/string_test.go | 4 +-- systest/bulk_live/common/bulk_live_cases.go | 2 +- systest/bulk_live/common/bulk_live_fixture.go | 2 +- systest/cloud/cloud_test.go | 2 +- systest/export/export_test.go | 4 +-- systest/group-delete/group_delete_test.go | 4 +-- systest/integration2/acl_test.go | 2 +- .../integration2/incremental_restore_test.go | 2 +- systest/live_pw_test.go | 4 +-- systest/loader/loader_test.go | 2 +- systest/multi-tenancy/basic_test.go | 2 +- systest/multi-tenancy/integration_test.go | 2 +- systest/multi-tenancy/login_test.go | 2 +- .../mutations-and-queries/mutations_test.go | 4 +-- systest/mutations-and-queries/queries_test.go | 2 +- systest/online-restore/online_restore_test.go | 4 +-- systest/plugin/plugin_test.go | 2 +- systest/posting-list-benchmark/main.go | 4 +-- systest/unique_test.go | 2 +- systest/vector/backup_test.go | 2 +- systest/vector/load_test.go | 2 +- systest/vector/vector_test.go | 2 +- testutil/backup.go | 2 +- testutil/client.go | 4 +-- testutil/multi_tenancy.go | 4 +-- testutil/schema.go | 2 +- testutil/utils.go | 2 +- testutil/zero.go | 4 +-- tlstest/certrequest/certrequest_test.go | 2 +- .../certrequireandverify_test.go | 2 +- .../certverifyifgiven_test.go | 2 +- tlstest/mtls_internal/ha_6_node/ha_test.go | 4 +-- .../multi_group/multi_group_test.go | 4 +-- .../single_node/single_node_test.go | 4 +-- types/conversion.go | 2 +- types/facets/facet_types.go | 2 +- types/facets/utils.go | 2 +- upgrade/change_v20.03.0.go | 2 +- upgrade/change_v20.07.0.go | 4 +-- upgrade/change_v21.03.0.go | 4 +-- upgrade/utils.go | 4 +-- upgrade/utils_test.go | 2 +- worker/export.go | 2 +- worker/export_test.go | 2 +- worker/groups.go | 2 +- worker/mutation.go | 4 +-- worker/predicate_move.go | 2 +- worker/snapshot_test.go | 4 +-- worker/task.go | 2 +- worker/upgrade_test.go | 2 +- worker/worker_test.go | 4 +-- x/x.go | 4 +-- xidmap/xidmap.go | 2 +- 148 files changed, 224 insertions(+), 224 deletions(-) diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 1438ca2459c..729ab2b8a1a 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -14,7 +14,7 @@ plugins: # Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) runtimes: enabled: - - go@1.23.6 + - go@1.23.8 - node@18.20.5 - python@3.10.8 diff --git a/acl/acl.go b/acl/acl.go index 41160dfd1e7..602af4f372f 100644 --- a/acl/acl.go +++ b/acl/acl.go @@ -16,8 +16,8 @@ import ( "github.com/golang/glog" "github.com/spf13/viper" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/acl/acl_integration_test.go b/acl/acl_integration_test.go index f88dc1b8cf4..d4588ca2a4f 100644 --- a/acl/acl_integration_test.go +++ b/acl/acl_integration_test.go @@ -15,7 +15,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/acl/acl_test.go b/acl/acl_test.go index 9b9c742da52..aeedf6b0d25 100644 --- a/acl/acl_test.go +++ b/acl/acl_test.go @@ -19,8 +19,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/acl/utils.go b/acl/utils.go index 9513c7814a6..9b3e76b6833 100644 --- a/acl/utils.go +++ b/acl/utils.go @@ -12,8 +12,8 @@ import ( "github.com/golang/glog" "github.com/spf13/viper" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/check_upgrade/check_upgrade_test.go b/check_upgrade/check_upgrade_test.go index 7ef9da692e6..f81c30c3c58 100644 --- a/check_upgrade/check_upgrade_test.go +++ b/check_upgrade/check_upgrade_test.go @@ -16,7 +16,7 @@ import ( "testing" "time" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/golang-jwt/jwt/v5" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" diff --git a/chunker/json_parser.go b/chunker/json_parser.go index ee2c72dde38..2980b8022eb 100644 --- a/chunker/json_parser.go +++ b/chunker/json_parser.go @@ -19,7 +19,7 @@ import ( "github.com/twpayne/go-geom" "github.com/twpayne/go-geom/encoding/geojson" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/simdjson-go" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/types" diff --git a/chunker/json_parser_test.go b/chunker/json_parser_test.go index dfc77b2fac9..28caea20d63 100644 --- a/chunker/json_parser_test.go +++ b/chunker/json_parser_test.go @@ -21,7 +21,7 @@ import ( "github.com/golang/glog" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/testutil" diff --git a/chunker/rdf_parser.go b/chunker/rdf_parser.go index 239b8d41d00..f8f2260bc31 100644 --- a/chunker/rdf_parser.go +++ b/chunker/rdf_parser.go @@ -13,7 +13,7 @@ import ( "strings" "unicode" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/lex" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/types" diff --git a/chunker/rdf_parser_test.go b/chunker/rdf_parser_test.go index 8ad87bf638b..b58db6cffc9 100644 --- a/chunker/rdf_parser_test.go +++ b/chunker/rdf_parser_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/lex" "github.com/hypermodeinc/dgraph/v24/types/facets" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/conn/node.go b/conn/node.go index ff52be912fe..5c429b60b95 100644 --- a/conn/node.go +++ b/conn/node.go @@ -26,7 +26,7 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/raftwal" diff --git a/conn/pool.go b/conn/pool.go index 30a0ca0ca37..a058798d0e7 100644 --- a/conn/pool.go +++ b/conn/pool.go @@ -19,7 +19,7 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/conn/raft_server.go b/conn/raft_server.go index 2c96e2f0e00..8b5c45d4232 100644 --- a/conn/raft_server.go +++ b/conn/raft_server.go @@ -20,7 +20,7 @@ import ( "go.etcd.io/etcd/raft/v3/raftpb" "go.opentelemetry.io/otel/trace" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/dgraph/cmd/alpha/http.go b/dgraph/cmd/alpha/http.go index 73703a32776..d940de5606e 100644 --- a/dgraph/cmd/alpha/http.go +++ b/dgraph/cmd/alpha/http.go @@ -26,7 +26,7 @@ import ( jsonpb "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/edgraph" "github.com/hypermodeinc/dgraph/v24/graphql/admin" diff --git a/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go b/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go index 4809ec2597e..2a9c32e75c0 100644 --- a/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go +++ b/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go @@ -16,8 +16,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/dgraph/cmd/alpha/run.go b/dgraph/cmd/alpha/run.go index b2f78263522..bc599acaf9c 100644 --- a/dgraph/cmd/alpha/run.go +++ b/dgraph/cmd/alpha/run.go @@ -37,8 +37,8 @@ import ( hapi "google.golang.org/grpc/health/grpc_health_v1" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240/protos/api" - apiv25 "github.com/dgraph-io/dgo/v240/protos/api.v25" + "github.com/dgraph-io/dgo/v250/protos/api" + apiv25 "github.com/dgraph-io/dgo/v250/protos/api.v25" _ "github.com/dgraph-io/gqlparser/v2/validator/rules" // make gql validator init() all rules "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/audit" diff --git a/dgraph/cmd/alpha/run_test.go b/dgraph/cmd/alpha/run_test.go index d1989029040..765f81f7ee4 100644 --- a/dgraph/cmd/alpha/run_test.go +++ b/dgraph/cmd/alpha/run_test.go @@ -33,8 +33,8 @@ import ( "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/encoding/gzip" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/dql" diff --git a/dgraph/cmd/alpha/txn_test.go b/dgraph/cmd/alpha/txn_test.go index 705cbaf159d..266b0dd6eec 100644 --- a/dgraph/cmd/alpha/txn_test.go +++ b/dgraph/cmd/alpha/txn_test.go @@ -22,8 +22,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" ) func TestTxnRead1(t *testing.T) { diff --git a/dgraph/cmd/alpha/upsert_test.go b/dgraph/cmd/alpha/upsert_test.go index e0d04d4fd79..32c0850fec9 100644 --- a/dgraph/cmd/alpha/upsert_test.go +++ b/dgraph/cmd/alpha/upsert_test.go @@ -17,8 +17,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/dgraph/cmd/bulk/mapper.go b/dgraph/cmd/bulk/mapper.go index 6b24adf519c..de83fb62b6d 100644 --- a/dgraph/cmd/bulk/mapper.go +++ b/dgraph/cmd/bulk/mapper.go @@ -23,7 +23,7 @@ import ( "github.com/klauspost/compress/s2" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/acl" "github.com/hypermodeinc/dgraph/v24/chunker" diff --git a/dgraph/cmd/increment/increment.go b/dgraph/cmd/increment/increment.go index 46c35d2063d..db9466e06d3 100644 --- a/dgraph/cmd/increment/increment.go +++ b/dgraph/cmd/increment/increment.go @@ -20,8 +20,8 @@ import ( "github.com/spf13/viper" "go.opencensus.io/trace" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/dgraph/cmd/increment/increment_test.go b/dgraph/cmd/increment/increment_test.go index c89f599ee72..fdbf23b4002 100644 --- a/dgraph/cmd/increment/increment_test.go +++ b/dgraph/cmd/increment/increment_test.go @@ -21,8 +21,8 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/dgraph/cmd/live/batch.go b/dgraph/cmd/live/batch.go index ca99a25d22b..d44dad09490 100644 --- a/dgraph/cmd/live/batch.go +++ b/dgraph/cmd/live/batch.go @@ -23,8 +23,8 @@ import ( "google.golang.org/grpc/status" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/tok" diff --git a/dgraph/cmd/live/load-json/load_test.go b/dgraph/cmd/live/load-json/load_test.go index 25d523cc4b2..f0738947f8c 100644 --- a/dgraph/cmd/live/load-json/load_test.go +++ b/dgraph/cmd/live/load-json/load_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" + "github.com/dgraph-io/dgo/v250" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/dgraph/cmd/live/load-uids/load_test.go b/dgraph/cmd/live/load-uids/load_test.go index e73e9988e34..bf16b001ec3 100644 --- a/dgraph/cmd/live/load-uids/load_test.go +++ b/dgraph/cmd/live/load-uids/load_test.go @@ -22,8 +22,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/dgraph/cmd/live/run.go b/dgraph/cmd/live/run.go index abab159bf11..0dc1d028370 100644 --- a/dgraph/cmd/live/run.go +++ b/dgraph/cmd/live/run.go @@ -33,8 +33,8 @@ import ( "github.com/dgraph-io/badger/v4" bopt "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/chunker" "github.com/hypermodeinc/dgraph/v24/enc" diff --git a/dgraph/cmd/zero/http.go b/dgraph/cmd/zero/http.go index ebcf116c0f5..18496cedeee 100644 --- a/dgraph/cmd/zero/http.go +++ b/dgraph/cmd/zero/http.go @@ -18,7 +18,7 @@ import ( "github.com/pkg/errors" "google.golang.org/protobuf/encoding/protojson" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/dgraph/cmd/zero/oracle.go b/dgraph/cmd/zero/oracle.go index c72180c0d24..d67286c4cac 100644 --- a/dgraph/cmd/zero/oracle.go +++ b/dgraph/cmd/zero/oracle.go @@ -20,7 +20,7 @@ import ( trace "go.opentelemetry.io/otel/trace" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/tok/hnsw" diff --git a/dgraph/cmd/zero/zero.go b/dgraph/cmd/zero/zero.go index ad28edd3b68..f4c1b5e742a 100644 --- a/dgraph/cmd/zero/zero.go +++ b/dgraph/cmd/zero/zero.go @@ -19,7 +19,7 @@ import ( "go.opentelemetry.io/otel/attribute" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/conn" "github.com/hypermodeinc/dgraph/v24/protos/pb" diff --git a/dgraphapi/cluster.go b/dgraphapi/cluster.go index e84f386fb13..e1436c85fd3 100644 --- a/dgraphapi/cluster.go +++ b/dgraphapi/cluster.go @@ -19,8 +19,8 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/dgraphapi/vector.go b/dgraphapi/vector.go index c7aeaca810a..559d9ad419d 100644 --- a/dgraphapi/vector.go +++ b/dgraphapi/vector.go @@ -11,7 +11,7 @@ import ( "math/rand" "strings" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" ) func GenerateRandomVector(size int) []float32 { diff --git a/dgraphtest/compose_cluster.go b/dgraphtest/compose_cluster.go index 1803d389bd8..1a461d2c36c 100644 --- a/dgraphtest/compose_cluster.go +++ b/dgraphtest/compose_cluster.go @@ -6,7 +6,7 @@ package dgraphtest import ( - "github.com/dgraph-io/dgo/v240" + "github.com/dgraph-io/dgo/v250" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/dgraphtest/dcloud_cluster.go b/dgraphtest/dcloud_cluster.go index f0538e04632..013c9743394 100644 --- a/dgraphtest/dcloud_cluster.go +++ b/dgraphtest/dcloud_cluster.go @@ -16,8 +16,8 @@ import ( "github.com/pkg/errors" "google.golang.org/grpc" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" ) diff --git a/dgraphtest/load.go b/dgraphtest/load.go index e8ab0a16894..9963d0aa482 100644 --- a/dgraphtest/load.go +++ b/dgraphtest/load.go @@ -22,7 +22,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/enc" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/dgraphtest/local_cluster.go b/dgraphtest/local_cluster.go index b13b18a2c82..4fac74cbb1a 100644 --- a/dgraphtest/local_cluster.go +++ b/dgraphtest/local_cluster.go @@ -32,8 +32,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/dql/dql.go b/dql/dql.go index 7109444a3eb..f14897d8cd2 100644 --- a/dql/dql.go +++ b/dql/dql.go @@ -6,7 +6,7 @@ package dql import ( - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/lex" ) diff --git a/dql/mutation.go b/dql/mutation.go index c49c0439c7a..a68d5ce259e 100644 --- a/dql/mutation.go +++ b/dql/mutation.go @@ -10,7 +10,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/types" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/dql/parser_mutation.go b/dql/parser_mutation.go index ca90c95f867..65359f60ba3 100644 --- a/dql/parser_mutation.go +++ b/dql/parser_mutation.go @@ -6,7 +6,7 @@ package dql import ( - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/lex" ) diff --git a/dql/parser_test.go b/dql/parser_test.go index 7e323c893fc..a843807c845 100644 --- a/dql/parser_test.go +++ b/dql/parser_test.go @@ -14,7 +14,7 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/chunker" "github.com/hypermodeinc/dgraph/v24/lex" "github.com/hypermodeinc/dgraph/v24/types" diff --git a/edgraph/access.go b/edgraph/access.go index cafb93b80fa..9d04dfbc007 100644 --- a/edgraph/access.go +++ b/edgraph/access.go @@ -22,7 +22,7 @@ import ( "google.golang.org/protobuf/proto" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/acl" "github.com/hypermodeinc/dgraph/v24/dql" diff --git a/edgraph/alter.go b/edgraph/alter.go index 04c72ca9af9..38f7dbfb5b6 100644 --- a/edgraph/alter.go +++ b/edgraph/alter.go @@ -10,8 +10,8 @@ import ( "fmt" "time" - "github.com/dgraph-io/dgo/v240/protos/api" - apiv25 "github.com/dgraph-io/dgo/v240/protos/api.v25" + "github.com/dgraph-io/dgo/v250/protos/api" + apiv25 "github.com/dgraph-io/dgo/v250/protos/api.v25" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/query" diff --git a/edgraph/alter_test.go b/edgraph/alter_test.go index aa3b7aabf66..9cd6c44a151 100644 --- a/edgraph/alter_test.go +++ b/edgraph/alter_test.go @@ -11,7 +11,7 @@ import ( "context" "testing" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" diff --git a/edgraph/graphql.go b/edgraph/graphql.go index 7684e8943fb..cff0bd79515 100644 --- a/edgraph/graphql.go +++ b/edgraph/graphql.go @@ -15,7 +15,7 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/edgraph/multi_tenancy.go b/edgraph/multi_tenancy.go index 3d7e5615c10..a2cde2e0084 100644 --- a/edgraph/multi_tenancy.go +++ b/edgraph/multi_tenancy.go @@ -14,7 +14,7 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/query" "github.com/hypermodeinc/dgraph/v24/schema" diff --git a/edgraph/namespace.go b/edgraph/namespace.go index 5738254f9e8..e5080479c10 100644 --- a/edgraph/namespace.go +++ b/edgraph/namespace.go @@ -19,8 +19,8 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgo/v240/protos/api" - apiv25 "github.com/dgraph-io/dgo/v240/protos/api.v25" + "github.com/dgraph-io/dgo/v250/protos/api" + apiv25 "github.com/dgraph-io/dgo/v250/protos/api.v25" "github.com/hypermodeinc/dgraph/v24/schema" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/edgraph/query.go b/edgraph/query.go index 4c519c4b80e..45b22b0ff81 100644 --- a/edgraph/query.go +++ b/edgraph/query.go @@ -9,8 +9,8 @@ import ( "context" "fmt" - "github.com/dgraph-io/dgo/v240/protos/api" - apiv25 "github.com/dgraph-io/dgo/v240/protos/api.v25" + "github.com/dgraph-io/dgo/v250/protos/api" + apiv25 "github.com/dgraph-io/dgo/v250/protos/api.v25" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/edgraph/server.go b/edgraph/server.go index fbb31bfba2a..d0e8cdfe26a 100644 --- a/edgraph/server.go +++ b/edgraph/server.go @@ -33,8 +33,8 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/chunker" "github.com/hypermodeinc/dgraph/v24/conn" "github.com/hypermodeinc/dgraph/v24/dql" diff --git a/edgraph/server_test.go b/edgraph/server_test.go index be824bbabfc..1316b538baa 100644 --- a/edgraph/server_test.go +++ b/edgraph/server_test.go @@ -15,7 +15,7 @@ import ( "google.golang.org/grpc/metadata" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/chunker" "github.com/hypermodeinc/dgraph/v24/schema" "github.com/hypermodeinc/dgraph/v24/worker" diff --git a/go.mod b/go.mod index 7c9ad5aad01..939c1b45cc8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hypermodeinc/dgraph/v24 -go 1.23.6 +go 1.23.8 require ( contrib.go.opencensus.io/exporter/prometheus v0.4.2 @@ -9,7 +9,7 @@ require ( github.com/Masterminds/semver/v3 v3.3.1 github.com/blevesearch/bleve/v2 v2.4.4 github.com/dgraph-io/badger/v4 v4.6.0 - github.com/dgraph-io/dgo/v240 v240.1.1-0.20250403071431-f8296b028c14 + github.com/dgraph-io/dgo/v250 v250.0.0-20250414070504-5d94e1cb33a5 github.com/dgraph-io/gqlgen v0.13.2 github.com/dgraph-io/gqlparser/v2 v2.2.2 github.com/dgraph-io/graphql-transport-ws v0.0.0-20210511143556-2cef522f1f15 @@ -57,14 +57,14 @@ require ( go.opentelemetry.io/otel/sdk v1.34.0 go.opentelemetry.io/otel/trace v1.34.0 go.uber.org/zap v1.27.0 - golang.org/x/crypto v0.36.0 + golang.org/x/crypto v0.37.0 golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 golang.org/x/mod v0.24.0 - golang.org/x/net v0.38.0 - golang.org/x/sync v0.12.0 - golang.org/x/sys v0.31.0 - golang.org/x/term v0.30.0 - golang.org/x/text v0.23.0 + golang.org/x/net v0.39.0 + golang.org/x/sync v0.13.0 + golang.org/x/sys v0.32.0 + golang.org/x/term v0.31.0 + golang.org/x/text v0.24.0 golang.org/x/tools v0.31.0 google.golang.org/grpc v1.71.1 google.golang.org/protobuf v1.36.6 diff --git a/go.sum b/go.sum index df3c717a2a2..105cf1e5028 100644 --- a/go.sum +++ b/go.sum @@ -122,8 +122,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgraph-io/badger/v4 v4.6.0 h1:acOwfOOZ4p1dPRnYzvkVm7rUk2Y21TgPVepCy5dJdFQ= github.com/dgraph-io/badger/v4 v4.6.0/go.mod h1:KSJ5VTuZNC3Sd+YhvVjk2nYua9UZnnTr/SkXvdtiPgI= -github.com/dgraph-io/dgo/v240 v240.1.1-0.20250403071431-f8296b028c14 h1:juO1dROmkoBY2WV3HD2xman/f5s0VGVs4GzG7ZXuQ1o= -github.com/dgraph-io/dgo/v240 v240.1.1-0.20250403071431-f8296b028c14/go.mod h1:r0vwLSNewHs8ngmn5xeLPBRnutzzTN1H/Gvb+A3cgS8= +github.com/dgraph-io/dgo/v250 v250.0.0-20250414070504-5d94e1cb33a5 h1:dfP/Omj7NqVDr9s3BAZg2U1g8XPfhPdNYZH40LCpcNA= +github.com/dgraph-io/dgo/v250 v250.0.0-20250414070504-5d94e1cb33a5/go.mod h1:h1cPCTmI0GZWc770q608FkWEdQfC4iiWYAgvQGnvQ9A= github.com/dgraph-io/gqlgen v0.13.2 h1:TNhndk+eHKj5qE7BenKKSYdSIdOGhLqxR1rCiMso9KM= github.com/dgraph-io/gqlgen v0.13.2/go.mod h1:iCOrOv9lngN7KAo+jMgvUPVDlYHdf7qDwsTkQby2Sis= github.com/dgraph-io/gqlparser/v2 v2.1.1/go.mod h1:MYS4jppjyx8b9tuUtjV7jU1UFZK6P9fvO8TsIsQtRKU= @@ -622,8 +622,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= -golang.org/x/crypto v0.36.0 h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34= -golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc= +golang.org/x/crypto v0.37.0 h1:kJNSjF/Xp7kU0iB2Z+9viTPMW4EqqsrywMXLJOOsXSE= +golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -703,8 +703,8 @@ golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8= -golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= +golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY= +golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -724,8 +724,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw= -golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= +golang.org/x/sync v0.13.0 h1:AauUjRAJ9OSnvULf/ARrrVywoJDy0YS2AwQ98I37610= +golang.org/x/sync v0.13.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -774,13 +774,13 @@ golang.org/x/sys v0.0.0-20220708085239-5a0f0661e09d/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik= -golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20= +golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.30.0 h1:PQ39fJZ+mfadBm0y5WlL4vlM7Sx1Hgf13sMIY2+QS9Y= -golang.org/x/term v0.30.0/go.mod h1:NYYFdzHoI5wRh/h5tDMdMqCqPJZEuNqVR5xJLd/n67g= +golang.org/x/term v0.31.0 h1:erwDkOK1Msy6offm1mOgvspSkslFnIGsFnxOKoufg3o= +golang.org/x/term v0.31.0/go.mod h1:R4BeIy7D95HzImkxGkTW1UQTtP54tio2RyHz7PwK0aw= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -789,8 +789,8 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY= -golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4= +golang.org/x/text v0.24.0 h1:dd5Bzh4yt5KYA8f9CJHCP4FB4D51c2c6JvN37xJJkJ0= +golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/graphql/admin/login.go b/graphql/admin/login.go index 9db5c1d5496..ea2fa495412 100644 --- a/graphql/admin/login.go +++ b/graphql/admin/login.go @@ -12,7 +12,7 @@ import ( "github.com/golang/glog" "google.golang.org/protobuf/proto" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/edgraph" "github.com/hypermodeinc/dgraph/v24/graphql/resolve" "github.com/hypermodeinc/dgraph/v24/graphql/schema" diff --git a/graphql/admin/update_group.go b/graphql/admin/update_group.go index 5512920cf75..8d8f01cb7e6 100644 --- a/graphql/admin/update_group.go +++ b/graphql/admin/update_group.go @@ -9,7 +9,7 @@ import ( "context" "fmt" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/graphql/resolve" "github.com/hypermodeinc/dgraph/v24/graphql/schema" diff --git a/graphql/dgraph/execute.go b/graphql/dgraph/execute.go index 2b093690208..c6efa76bbfa 100644 --- a/graphql/dgraph/execute.go +++ b/graphql/dgraph/execute.go @@ -12,7 +12,7 @@ import ( "github.com/golang/glog" "go.opencensus.io/trace" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/edgraph" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/graphql/e2e/common/admin.go b/graphql/e2e/common/admin.go index 786b4760607..e9a1051a143 100644 --- a/graphql/e2e/common/admin.go +++ b/graphql/e2e/common/admin.go @@ -22,8 +22,8 @@ import ( "google.golang.org/grpc/credentials/insecure" "google.golang.org/protobuf/encoding/protojson" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/graphql/e2e/common/common.go b/graphql/e2e/common/common.go index 753768c0a61..92ceeff14d7 100644 --- a/graphql/e2e/common/common.go +++ b/graphql/e2e/common/common.go @@ -25,8 +25,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/graphql/e2e/common/error.go b/graphql/e2e/common/error.go index 247a8445438..07407ee0d78 100644 --- a/graphql/e2e/common/error.go +++ b/graphql/e2e/common/error.go @@ -23,8 +23,8 @@ import ( "google.golang.org/grpc/peer" "gopkg.in/yaml.v3" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" admin2 "github.com/hypermodeinc/dgraph/v24/graphql/admin" "github.com/hypermodeinc/dgraph/v24/graphql/resolve" "github.com/hypermodeinc/dgraph/v24/graphql/schema" diff --git a/graphql/e2e/common/mutation.go b/graphql/e2e/common/mutation.go index 9a30931d6b3..4ea5622c1e0 100644 --- a/graphql/e2e/common/mutation.go +++ b/graphql/e2e/common/mutation.go @@ -24,8 +24,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/graphql/e2e/common/query.go b/graphql/e2e/common/query.go index 3a56920b5c1..f06639f228c 100644 --- a/graphql/e2e/common/query.go +++ b/graphql/e2e/common/query.go @@ -27,8 +27,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/graphql/e2e/common/schema.go b/graphql/e2e/common/schema.go index ab46177d8a2..6baa636e543 100644 --- a/graphql/e2e/common/schema.go +++ b/graphql/e2e/common/schema.go @@ -13,8 +13,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/graphql/e2e/schema/schema_test.go b/graphql/e2e/schema/schema_test.go index bec6fc823f3..c06d76c8205 100644 --- a/graphql/e2e/schema/schema_test.go +++ b/graphql/e2e/schema/schema_test.go @@ -23,7 +23,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/worker" diff --git a/graphql/resolve/auth_test.go b/graphql/resolve/auth_test.go index 8702348651d..86f5eff2853 100644 --- a/graphql/resolve/auth_test.go +++ b/graphql/resolve/auth_test.go @@ -19,7 +19,7 @@ import ( "google.golang.org/grpc/metadata" "gopkg.in/yaml.v3" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" _ "github.com/dgraph-io/gqlparser/v2/validator/rules" // make gql validator init() all rules "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/graphql/authorization" diff --git a/graphql/resolve/mutation.go b/graphql/resolve/mutation.go index 04e43fd22ec..8c0e44624b8 100644 --- a/graphql/resolve/mutation.go +++ b/graphql/resolve/mutation.go @@ -18,7 +18,7 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" "github.com/hypermodeinc/dgraph/v24/graphql/schema" diff --git a/graphql/resolve/mutation_rewriter.go b/graphql/resolve/mutation_rewriter.go index 3155752d7d3..7b4427c816d 100644 --- a/graphql/resolve/mutation_rewriter.go +++ b/graphql/resolve/mutation_rewriter.go @@ -16,7 +16,7 @@ import ( "github.com/pkg/errors" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/graphql/resolve/mutation_test.go b/graphql/resolve/mutation_test.go index 3eda183b98a..c31e543c7f8 100644 --- a/graphql/resolve/mutation_test.go +++ b/graphql/resolve/mutation_test.go @@ -16,7 +16,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v3" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/graphql/test" diff --git a/graphql/resolve/query.go b/graphql/resolve/query.go index b02b6e8bdd7..3fc451b811e 100644 --- a/graphql/resolve/query.go +++ b/graphql/resolve/query.go @@ -14,7 +14,7 @@ import ( "github.com/golang/glog" "go.opentelemetry.io/otel/trace" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" "github.com/hypermodeinc/dgraph/v24/graphql/schema" diff --git a/graphql/resolve/resolver.go b/graphql/resolve/resolver.go index 1cdbaa1ba96..4f4e66f0d6a 100644 --- a/graphql/resolve/resolver.go +++ b/graphql/resolve/resolver.go @@ -18,7 +18,7 @@ import ( "github.com/pkg/errors" "go.opentelemetry.io/otel/trace" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/edgraph" "github.com/hypermodeinc/dgraph/v24/graphql/api" "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" diff --git a/graphql/resolve/resolver_error_test.go b/graphql/resolve/resolver_error_test.go index dc5be196652..d2242fb366b 100644 --- a/graphql/resolve/resolver_error_test.go +++ b/graphql/resolve/resolver_error_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v3" - dgoapi "github.com/dgraph-io/dgo/v240/protos/api" + dgoapi "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/graphql/test" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/posting/list_test.go b/posting/list_test.go index d8d999f228a..f21a790f31c 100644 --- a/posting/list_test.go +++ b/posting/list_test.go @@ -21,7 +21,7 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/codec" "github.com/hypermodeinc/dgraph/v24/protos/pb" diff --git a/posting/lists.go b/posting/lists.go index 7fecf5c1b7d..e0903d1bc98 100644 --- a/posting/lists.go +++ b/posting/lists.go @@ -17,7 +17,7 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/posting/mvcc.go b/posting/mvcc.go index 3f22d3e6204..d96c774bb4c 100644 --- a/posting/mvcc.go +++ b/posting/mvcc.go @@ -23,7 +23,7 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/protos/pb" diff --git a/posting/size.go b/posting/size.go index 751763e535b..a26d06b20a8 100644 --- a/posting/size.go +++ b/posting/size.go @@ -10,7 +10,7 @@ import ( "reflect" "unsafe" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/protos/pb" ) diff --git a/posting/size_test.go b/posting/size_test.go index e12ebf0622d..c2c96acb7a3 100644 --- a/posting/size_test.go +++ b/posting/size_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/protos/pb" ) diff --git a/protos/Makefile b/protos/Makefile index 8f3d3244e39..3d1f854357f 100644 --- a/protos/Makefile +++ b/protos/Makefile @@ -5,7 +5,7 @@ # Update BADGER_PB_VERSION when upgrading Badger major versions BADGER_PB_VERSION = 4 -DGO_PB_VERSION = 240 +DGO_PB_VERSION = 250 DGO_PATH := github.com/dgraph-io/dgo/v${DGO_PB_VERSION} BADGER_PATH := github.com/dgraph-io/badger/v${BADGER_PB_VERSION} @@ -57,6 +57,6 @@ regenerate: tidy-deps copy-protos check clean --go-grpc_opt=paths=source_relative \ --go_opt=M{DGO_PATH}/protos/api.proto={DGO_PATH}/protos/api \ pb.proto - @$(MAKE) patch-pb + @$(MAKE) patch-pb @rm -rf ${TMPDIR} @echo Done. diff --git a/protos/pb.proto b/protos/pb.proto index bc276019135..5ccad313416 100644 --- a/protos/pb.proto +++ b/protos/pb.proto @@ -12,7 +12,7 @@ syntax = "proto3"; package pb; -import "github.com/dgraph-io/dgo/v240/protos/api.proto"; +import "github.com/dgraph-io/dgo/v250/protos/api.proto"; import "github.com/dgraph-io/badger/v4/pb/pb.proto"; import "google/protobuf/descriptor.proto"; diff --git a/protos/pb/pb.pb.go b/protos/pb/pb.pb.go index 7a98e0405cd..abb6729556f 100644 --- a/protos/pb/pb.pb.go +++ b/protos/pb/pb.pb.go @@ -17,7 +17,7 @@ package pb import ( pb "github.com/dgraph-io/badger/v4/pb" - api "github.com/dgraph-io/dgo/v240/protos/api" + api "github.com/dgraph-io/dgo/v250/protos/api" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/descriptorpb" @@ -6070,7 +6070,7 @@ var File_pb_proto protoreflect.FileDescriptor var file_pb_proto_rawDesc = []byte{ 0x0a, 0x08, 0x70, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x67, 0x72, 0x61, 0x70, - 0x68, 0x2d, 0x69, 0x6f, 0x2f, 0x64, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x34, 0x30, 0x2f, 0x70, 0x72, + 0x68, 0x2d, 0x69, 0x6f, 0x2f, 0x64, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x35, 0x30, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2d, 0x69, 0x6f, 0x2f, 0x62, 0x61, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x76, 0x34, 0x2f, 0x70, diff --git a/protos/pb/pb_grpc.pb.go b/protos/pb/pb_grpc.pb.go index 7308884e866..e411482c3de 100644 --- a/protos/pb/pb_grpc.pb.go +++ b/protos/pb/pb_grpc.pb.go @@ -18,7 +18,7 @@ package pb import ( context "context" pb "github.com/dgraph-io/badger/v4/pb" - api "github.com/dgraph-io/dgo/v240/protos/api" + api "github.com/dgraph-io/dgo/v250/protos/api" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/query/common_test.go b/query/common_test.go index 370c8d854d2..b6441e9e2d0 100644 --- a/query/common_test.go +++ b/query/common_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/query/mutation.go b/query/mutation.go index 3e9a168568b..3ad23c09829 100644 --- a/query/mutation.go +++ b/query/mutation.go @@ -15,7 +15,7 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/types/facets" diff --git a/query/mutation_test.go b/query/mutation_test.go index 0e882fee2eb..39d6e716866 100644 --- a/query/mutation_test.go +++ b/query/mutation_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphtest" ) diff --git a/query/normalize_feature_flag_test.go b/query/normalize_feature_flag_test.go index 8bd5f9df85c..6d2b23288b3 100644 --- a/query/normalize_feature_flag_test.go +++ b/query/normalize_feature_flag_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphtest" ) diff --git a/query/outputnode.go b/query/outputnode.go index 82595a7c83b..f85667502ec 100644 --- a/query/outputnode.go +++ b/query/outputnode.go @@ -25,7 +25,7 @@ import ( "github.com/twpayne/go-geom" "github.com/twpayne/go-geom/encoding/geojson" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/algo" gqlSchema "github.com/hypermodeinc/dgraph/v24/graphql/schema" diff --git a/query/query1_test.go b/query/query1_test.go index d2aba810d3e..51e24ee8910 100644 --- a/query/query1_test.go +++ b/query/query1_test.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" ) func TestSchemaBlock2(t *testing.T) { diff --git a/query/query4_test.go b/query/query4_test.go index 3609408ca08..301905f12c8 100644 --- a/query/query4_test.go +++ b/query/query4_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/query/vector/vector_test.go b/query/vector/vector_test.go index b4841752b13..6b41d23dfcf 100644 --- a/query/vector/vector_test.go +++ b/query/vector/vector_test.go @@ -16,7 +16,7 @@ import ( "testing" "time" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/1million/1million_test.go b/systest/1million/1million_test.go index e3317eab144..1814a48ec3f 100644 --- a/systest/1million/1million_test.go +++ b/systest/1million/1million_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/systest/1million/common" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/systest/backup/encryption/backup_test.go b/systest/backup/encryption/backup_test.go index b5a01a42d04..8a1a15fd11e 100644 --- a/systest/backup/encryption/backup_test.go +++ b/systest/backup/encryption/backup_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/worker" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/backup/filesystem/backup_test.go b/systest/backup/filesystem/backup_test.go index 13cd8e43405..d68c6b171b9 100644 --- a/systest/backup/filesystem/backup_test.go +++ b/systest/backup/filesystem/backup_test.go @@ -24,8 +24,8 @@ import ( "google.golang.org/grpc/credentials" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/systest/backup/common" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/worker" diff --git a/systest/backup/minio-large/backup_test.go b/systest/backup/minio-large/backup_test.go index c962e853347..790410cee50 100644 --- a/systest/backup/minio-large/backup_test.go +++ b/systest/backup/minio-large/backup_test.go @@ -24,8 +24,8 @@ import ( "google.golang.org/grpc/credentials" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/worker" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/backup/minio/backup_test.go b/systest/backup/minio/backup_test.go index a66eddbf2c6..b2f6906418f 100644 --- a/systest/backup/minio/backup_test.go +++ b/systest/backup/minio/backup_test.go @@ -25,8 +25,8 @@ import ( "google.golang.org/grpc/credentials" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/worker" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/backup/multi-tenancy/backup_test.go b/systest/backup/multi-tenancy/backup_test.go index e53d8dc79f3..d14eb0c8bcd 100644 --- a/systest/backup/multi-tenancy/backup_test.go +++ b/systest/backup/multi-tenancy/backup_test.go @@ -16,8 +16,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/systest/backup/common" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/backup/nfs-backup/backup_test.go b/systest/backup/nfs-backup/backup_test.go index b8f7ada7ac9..f4e4cd14fd2 100644 --- a/systest/backup/nfs-backup/backup_test.go +++ b/systest/backup/nfs-backup/backup_test.go @@ -23,8 +23,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/systest/backup/common" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/worker" diff --git a/systest/bgindex/common_test.go b/systest/bgindex/common_test.go index a0ae8ccade9..aef1a59d6e3 100644 --- a/systest/bgindex/common_test.go +++ b/systest/bgindex/common_test.go @@ -14,7 +14,7 @@ import ( "sync/atomic" "time" - "github.com/dgraph-io/dgo/v240" + "github.com/dgraph-io/dgo/v250" ) func printStats(counter *uint64, quit <-chan struct{}, wg *sync.WaitGroup) { diff --git a/systest/bgindex/count_test.go b/systest/bgindex/count_test.go index 4309dd6ef35..bc5949b752c 100644 --- a/systest/bgindex/count_test.go +++ b/systest/bgindex/count_test.go @@ -25,8 +25,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/systest/bgindex/parallel_test.go b/systest/bgindex/parallel_test.go index 48bbe842537..82587d93eaf 100644 --- a/systest/bgindex/parallel_test.go +++ b/systest/bgindex/parallel_test.go @@ -21,8 +21,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/systest/bgindex/reverse_test.go b/systest/bgindex/reverse_test.go index 2e9a1544223..53ec8722f71 100644 --- a/systest/bgindex/reverse_test.go +++ b/systest/bgindex/reverse_test.go @@ -23,8 +23,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/systest/bgindex/string_test.go b/systest/bgindex/string_test.go index c234d045429..631b986ce96 100644 --- a/systest/bgindex/string_test.go +++ b/systest/bgindex/string_test.go @@ -24,8 +24,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/systest/bulk_live/common/bulk_live_cases.go b/systest/bulk_live/common/bulk_live_cases.go index 026eaa3f22e..0b45df73133 100644 --- a/systest/bulk_live/common/bulk_live_cases.go +++ b/systest/bulk_live/common/bulk_live_cases.go @@ -24,7 +24,7 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/systest/bulk_live/common/bulk_live_fixture.go b/systest/bulk_live/common/bulk_live_fixture.go index 729a6a36123..fc557c3221f 100644 --- a/systest/bulk_live/common/bulk_live_fixture.go +++ b/systest/bulk_live/common/bulk_live_fixture.go @@ -16,7 +16,7 @@ import ( "github.com/minio/minio-go/v6" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/systest/cloud/cloud_test.go b/systest/cloud/cloud_test.go index d578b122e55..57783419833 100644 --- a/systest/cloud/cloud_test.go +++ b/systest/cloud/cloud_test.go @@ -16,7 +16,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/export/export_test.go b/systest/export/export_test.go index 7701493f8aa..21b2f28095f 100644 --- a/systest/export/export_test.go +++ b/systest/export/export_test.go @@ -24,8 +24,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/systest/group-delete/group_delete_test.go b/systest/group-delete/group_delete_test.go index fe1dc2ff13c..67395a85c7d 100644 --- a/systest/group-delete/group_delete_test.go +++ b/systest/group-delete/group_delete_test.go @@ -24,8 +24,8 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/systest/integration2/acl_test.go b/systest/integration2/acl_test.go index 2c7e37eab94..2f5d8416eb8 100644 --- a/systest/integration2/acl_test.go +++ b/systest/integration2/acl_test.go @@ -13,7 +13,7 @@ import ( "testing" "time" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/integration2/incremental_restore_test.go b/systest/integration2/incremental_restore_test.go index 766c1b57ef4..e928da26e02 100644 --- a/systest/integration2/incremental_restore_test.go +++ b/systest/integration2/incremental_restore_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/live_pw_test.go b/systest/live_pw_test.go index 81fa5b8a2f4..858744071ca 100644 --- a/systest/live_pw_test.go +++ b/systest/live_pw_test.go @@ -14,8 +14,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/systest/loader/loader_test.go b/systest/loader/loader_test.go index 6f394588e78..34c7bca8c10 100644 --- a/systest/loader/loader_test.go +++ b/systest/loader/loader_test.go @@ -17,7 +17,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/systest/multi-tenancy/basic_test.go b/systest/multi-tenancy/basic_test.go index 5370d17d555..10fe260e440 100644 --- a/systest/multi-tenancy/basic_test.go +++ b/systest/multi-tenancy/basic_test.go @@ -15,7 +15,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/acl" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" diff --git a/systest/multi-tenancy/integration_test.go b/systest/multi-tenancy/integration_test.go index 7e20a0eb5db..f2d5be8e1dc 100644 --- a/systest/multi-tenancy/integration_test.go +++ b/systest/multi-tenancy/integration_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/multi-tenancy/login_test.go b/systest/multi-tenancy/login_test.go index da263f83dd9..f337b321951 100644 --- a/systest/multi-tenancy/login_test.go +++ b/systest/multi-tenancy/login_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/systest/mutations-and-queries/mutations_test.go b/systest/mutations-and-queries/mutations_test.go index ac7a96ce37c..e8bafa2384c 100644 --- a/systest/mutations-and-queries/mutations_test.go +++ b/systest/mutations-and-queries/mutations_test.go @@ -23,8 +23,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/testutil" diff --git a/systest/mutations-and-queries/queries_test.go b/systest/mutations-and-queries/queries_test.go index d4cd5a01fb9..d303d7b59a8 100644 --- a/systest/mutations-and-queries/queries_test.go +++ b/systest/mutations-and-queries/queries_test.go @@ -15,7 +15,7 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/online-restore/online_restore_test.go b/systest/online-restore/online_restore_test.go index 646c9a4297b..5c7aa68a706 100644 --- a/systest/online-restore/online_restore_test.go +++ b/systest/online-restore/online_restore_test.go @@ -25,8 +25,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/chunker" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/plugin/plugin_test.go b/systest/plugin/plugin_test.go index 43735ad17b7..dc5113c562f 100644 --- a/systest/plugin/plugin_test.go +++ b/systest/plugin/plugin_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" ) diff --git a/systest/posting-list-benchmark/main.go b/systest/posting-list-benchmark/main.go index 1c1a0987bb6..3eca10cb842 100644 --- a/systest/posting-list-benchmark/main.go +++ b/systest/posting-list-benchmark/main.go @@ -15,8 +15,8 @@ import ( "github.com/spf13/cobra" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/systest/unique_test.go b/systest/unique_test.go index 98a31a6c396..c44bd19589c 100644 --- a/systest/unique_test.go +++ b/systest/unique_test.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/live" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" diff --git a/systest/vector/backup_test.go b/systest/vector/backup_test.go index 89cf17a8cf5..8e73de8fa37 100644 --- a/systest/vector/backup_test.go +++ b/systest/vector/backup_test.go @@ -15,7 +15,7 @@ import ( "testing" "time" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/vector/load_test.go b/systest/vector/load_test.go index 3e667626724..f8238fb7845 100644 --- a/systest/vector/load_test.go +++ b/systest/vector/load_test.go @@ -13,7 +13,7 @@ import ( "testing" "time" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/systest/vector/vector_test.go b/systest/vector/vector_test.go index 45c5ea96687..8c7aa1b9f14 100644 --- a/systest/vector/vector_test.go +++ b/systest/vector/vector_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/x" diff --git a/testutil/backup.go b/testutil/backup.go index cf649ca9ed0..d24f70f5c43 100644 --- a/testutil/backup.go +++ b/testutil/backup.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240" + "github.com/dgraph-io/dgo/v250" "github.com/hypermodeinc/dgraph/v24/posting" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/types" diff --git a/testutil/client.go b/testutil/client.go index 63690772086..c7334d6fa0f 100644 --- a/testutil/client.go +++ b/testutil/client.go @@ -29,8 +29,8 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/testutil/multi_tenancy.go b/testutil/multi_tenancy.go index 9ee9fe585eb..7f8b37b69cb 100644 --- a/testutil/multi_tenancy.go +++ b/testutil/multi_tenancy.go @@ -17,8 +17,8 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/testutil/schema.go b/testutil/schema.go index 43fadbbd9a9..1b1dd4afd91 100644 --- a/testutil/schema.go +++ b/testutil/schema.go @@ -16,7 +16,7 @@ import ( "github.com/golang/glog" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" + "github.com/dgraph-io/dgo/v250" ) const ( diff --git a/testutil/utils.go b/testutil/utils.go index 716f81edf4b..33ac58c9a02 100644 --- a/testutil/utils.go +++ b/testutil/utils.go @@ -17,7 +17,7 @@ import ( "github.com/golang/glog" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" + "github.com/dgraph-io/dgo/v250" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/testutil/zero.go b/testutil/zero.go index ebe2a987015..394d41387a4 100644 --- a/testutil/zero.go +++ b/testutil/zero.go @@ -18,8 +18,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" ) type Member struct { diff --git a/tlstest/certrequest/certrequest_test.go b/tlstest/certrequest/certrequest_test.go index 268d54fc11a..cd247eae265 100644 --- a/tlstest/certrequest/certrequest_test.go +++ b/tlstest/certrequest/certrequest_test.go @@ -17,7 +17,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/tlstest/certrequireandverify/certrequireandverify_test.go b/tlstest/certrequireandverify/certrequireandverify_test.go index 48ddff0dd5f..1ca1bc7a251 100644 --- a/tlstest/certrequireandverify/certrequireandverify_test.go +++ b/tlstest/certrequireandverify/certrequireandverify_test.go @@ -22,7 +22,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/tlstest/certverifyifgiven/certverifyifgiven_test.go b/tlstest/certverifyifgiven/certverifyifgiven_test.go index 612ea1cfdba..a87e56a4fa9 100644 --- a/tlstest/certverifyifgiven/certverifyifgiven_test.go +++ b/tlstest/certverifyifgiven/certverifyifgiven_test.go @@ -15,7 +15,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/tlstest/mtls_internal/ha_6_node/ha_test.go b/tlstest/mtls_internal/ha_6_node/ha_test.go index 00167347087..205bb426110 100644 --- a/tlstest/mtls_internal/ha_6_node/ha_test.go +++ b/tlstest/mtls_internal/ha_6_node/ha_test.go @@ -16,8 +16,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/tlstest/mtls_internal/multi_group/multi_group_test.go b/tlstest/mtls_internal/multi_group/multi_group_test.go index fceec7e4e1f..4c38bd4f979 100644 --- a/tlstest/mtls_internal/multi_group/multi_group_test.go +++ b/tlstest/mtls_internal/multi_group/multi_group_test.go @@ -16,8 +16,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/tlstest/mtls_internal/single_node/single_node_test.go b/tlstest/mtls_internal/single_node/single_node_test.go index 877cb8c20db..0b660612514 100644 --- a/tlstest/mtls_internal/single_node/single_node_test.go +++ b/tlstest/mtls_internal/single_node/single_node_test.go @@ -16,8 +16,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/types/conversion.go b/types/conversion.go index f0f44ce1e91..6f3b985bc22 100644 --- a/types/conversion.go +++ b/types/conversion.go @@ -21,7 +21,7 @@ import ( "github.com/twpayne/go-geom/encoding/geojson" "github.com/twpayne/go-geom/encoding/wkb" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" ) // parseVFloat(s) will generate a slice of float64 values, diff --git a/types/facets/facet_types.go b/types/facets/facet_types.go index 9018713ceec..5a03b5da0f2 100644 --- a/types/facets/facet_types.go +++ b/types/facets/facet_types.go @@ -6,7 +6,7 @@ package facets import ( - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" ) const ( diff --git a/types/facets/utils.go b/types/facets/utils.go index ab72c99b7ea..ecc552caf1b 100644 --- a/types/facets/utils.go +++ b/types/facets/utils.go @@ -13,7 +13,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/tok" "github.com/hypermodeinc/dgraph/v24/types" diff --git a/upgrade/change_v20.03.0.go b/upgrade/change_v20.03.0.go index 8940732f9d0..43567a8045f 100644 --- a/upgrade/change_v20.03.0.go +++ b/upgrade/change_v20.03.0.go @@ -9,7 +9,7 @@ import ( "encoding/json" "fmt" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/upgrade/change_v20.07.0.go b/upgrade/change_v20.07.0.go index 78c8bf4eda6..e892118ac38 100644 --- a/upgrade/change_v20.07.0.go +++ b/upgrade/change_v20.07.0.go @@ -8,8 +8,8 @@ package upgrade import ( "fmt" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/upgrade/change_v21.03.0.go b/upgrade/change_v21.03.0.go index 42b7f57ff37..516df6a38d6 100644 --- a/upgrade/change_v21.03.0.go +++ b/upgrade/change_v21.03.0.go @@ -16,8 +16,8 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/posting" "github.com/hypermodeinc/dgraph/v24/protos/pb" diff --git a/upgrade/utils.go b/upgrade/utils.go index 9e3a8532cd8..fbcded8def2 100644 --- a/upgrade/utils.go +++ b/upgrade/utils.go @@ -18,8 +18,8 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/graphql/schema" "github.com/hypermodeinc/dgraph/v24/x" ) diff --git a/upgrade/utils_test.go b/upgrade/utils_test.go index e4eb81f1f15..bcbdb7d86a6 100644 --- a/upgrade/utils_test.go +++ b/upgrade/utils_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" ) func TestGetTypeSchemaString(t *testing.T) { diff --git a/worker/export.go b/worker/export.go index 3a3595632e2..53a16562b16 100644 --- a/worker/export.go +++ b/worker/export.go @@ -27,7 +27,7 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/enc" "github.com/hypermodeinc/dgraph/v24/posting" diff --git a/worker/export_test.go b/worker/export_test.go index 7f869cb8db2..5c8d0695a4b 100644 --- a/worker/export_test.go +++ b/worker/export_test.go @@ -26,7 +26,7 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/chunker" "github.com/hypermodeinc/dgraph/v24/dql" "github.com/hypermodeinc/dgraph/v24/lex" diff --git a/worker/groups.go b/worker/groups.go index b88143f6cab..37a8ed6677d 100644 --- a/worker/groups.go +++ b/worker/groups.go @@ -19,7 +19,7 @@ import ( "google.golang.org/protobuf/proto" badgerpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/conn" "github.com/hypermodeinc/dgraph/v24/protos/pb" diff --git a/worker/mutation.go b/worker/mutation.go index eddba8e6b6b..ed1eeb7fd1e 100644 --- a/worker/mutation.go +++ b/worker/mutation.go @@ -24,8 +24,8 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/conn" "github.com/hypermodeinc/dgraph/v24/posting" diff --git a/worker/predicate_move.go b/worker/predicate_move.go index 9ad87489e3b..b286bb79b85 100644 --- a/worker/predicate_move.go +++ b/worker/predicate_move.go @@ -22,7 +22,7 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/posting" "github.com/hypermodeinc/dgraph/v24/protos/pb" diff --git a/worker/snapshot_test.go b/worker/snapshot_test.go index 6240c0f537b..0eca0246d9d 100644 --- a/worker/snapshot_test.go +++ b/worker/snapshot_test.go @@ -20,8 +20,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/testutil" ) diff --git a/worker/task.go b/worker/task.go index cb34531e570..171a45902ff 100644 --- a/worker/task.go +++ b/worker/task.go @@ -26,7 +26,7 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/algo" "github.com/hypermodeinc/dgraph/v24/conn" "github.com/hypermodeinc/dgraph/v24/posting" diff --git a/worker/upgrade_test.go b/worker/upgrade_test.go index ac855d0525e..f178dfe9db2 100644 --- a/worker/upgrade_test.go +++ b/worker/upgrade_test.go @@ -13,7 +13,7 @@ import ( "testing" "time" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/hypermodeinc/dgraph/v24/dgraphtest" "github.com/hypermodeinc/dgraph/v24/testutil" diff --git a/worker/worker_test.go b/worker/worker_test.go index 8da7208c4c7..e8735a765b6 100644 --- a/worker/worker_test.go +++ b/worker/worker_test.go @@ -20,8 +20,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/hypermodeinc/dgraph/v24/posting" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/schema" diff --git a/x/x.go b/x/x.go index f221e057288..2132f70ad93 100644 --- a/x/x.go +++ b/x/x.go @@ -50,8 +50,8 @@ import ( "github.com/dgraph-io/badger/v4" bo "github.com/dgraph-io/badger/v4/options" badgerpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgo/v240/protos/api" + "github.com/dgraph-io/dgo/v250" + "github.com/dgraph-io/dgo/v250/protos/api" "github.com/dgraph-io/ristretto/v2/z" ) diff --git a/xidmap/xidmap.go b/xidmap/xidmap.go index 94a67e02da5..c0c71d5d73f 100644 --- a/xidmap/xidmap.go +++ b/xidmap/xidmap.go @@ -22,7 +22,7 @@ import ( "google.golang.org/grpc/metadata" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v240" + "github.com/dgraph-io/dgo/v250" "github.com/dgraph-io/ristretto/v2/z" "github.com/hypermodeinc/dgraph/v24/protos/pb" "github.com/hypermodeinc/dgraph/v24/x"