Skip to content

Commit 498dbbc

Browse files
authored
Merge branch 'main' into remove-cli
2 parents 24d7919 + 39ef32c commit 498dbbc

28 files changed

+1889
-147
lines changed

.github/workflows/no-broken-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 22.14.0
21+
node-version: 22.16.0
2222

2323
- name: Run Mintlify Script
2424
run: npx mintlify broken-links

.github/workflows/trunk.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Trunk Code Quality
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
branches: main
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
call-workflow-in-another-repo:
12+
uses: hypermodeinc/.github/.github/workflows/trunk.yml@main

configure-environment.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ values for your defined connection authentication parameters.
1717

1818
## Model hosting
1919

20-
Where available, Hypermode defaults to shared model instances. Refer to the
21-
[Hosted Models](/hosted-models) documentation for instructions on setting up
22-
hosted models.
20+
Hypermode offers integrated model hosting for a selection of the most popular
21+
open source and commercial models. See [Model Router](/model-router) for more
22+
information.
2323

2424
## Scaling your runtime resources
2525

deploy.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ workflow to your repo that builds your Modus app to Hypermode on commit.
2828
## Deploy
2929

3030
On successful build of your project, Hypermode automatically deploys your
31-
project changes. For [hosted models](/hosted-models), Hypermode creates a
32-
connection for your app to a shared or dedicated model instance.
31+
project changes.
3332

3433
You can view the deployment status from the Deployments tab within the Hypermode
3534
Console.

dgraph/changelog.mdx

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

88
<DgraphWIP />
99

10-
The latest Dgraph release is the v24 series.
10+
The latest Dgraph release is the v24 series with
11+
[v25 Preview](/dgraph/v25-preview) now available.
1112

1213
Dgraph releases starting v22.0.0 following semantic versioning
1314
[See the post here](https://discuss.hypermode.com/t/dgraph-v22-0-0-rc1-20221003-release-candidate/).
@@ -21,6 +22,7 @@ To learn about the latest releases and other important announcements, watch the
2122

2223
| Release | First Release Date | End of Life |
2324
| --------------------- | ------------------ | -------------- |
25+
| [v25.0 Preview][] | TBD | TBD |
2426
| [v24.1][] | March 2025 | September 2026 |
2527
| [v24.0][] | June 2024 | December 2025 |
2628
| [v23.1][] | October 2023 | April 2025 |
@@ -35,6 +37,7 @@ To learn about the latest releases and other important announcements, watch the
3537
| [v1.1][] | January 2020 | January 2021 |
3638
| [v1.0][] | December 2017 | March 2020 |
3739

40+
[v25.0 Preview]: https://hypermode.com/blog/dgraph-v25-preview
3841
[v24.1]: https://hypermode.com/blog/dgraph-v241-knowledge-graphs-faster
3942
[v24.0]:
4043
https://discuss.hypermode.com/t/dgraph-release-v24-0-0-is-now-available/19346

dgraph/dql/json.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ identifier, Dgraph creates only one node:
6161
},
6262
{
6363
"uid": "_:diggy",
64-
"specie": "badger"
64+
"species": "badger"
6565
}
6666
]
6767
}
@@ -81,7 +81,7 @@ that was created with the `diggy` identifier:
8181
}
8282
```
8383

84-
Note that the `specie` field is added to the node already created with `name`
84+
Note that the `species` field is added to the node already created with `name`
8585
and `dgraph.type` information.
8686

8787
### Referencing existing nodes
@@ -96,18 +96,18 @@ For example:
9696
"set": [
9797
{
9898
"uid": "0xfffd8d72745f0650",
99-
"specie": "badger"
99+
"species": "badger"
100100
}
101101
]
102102
}
103103
```
104104

105-
Adds the `specie` information to the node that was created earlier.
105+
Adds the `species` information to the node that was created earlier.
106106

107107
## Language support
108108

109109
To set a string value for a specific language, append the language tag to the
110-
field name. In case, `specie` predicate has the @lang directive, the JSON
110+
field name. In case, `species` predicate has the @lang directive, the JSON
111111
mutation
112112

113113
```dql
@@ -117,14 +117,14 @@ mutation
117117
"uid": "_:diggy",
118118
"name": "diggy",
119119
"dgraph.type": "Mascot",
120-
"specie@en" : "badger",
121-
"specie@fr" : "blaireau"
120+
"species@en" : "badger",
121+
"species@fr" : "blaireau"
122122
}
123123
]
124124
}
125125
```
126126

127-
Dgraph sets the `specie` string predicate in English and in French.
127+
Dgraph sets the `species` string predicate in English and in French.
128128

129129
## Geolocation support
130130

dgraph/graphql/connecting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ HTTP GET requests.
1717
<Tabs>
1818
<Tab title="Hypermode">
1919

20-
- access the [Hypermode console](https://hypermode.com/sign-in)
20+
- access the [Hypermode console](https://hypermode.com/login)
2121
- the `GraphQL Endpoint` is displayed at the bottom.
2222
- click on the link button to copy it.
2323

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/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This guide helps you to understand how to:
2121
## Run Dgraph and connect the Ratel web UI
2222

2323
The easiest way to get Dgraph up and running in the cloud is using
24-
[Dgraph on Hypermode](https://hypermode.com/sign-in). If you prefer a local
24+
[Dgraph on Hypermode](https://hypermode.com/login). If you prefer a local
2525
development experience with Dgraph we recommend using the official Dgraph Docker
2626
image. Both options are described below.
2727

@@ -33,7 +33,7 @@ In this section we'll create a new graph, then we'll connect our new graph to
3333
<Steps>
3434
<Step title="Sign in to Hypermode and create your workspace">
3535

36-
Open [`hypermode.com/sign-in`](https://hypermode.com/sign-in) in your web browser and sign
36+
Open [`hypermode.com/login`](https://hypermode.com/login) in your web browser and sign
3737
in to Hypermode to create your account.
3838

3939
After signing in you'll be prompted to choose a name for your workspace.

dgraph/sdks/go.mdx

Lines changed: 17 additions & 5 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).
@@ -17,14 +17,27 @@ The client can be obtained in the usual way via `go get`:
1717
```sh
1818
Requires at least Go 1.23
1919
export GO111MODULE=on
20-
go get -u -v github.com/dgraph-io/dgo/v210
20+
go get -u -v github.com/dgraph-io/dgo/v240
2121
```
2222

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)