Skip to content

Commit ec3eb98

Browse files
authored
Release 3.1.0 (#574)
1 parent b515302 commit ec3eb98

File tree

30 files changed

+481
-330
lines changed

30 files changed

+481
-330
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug_report.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ body:
4040
description: |
4141
Paste your environment here by following these steps
4242
1. Open the settings menu
43-
2. Left-click the version text under the logo
44-
3. Paste clipboard contents here
43+
2. Navigate to the About page
44+
3. Press "Copy environment information"
45+
4. Paste clipboard contents here
4546
validations:
4647
required: true
4748
- type: input
@@ -58,13 +59,13 @@ body:
5859
label: Is there an existing issue for this?
5960
description: Please search [our issues](https://github.com/surrealdb/surrealist/issues) to see if this bug already exists.
6061
options:
61-
- label: I have searched the existing issues
62-
required: true
62+
- label: I have searched the existing issues
63+
required: true
6364
- type: checkboxes
6465
id: terms
6566
attributes:
6667
label: Code of Conduct
6768
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/surrealdb/surrealist/blob/main/CODE_OF_CONDUCT.md)
6869
options:
6970
- label: I agree to follow this project's Code of Conduct
70-
required: true
71+
required: true

Diff for: .github/ISSUE_TEMPLATE/feature_request.yml

+3-14
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,6 @@ body:
2828
attributes:
2929
label: Have you considered contributing this feature yourself?
3030
description: Optionally provide further details...
31-
- type: textarea
32-
id: Environment
33-
attributes:
34-
label: Surrealist Environment
35-
description: |
36-
Paste your environment here by following these steps
37-
1. Open the settings menu
38-
2. Left-click the version text under the logo
39-
3. Paste clipboard contents here
40-
validations:
41-
required: true
4231
- type: input
4332
id: contact
4433
attributes:
@@ -53,13 +42,13 @@ body:
5342
label: Is there an existing issue for this?
5443
description: Please search [our issues](https://github.com/surrealdb/surrealist/issues) to see if this feature request already exists.
5544
options:
56-
- label: I have searched the existing issues
57-
required: true
45+
- label: I have searched the existing issues
46+
required: true
5847
- type: checkboxes
5948
id: terms
6049
attributes:
6150
label: Code of Conduct
6251
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/surrealdb/surrealist/blob/main/CODE_OF_CONDUCT.md)
6352
options:
6453
- label: I agree to follow this project's Code of Conduct
65-
required: true
54+
required: true

Diff for: .github/workflows/draft-release.yml

+12-9
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ on:
1616
env:
1717
UPDATE_URL_STABLE: "https://surrealist.app/latest.json"
1818
UPDATE_URL_BETA: "https://beta.surrealist.app/latest.json"
19-
CALLBACK_URL_STABLE: "https://surrealist.app/cloud/callback"
20-
CALLBACK_URL_BETA: "https://beta.surrealist.app/cloud/callback"
19+
CLOUD_CALLBACK_URL_STABLE: "https://surrealist.app/cloud/callback"
20+
CLOUD_CALLBACK_URL_BETA: "https://beta.surrealist.app/cloud/callback"
21+
CLOUD_CLIENT_ID: OuFa4OeeKveeRq1G6xIPgrl6EBUJtxLR
22+
SCOUT_COPILOT_ID: copilot_cm3gcpzxw00020cs66takkem5
23+
SCOUT_WORKFLOW_ID: wf_cm3gbr8vk00010ds6b1g0vnvv
2124

2225
jobs:
2326
version:
@@ -141,16 +144,16 @@ jobs:
141144
run: |
142145
if [ "${{ inputs.prerelease }}" == "true" ]; then
143146
echo "UPDATE_URL=${{ env.UPDATE_URL_BETA }}" >> $GITHUB_ENV
144-
echo "CALLBACK_URL=${{ env.CALLBACK_URL_BETA }}" >> $GITHUB_ENV
147+
echo "CLOUD_CALLBACK_URL=${{ env.CLOUD_CALLBACK_URL_BETA }}" >> $GITHUB_ENV
145148
else
146149
echo "UPDATE_URL=${{ env.UPDATE_URL_STABLE }}" >> $GITHUB_ENV
147-
echo "CALLBACK_URL=${{ env.CALLBACK_URL_STABLE }}" >> $GITHUB_ENV
150+
echo "CLOUD_CALLBACK_URL=${{ env.CLOUD_CALLBACK_URL_STABLE }}" >> $GITHUB_ENV
148151
fi
149152
150153
- name: Debug environment
151154
run: |
152155
echo "Update URL: ${{ env.UPDATE_URL }}"
153-
echo "Callback URL: ${{ env.CALLBACK_URL }}"
156+
echo "Callback URL: ${{ env.CLOUD_CALLBACK_URL }}"
154157
155158
- name: Configure update endpoint
156159
shell: bash
@@ -166,10 +169,10 @@ jobs:
166169
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
167170
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
168171
VITE_SURREALIST_PREVIEW: "${{ inputs.prerelease }}"
169-
VITE_CLOUD_CLIENT_ID: "OuFa4OeeKveeRq1G6xIPgrl6EBUJtxLR"
170-
VITE_CLOUD_CALLBACK_URL: "${{ env.CALLBACK_URL }}"
171-
VITE_SCOUT_COPILOT_ID: ${{ secrets.VITE_SCOUT_COPILOT_ID }}
172-
VITE_SCOUT_WORKFLOW_ID: ${{ secrets.VITE_SCOUT_WORKFLOW_ID }}
172+
VITE_CLOUD_CLIENT_ID: ${{ env.CLOUD_CLIENT_ID }}
173+
VITE_CLOUD_CALLBACK_URL: "${{ env.CLOUD_CALLBACK_URL }}"
174+
VITE_SCOUT_COPILOT_ID: ${{ secrets.SCOUT_COPILOT_ID }}
175+
VITE_SCOUT_WORKFLOW_ID: ${{ secrets.SCOUT_WORKFLOW_ID }}
173176
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
174177
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
175178
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}

Diff for: .github/workflows/publish-dev.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66

77
permissions: write-all
88

9+
env:
10+
CLOUD_CLIENT_ID: OuFa4OeeKveeRq1G6xIPgrl6EBUJtxLR
11+
CLOUD_CALLBACK_URL_DEV: https://dev.surrealist.app/cloud/callback
12+
SCOUT_COPILOT_ID: copilot_cm3gcpzxw00020cs66takkem5
13+
SCOUT_WORKFLOW_ID: wf_cm3gbr8vk00010ds6b1g0vnvv
14+
915
jobs:
1016
version:
1117
name: Extract version
@@ -57,10 +63,10 @@ jobs:
5763
run: pnpm build
5864
env:
5965
VITE_SURREALIST_PREVIEW: "true"
60-
VITE_CLOUD_CLIENT_ID: "OuFa4OeeKveeRq1G6xIPgrl6EBUJtxLR"
61-
VITE_CLOUD_CALLBACK_URL: "https://dev.surrealist.app/cloud/callback"
62-
VITE_SCOUT_COPILOT_ID: ${{ secrets.VITE_SCOUT_COPILOT_ID }}
63-
VITE_SCOUT_WORKFLOW_ID: ${{ secrets.VITE_SCOUT_WORKFLOW_ID }}
66+
VITE_CLOUD_CLIENT_ID: ${{ env.CLOUD_CLIENT_ID }}
67+
VITE_CLOUD_CALLBACK_URL: ${{ env.CLOUD_CALLBACK_URL_DEV }}
68+
VITE_SCOUT_COPILOT_ID: ${{ env.SCOUT_COPILOT_ID }}
69+
VITE_SCOUT_WORKFLOW_ID: ${{ env.SCOUT_WORKFLOW_ID }}
6470

6571
- uses: aws-actions/configure-aws-credentials@v4
6672
with:

Diff for: .github/workflows/push-docker.yaml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Push Docker
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
CLOUD_CLIENT_ID: OuFa4OeeKveeRq1G6xIPgrl6EBUJtxLR
8+
CLOUD_CALLBACK_URL: https://surrealist.app/cloud/callback
9+
SCOUT_COPILOT_ID: copilot_cm3gcpzxw00020cs66takkem5
10+
SCOUT_WORKFLOW_ID: wf_cm3gbr8vk00010ds6b1g0vnvv
11+
12+
jobs:
13+
version:
14+
name: Extract version
15+
runs-on: ubuntu-latest
16+
outputs:
17+
version: ${{ steps.extract_version.outputs.version }}
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
22+
- name: Setup PNPM
23+
uses: pnpm/action-setup@v3
24+
with:
25+
version: 9
26+
27+
- name: Setup node
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: 20
31+
32+
- name: Extract version
33+
id: extract_version
34+
uses: Saionaro/[email protected]
35+
36+
push_docker_image:
37+
name: Push Docker image to Docker Hub
38+
if: ${{ !github.event.release.prerelease }}
39+
runs-on: ubuntu-latest
40+
needs:
41+
- version
42+
steps:
43+
- name: Set up Docker Buildx
44+
uses: docker/setup-buildx-action@v3
45+
46+
- name: Log in to Docker Hub
47+
uses: docker/login-action@v3
48+
with:
49+
username: ${{ secrets.DOCKER_USER }}
50+
password: ${{ secrets.DOCKER_PASS }}
51+
52+
- name: Build and push
53+
uses: docker/build-push-action@v6
54+
env:
55+
VITE_CLOUD_CLIENT_ID: ${{ env.CLOUD_CLIENT_ID }}
56+
VITE_CLOUD_CALLBACK_URL: ${{ env.CLOUD_CALLBACK_URL }}
57+
VITE_SCOUT_COPILOT_ID: ${{ env.SCOUT_COPILOT_ID }}
58+
VITE_SCOUT_WORKFLOW_ID: ${{ env.SCOUT_WORKFLOW_ID }}
59+
with:
60+
push: true
61+
file: docker/Dockerfile
62+
tags: |
63+
surrealdb/surrealist:latest
64+
surrealdb/surrealist:${{ needs.version.outputs.version }}

Diff for: .github/workflows/push-release.yaml

+17-9
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ on:
55
types: [published]
66

77
env:
8-
CALLBACK_URL_STABLE: "https://surrealist.app/cloud/callback"
9-
CALLBACK_URL_BETA: "https://beta.surrealist.app/cloud/callback"
8+
CLOUD_CALLBACK_URL_STABLE: "https://surrealist.app/cloud/callback"
9+
CLOUD_CALLBACK_URL_BETA: "https://beta.surrealist.app/cloud/callback"
10+
CLOUD_CLIENT_ID: OuFa4OeeKveeRq1G6xIPgrl6EBUJtxLR
11+
SCOUT_COPILOT_ID: copilot_cm3gcpzxw00020cs66takkem5
12+
SCOUT_WORKFLOW_ID: wf_cm3gbr8vk00010ds6b1g0vnvv
1013

1114
jobs:
1215
version:
@@ -50,6 +53,11 @@ jobs:
5053

5154
- name: Build and push
5255
uses: docker/build-push-action@v6
56+
env:
57+
VITE_CLOUD_CLIENT_ID: ${{ env.CLOUD_CLIENT_ID }}
58+
VITE_CLOUD_CALLBACK_URL: ${{ env.CLOUD_CALLBACK_URL }}
59+
VITE_SCOUT_COPILOT_ID: ${{ env.SCOUT_COPILOT_ID }}
60+
VITE_SCOUT_WORKFLOW_ID: ${{ env.SCOUT_WORKFLOW_ID }}
5361
with:
5462
push: true
5563
file: docker/Dockerfile
@@ -92,24 +100,24 @@ jobs:
92100
- name: Configure variables
93101
run: |
94102
if [ "${{ github.event.release.prerelease }}" == "true" ]; then
95-
echo "CALLBACK_URL=${{ env.CALLBACK_URL_BETA }}" >> $GITHUB_ENV
103+
echo "CLOUD_CALLBACK_URL=${{ env.CLOUD_CALLBACK_URL_BETA }}" >> $GITHUB_ENV
96104
else
97-
echo "CALLBACK_URL=${{ env.CALLBACK_URL_STABLE }}" >> $GITHUB_ENV
105+
echo "CLOUD_CALLBACK_URL=${{ env.CLOUD_CALLBACK_URL_STABLE }}" >> $GITHUB_ENV
98106
fi
99107
100108
- name: Debug environment
101109
run: |
102110
echo "Update URL: ${{ env.UPDATE_URL }}"
103-
echo "Callback URL: ${{ env.CALLBACK_URL }}"
111+
echo "Callback URL: ${{ env.CLOUD_CALLBACK_URL }}"
104112
105113
- name: Build Website
106114
run: pnpm build
107115
env:
108116
VITE_SURREALIST_PREVIEW: "${{ github.event.release.prerelease }}"
109-
VITE_CLOUD_CLIENT_ID: "OuFa4OeeKveeRq1G6xIPgrl6EBUJtxLR"
110-
VITE_CLOUD_CALLBACK_URL: "${{ env.CALLBACK_URL }}"
111-
VITE_SCOUT_COPILOT_ID: ${{ secrets.VITE_SCOUT_COPILOT_ID }}
112-
VITE_SCOUT_WORKFLOW_ID: ${{ secrets.VITE_SCOUT_WORKFLOW_ID }}
117+
VITE_CLOUD_CLIENT_ID: ${{ env.CLOUD_CLIENT_ID }}
118+
VITE_CLOUD_CALLBACK_URL: ${{ env.CLOUD_CALLBACK_URL }}
119+
VITE_SCOUT_COPILOT_ID: ${{ env.SCOUT_COPILOT_ID }}
120+
VITE_SCOUT_WORKFLOW_ID: ${{ env.SCOUT_WORKFLOW_ID }}
113121

114122
- name: Configure AWS Credentials
115123
uses: aws-actions/configure-aws-credentials@v4

Diff for: package.json

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
22
"name": "surrealist",
33
"private": true,
4-
"version": "3.0.8",
4+
"version": "3.1.0",
55
"surreal": "2.0.0",
66
"type": "module",
7-
"authors": [
8-
"SurrealDB"
9-
],
7+
"authors": ["SurrealDB"],
108
"scripts": {
119
"build": "tsc && vite build",
1210
"dev": "vite",
@@ -49,10 +47,10 @@
4947
"@mantine/notifications": "^7.13.3",
5048
"@mdi/js": "^7.2.96",
5149
"@replit/codemirror-indentation-markers": "^6.5.0",
52-
"@surrealdb/codemirror": "1.0.0-beta.16",
53-
"@surrealdb/lezer": "1.0.0-beta.16",
54-
"@surrealdb/ql-wasm": "0.2.0-beta.7",
55-
"@surrealdb/wasm": "1.0.0",
50+
"@surrealdb/codemirror": "1.0.0-beta.17",
51+
"@surrealdb/lezer": "1.0.0-beta.17",
52+
"@surrealdb/ql-wasm": "0.2.0-beta.9",
53+
"@surrealdb/wasm": "1.1.0",
5654
"@tanstack/react-query": "^5.37.1",
5755
"@tauri-apps/api": "2.0.0-rc.4",
5856
"@tauri-apps/plugin-deep-link": "2.0.0-rc.1",
@@ -97,7 +95,7 @@
9795
"react-resizable-panels": "^2.1.4",
9896
"react-reverse-portal": "^2.1.1",
9997
"rss-parser": "^3.13.0",
100-
"surrealdb": "^1.0.4",
98+
"surrealdb": "^1.1.0",
10199
"use-immer": "^0.9.0",
102100
"valibot": "^0.42.1",
103101
"zustand": "^4.5.0"

0 commit comments

Comments
 (0)