Compare commits

..

14 Commits

Author SHA1 Message Date
Szilárd Dóró
925bf0f13f Merge pull request #1905 from nhost/changeset-release/main
chore: update versions
2023-05-08 13:51:55 +02:00
github-actions[bot]
30d35f9607 chore: update versions 2023-05-08 10:10:25 +00:00
Szilárd Dóró
755aa56f12 Merge pull request #1904 from nhost/fix/package-json-types
chore: add `types` to `package.json`
2023-05-08 12:09:11 +02:00
Szilárd Dóró
4c7e7c57a9 fix: don't break tests 2023-05-08 10:29:13 +02:00
Szilárd Dóró
36708e2853 Merge pull request #1903 from hrmoller/fix/wrong-linking-in-docs
Fixed linking to wrong destination in docs
2023-05-08 10:26:31 +02:00
Szilárd Dóró
90c6031189 chore: add types to package.json 2023-05-08 09:54:27 +02:00
Martin Møller
f044dbdb10 Fixed linking to wrong destination 2023-05-05 08:03:50 +02:00
Szilárd Dóró
c2f3bce5f9 Merge pull request #1902 from nhost/chore/probot-improvements
chore: refine probot config
2023-05-04 16:20:59 +02:00
Szilárd Dóró
22d9877b97 chore: update probot config 2023-05-04 16:04:09 +02:00
Szilárd Dóró
628e96dcc3 Merge pull request #1901 from nhost/chore/probot-stale
chore: add probot/stale configuration
2023-05-04 15:32:50 +02:00
Szilárd Dóró
3e9d3c42b6 fix: disable exemptLabels 2023-05-04 15:20:23 +02:00
Szilárd Dóró
a1e7b87c38 add probot/stale configuration 2023-05-04 15:08:37 +02:00
David Barroso
1bd800359e Merge pull request #1894 from nhost/dbarroso/obs-dash-improv
fix: observability: filter pod metrics
2023-05-03 12:59:07 +02:00
David Barroso
54a204a34e fix: observability: filter pod metrics 2023-05-03 10:09:27 +02:00
27 changed files with 188 additions and 32 deletions

16
.github/stale.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
# Configuration for probot-stale - https://github.com/probot/stale
daysUntilStale: 180
daysUntilClose: 7
limitPerRun: 30
onlyLabels: []
exemptLabels: []
exemptProjects: false
exemptMilestones: false
exemptAssignees: false
staleLabel: stale
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

View File

@@ -1,5 +1,13 @@
# @nhost/dashboard # @nhost/dashboard
## 0.16.3
### Patch Changes
- Updated dependencies [90c60311]
- @nhost/react-apollo@5.0.20
- @nhost/nextjs@1.13.22
## 0.16.2 ## 0.16.2
### Patch Changes ### Patch Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/dashboard", "name": "@nhost/dashboard",
"version": "0.16.2", "version": "0.16.3",
"private": true, "private": true,
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",

View File

@@ -244,7 +244,7 @@ test('should show a confirmation dialog when the form is submitted', async () =>
await user.click(screen.getByRole('button', { name: /confirm/i })); await user.click(screen.getByRole('button', { name: /confirm/i }));
await waitForElementToBeRemoved(() => screen.getByRole('dialog')); await waitForElementToBeRemoved(() => screen.queryByRole('dialog'));
expect( expect(
await screen.findByText(/resources have been updated successfully./i), await screen.findByText(/resources have been updated successfully./i),
@@ -304,7 +304,7 @@ test('should hide the pricing information when custom resource allocation is dis
await user.click(screen.getByRole('button', { name: /confirm/i })); await user.click(screen.getByRole('button', { name: /confirm/i }));
await waitForElementToBeRemoved(() => screen.getByRole('dialog')); await waitForElementToBeRemoved(() => screen.queryByRole('dialog'));
expect(screen.queryByText(/approximate cost:/i)).not.toBeInTheDocument(); expect(screen.queryByText(/approximate cost:/i)).not.toBeInTheDocument();
}); });

View File

@@ -95,16 +95,16 @@ function render<
}); });
} }
function waitForElementToBeRemoved<T>( async function waitForElementToBeRemoved<T>(
callback: T | (() => T), callback: T | (() => T),
options?: waitForOptions, options?: waitForOptions,
): Promise<void> { ): Promise<void> {
try { try {
return rtlWaitForElementToBeRemoved(callback, options); await rtlWaitForElementToBeRemoved(callback, options);
} catch { } catch {
// We shouldn't fail if the element was to be removed but it wasn't there in // We shouldn't fail if the element was to be removed but it wasn't there in
// the first place. // the first place.
return Promise.resolve(); await Promise.resolve();
} }
} }

View File

@@ -12,7 +12,7 @@ Nhost Authentication lets you authenticate users using different sign-in methods
- [Email and Password](/authentication/sign-in-with-email-and-password) - [Email and Password](/authentication/sign-in-with-email-and-password)
- [Magic Link](/authentication/sign-in-with-magic-link) - [Magic Link](/authentication/sign-in-with-magic-link)
- [Phone Number (SMS)](/authentication/sign-in-with-phone-number-sms) - [Phone Number (SMS)](/authentication/sign-in-with-phone-number-sms)
- [Security Keys (WebAuthn)](/authentication/sign-in-with-phone-number-sms) - [Security Keys (WebAuthn)](/authentication/sign-in-with-security-keys)
- [Apple](/authentication/sign-in-with-apple) - [Apple](/authentication/sign-in-with-apple)
- [Discord](/authentication/sign-in-with-discord) - [Discord](/authentication/sign-in-with-discord)
- [Facebook](/authentication/sign-in-with-facebook) - [Facebook](/authentication/sign-in-with-facebook)

View File

@@ -1,5 +1,13 @@
# @nhost/apollo # @nhost/apollo
## 5.2.4
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
- Updated dependencies [90c60311]
- @nhost/nhost-js@2.2.2
## 5.2.3 ## 5.2.3
### Patch Changes ### Patch Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/apollo", "name": "@nhost/apollo",
"version": "5.2.3", "version": "5.2.4",
"description": "Nhost Apollo Client library", "description": "Nhost Apollo Client library",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -33,6 +33,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"

View File

@@ -1,5 +1,14 @@
# @nhost/react-apollo # @nhost/react-apollo
## 5.0.20
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
- Updated dependencies [90c60311]
- @nhost/apollo@5.2.4
- @nhost/react@2.0.16
## 5.0.19 ## 5.0.19
### Patch Changes ### Patch Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/react-apollo", "name": "@nhost/react-apollo",
"version": "5.0.19", "version": "5.0.20",
"description": "Nhost React Apollo client", "description": "Nhost React Apollo client",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -34,6 +34,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"

View File

@@ -1,5 +1,13 @@
# @nhost/react-urql # @nhost/react-urql
## 2.0.17
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
- Updated dependencies [90c60311]
- @nhost/react@2.0.16
## 2.0.16 ## 2.0.16
### Patch Changes ### Patch Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/react-urql", "name": "@nhost/react-urql",
"version": "2.0.16", "version": "2.0.17",
"description": "Nhost React URQL client", "description": "Nhost React URQL client",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -32,6 +32,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"

View File

@@ -1,4 +1,41 @@
{ {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": { "annotations": {
"list": [ "list": [
{ {
@@ -188,7 +225,7 @@
"uid": "${DS_PROMETHEUS}" "uid": "${DS_PROMETHEUS}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum by(pod) (irate(container_cpu_usage_seconds_total[$__rate_interval])) * 1000", "expr": "sum by(pod) (irate(container_cpu_usage_seconds_total{container!~\"POD|\"}[$__rate_interval])) * 1000",
"interval": "2m", "interval": "2m",
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
@@ -282,7 +319,7 @@
"uid": "${DS_PROMETHEUS}" "uid": "${DS_PROMETHEUS}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum by(pod) (container_memory_usage_bytes)", "expr": "sum by (pod) (container_memory_usage_bytes{container!~\"POD|\"})",
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
@@ -377,7 +414,7 @@
"uid": "${DS_PROMETHEUS}" "uid": "${DS_PROMETHEUS}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum by(pod) (rate(container_cpu_cfs_throttled_seconds_total[$__rate_interval]))", "expr": "sum by(pod) (rate(container_cpu_cfs_throttled_seconds_total{container!~\"POD|\"}[$__rate_interval]))",
"hide": false, "hide": false,
"interval": "2m", "interval": "2m",
"legendFormat": "__auto", "legendFormat": "__auto",
@@ -474,7 +511,7 @@
"uid": "${DS_PROMETHEUS}" "uid": "${DS_PROMETHEUS}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum by(pod) (rate(container_cpu_cfs_throttled_periods_total[$__rate_interval]))/sum by(pod) (rate(container_cpu_cfs_periods_total[$__rate_interval]))", "expr": "sum by(pod) (rate(container_cpu_cfs_throttled_periods_total{container!~\"POD|\"}[$__rate_interval]))/sum by(pod) (rate(container_cpu_cfs_periods_total{container!~\"POD|\"}[$__rate_interval]))",
"hide": false, "hide": false,
"interval": "2m", "interval": "2m",
"legendFormat": "__auto", "legendFormat": "__auto",
@@ -864,7 +901,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@@ -968,7 +1006,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@@ -1088,7 +1127,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@@ -1193,7 +1233,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@@ -1312,7 +1353,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@@ -1417,7 +1459,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@@ -1536,7 +1579,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@@ -1641,7 +1685,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@@ -1729,13 +1774,13 @@
] ]
}, },
"time": { "time": {
"from": "now-5m", "from": "now-6h",
"to": "now" "to": "now"
}, },
"timepicker": {}, "timepicker": {},
"timezone": "", "timezone": "",
"title": "Project Metrics", "title": "Project Metrics",
"uid": "KCRbuGs4z", "uid": "KCRbuGs4z",
"version": 25, "version": 1,
"weekStart": "" "weekStart": ""
} }

View File

@@ -1,5 +1,11 @@
# @nhost/graphql-js # @nhost/graphql-js
## 0.1.1
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
## 0.1.0 ## 0.1.0
### Minor Changes ### Minor Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/graphql-js", "name": "@nhost/graphql-js",
"version": "0.1.0", "version": "0.1.1",
"description": "Nhost GraphQL client", "description": "Nhost GraphQL client",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -27,6 +27,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"

View File

@@ -1,5 +1,11 @@
# @nhost/hasura-auth-js # @nhost/hasura-auth-js
## 2.1.1
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
## 2.1.0 ## 2.1.0
### Minor Changes ### Minor Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/hasura-auth-js", "name": "@nhost/hasura-auth-js",
"version": "2.1.0", "version": "2.1.1",
"description": "Hasura-auth client", "description": "Hasura-auth client",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -31,6 +31,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"

View File

@@ -1,5 +1,11 @@
# @nhost/hasura-storage-js # @nhost/hasura-storage-js
## 2.1.1
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
## 2.1.0 ## 2.1.0
### Minor Changes ### Minor Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/hasura-storage-js", "name": "@nhost/hasura-storage-js",
"version": "2.1.0", "version": "2.1.1",
"description": "Hasura-storage client", "description": "Hasura-storage client",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -29,6 +29,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"

View File

@@ -1,5 +1,13 @@
# @nhost/nextjs # @nhost/nextjs
## 1.13.22
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
- Updated dependencies [90c60311]
- @nhost/react@2.0.16
## 1.13.21 ## 1.13.21
### Patch Changes ### Patch Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/nextjs", "name": "@nhost/nextjs",
"version": "1.13.21", "version": "1.13.22",
"description": "Nhost NextJS library", "description": "Nhost NextJS library",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -35,6 +35,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"

View File

@@ -1,5 +1,15 @@
# @nhost/nhost-js # @nhost/nhost-js
## 2.2.2
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
- Updated dependencies [90c60311]
- @nhost/graphql-js@0.1.1
- @nhost/hasura-auth-js@2.1.1
- @nhost/hasura-storage-js@2.1.1
## 2.2.1 ## 2.2.1
### Patch Changes ### Patch Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/nhost-js", "name": "@nhost/nhost-js",
"version": "2.2.1", "version": "2.2.2",
"description": "Nhost JavaScript SDK", "description": "Nhost JavaScript SDK",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -32,6 +32,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"

View File

@@ -1,5 +1,13 @@
# @nhost/react # @nhost/react
## 2.0.16
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
- Updated dependencies [90c60311]
- @nhost/nhost-js@2.2.2
## 2.0.15 ## 2.0.15
### Patch Changes ### Patch Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/react", "name": "@nhost/react",
"version": "2.0.15", "version": "2.0.16",
"description": "Nhost React library", "description": "Nhost React library",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -33,6 +33,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"

View File

@@ -1,5 +1,13 @@
# @nhost/vue # @nhost/vue
## 1.13.22
### Patch Changes
- 90c60311: chore(deps): add `types` to `package.json`
- Updated dependencies [90c60311]
- @nhost/nhost-js@2.2.2
## 1.13.21 ## 1.13.21
### Patch Changes ### Patch Changes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@nhost/vue", "name": "@nhost/vue",
"version": "1.13.21", "version": "1.13.22",
"description": "Nhost Vue library", "description": "Nhost Vue library",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@@ -33,6 +33,7 @@
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"types": "./dist/index.d.ts",
"import": { "import": {
"node": "./dist/index.cjs.js", "node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js" "default": "./dist/index.esm.js"