Skip to content

Commit 494d2f9

Browse files
Add docs for v25 (#121)
* Add docs for v25 preview * v25 updates * add MCP * . * banner --------- Co-authored-by: Ryan Fox-Tyler <60440289+ryanfoxtyler@users.noreply.github.com>
1 parent 9d1f370 commit 494d2f9

File tree

6 files changed

+456
-14
lines changed

6 files changed

+456
-14
lines changed

dgraph/overview.mdx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,8 @@ real-time use cases.
3838
>
3939
Read about what use cases are the best fit for graph databases
4040
</Card>
41-
<Card
42-
title="New in Dgraph v24.1"
43-
icon="square-plus"
44-
href="https://hypermode.com/blog/dgraph-v241-knowledge-graphs-faster"
45-
>
46-
Explore the new query planner, faster writes, improved caching, and expanded
47-
data capabilities
41+
<Card title="Dgraph v25 Preview" icon="square-plus" href="./v25-preview">
42+
Try out the new MCP server, namespaces, v2 APIs, and more
4843
</Card>
4944
</CardGroup>
5045

dgraph/sdks/go.mdx

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import DgraphWIP from "/snippets/dgraph-wip.mdx"
77

88
<DgraphWIP />
99

10-
[![GoDoc](https://godoc.org/github.com/dgraph-io/dgo?status.svg)](https://godoc.org/github.com/dgraph-io/dgo)
10+
[![GoDoc](https://pkg.go.dev/badge/github.com/dgraph-io/dgo/v240)](https://pkg.go.dev/github.com/dgraph-io/dgo/v240)
1111

1212
The Go client communicates with the server on the gRPC port (default value
1313
9080).
@@ -23,8 +23,21 @@ go get -u -v github.com/dgraph-io/dgo/v210
2323
The full [GoDoc](https://godoc.org/github.com/dgraph-io/dgo) contains
2424
documentation for the client API along with examples showing how to use it.
2525

26-
More details on the supported versions can be found at
27-
[this link](https://github.com/hypermodeinc/dgo#supported-versions).
26+
## Supported versions
27+
28+
Depending on the version of Dgraph that you are connecting to, you should use a
29+
compatible version of this client and their corresponding import paths.
30+
31+
| Dgraph version | dgo version | dgo import path |
32+
| -------------- | ----------- | ------------------------------- |
33+
| dgraph 23.X.Y | dgo 230.X.Y | `github.com/dgraph-io/dgo/v230` |
34+
| dgraph 24.X.Y | dgo 240.X.Y | `github.com/dgraph-io/dgo/v240` |
35+
| dgraph 25.X.Y | dgo 250.X.Y | `github.com/dgraph-io/dgo/v250` |
36+
37+
<Tip>
38+
Use the new v2 APIs with Dgraph v25. See the [v2
39+
APIs](/dgraph/v25-preview#v2-apis)
40+
</Tip>
2841

2942
## Create the client
3043

@@ -66,7 +79,6 @@ func newClient() *dgo.Dgraph {
6679
api.NewDgraphClient(d),
6780
)
6881
}
69-
7082
```
7183

7284
### Multi-tenancy

0 commit comments

Comments
 (0)