github-actions[bot]
2e3357b7a3
chore: update versions ( #3143 )
...
This PR was opened by the [Changesets
release](https://github.com/changesets/action ) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @nhost/hasura-storage-js@2.7.0
### Minor Changes
- 5c6ff6e : fix: correct StorageErrorPayload TypeScript typing
## @nhost/apollo@8.0.4
### Patch Changes
- @nhost/nhost-js@3.2.4
## @nhost/react-apollo@16.0.1
### Patch Changes
- @nhost/apollo@8.0.4
- @nhost/react@3.9.1
## @nhost/react-urql@13.0.1
### Patch Changes
- @nhost/react@3.9.1
## @nhost/nextjs@2.2.2
### Patch Changes
- @nhost/react@3.9.1
## @nhost/nhost-js@3.2.4
### Patch Changes
- Updated dependencies [5c6ff6e ]
- @nhost/hasura-storage-js@2.7.0
## @nhost/react@3.9.1
### Patch Changes
- @nhost/nhost-js@3.2.4
## @nhost/vue@2.9.1
### Patch Changes
- @nhost/nhost-js@3.2.4
## @nhost/dashboard@2.16 .0
### Minor Changes
- f8e6b61 : fix: can add rule groups in table permissions
- 9e404c8 : fix: not redirect to 404 page if using local Nhost backend
- ac4aa01 : fix: can delete column in database page
- 4385524 : fix: update url to check service health in local dashboard
### Patch Changes
- @nhost/react-apollo@16.0.1
- @nhost/nextjs@2.2.2
## @nhost/docs@2.27 .0
### Minor Changes
- 81cc9b3 : chore: add missing images to permissions API
### Patch Changes
- af34015 : chore: add note about encryption at rest
- 1956ed2 : chore: added pgmq extension to postgres docs
- 88919a3 : chore: added support for nodejs22 to functions
## @nhost-examples/cli@0.3.17
### Patch Changes
- @nhost/nhost-js@3.2.4
## @nhost-examples/codegen-react-apollo@0.4.18
### Patch Changes
- @nhost/react@3.9.1
- @nhost/react-apollo@16.0.1
## @nhost-examples/codegen-react-query@0.4.18
### Patch Changes
- @nhost/react@3.9.1
## @nhost-examples/codegen-react-urql@0.3.18
### Patch Changes
- @nhost/react@3.9.1
- @nhost/react-urql@13.0.1
## @nhost-examples/multi-tenant-one-to-many@2.2.18
### Patch Changes
- @nhost/nhost-js@3.2.4
## @nhost-examples/nextjs@0.4.2
### Patch Changes
- @nhost/react@3.9.1
- @nhost/react-apollo@16.0.1
- @nhost/nextjs@2.2.2
## @nhost-examples/node-storage@0.2.17
### Patch Changes
- @nhost/nhost-js@3.2.4
## @nhost-examples/nextjs-server-components@0.5.2
### Patch Changes
- @nhost/nhost-js@3.2.4
## @nhost-examples/react-apollo@1.2.1
### Patch Changes
- @nhost/react@3.9.1
- @nhost/react-apollo@16.0.1
## @nhost-examples/react-gqty@1.2.18
### Patch Changes
- @nhost/react@3.9.1
## @nhost-examples/react-native@0.1.3
### Patch Changes
- @nhost/react@3.9.1
- @nhost/react-apollo@16.0.1
## @nhost-examples/vue-apollo@0.8.1
### Patch Changes
- @nhost/nhost-js@3.2.4
- @nhost/apollo@8.0.4
- @nhost/vue@2.9.1
## @nhost-examples/vue-quickstart@0.2.18
### Patch Changes
- @nhost/apollo@8.0.4
- @nhost/vue@2.9.1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-27 13:08:19 +01:00
David BM
4385524311
fix (dashboard): update url to check service health in local dashboard ( #3158 )
...
### **PR Type**
Bug fix, Enhancement
___
### **Description**
- Update health check URL from '/healthz' to '/v1/version'
- Change service from 'auth' to 'hasura' for app URL
- Modify query key to match new endpoint
- Remove duplicate hook file
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>useIsHealthy.ts</strong><dd><code>Update health check
endpoint and service</code>
</dd></summary>
<hr>
dashboard/src/features/orgs/projects/common/hooks/useIsHealthy/useIsHealthy.ts
<li>Changed app URL service from 'auth' to 'hasura'<br> <li> Updated
health check endpoint from '/healthz' to '/v1/version'<br> <li> Modified
query key to match new endpoint
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3158/files#diff-5f0ffe37ca49246b38abbc68922f0e0c7f8d66db14ebdf1ddfe56591b887031e ">+3/-3</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Miscellaneous</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>index.ts</strong><dd><code>No changes to index
file</code>
</dd></summary>
<hr>
dashboard/src/features/projects/common/hooks/useIsHealthy/index.ts
- No changes made to file content
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3158/files#diff-6b35637f9eb2bf76cd5a6c3b94557a9a96a65c9f445fdb6374e843922803b357 ">+0/-1</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>useIsHealthy.ts</strong><dd><code>Remove duplicate
useIsHealthy hook</code>
</dd></summary>
<hr>
dashboard/src/features/projects/common/hooks/useIsHealthy/useIsHealthy.ts
- Removed entire file content
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3158/files#diff-4803f83d063ff897b658a3afa833f068ee4d1d1b9457ff89f02b8c8bf11525a0 ">+0/-31</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>two-llamas-arrive.md</strong><dd><code>Add changeset
for dashboard package update</code>
</dd></summary>
<hr>
.changeset/two-llamas-arrive.md
<li>Added changeset file for '@nhost/dashboard' package<br> <li>
Described fix for service health check URL
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3158/files#diff-39aa63faa20d127004027c60151017938e7096a28ac7f747ab78d294436528e9 ">+5/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-01-24 13:45:11 -05:00
David BM
9e404c8fc9
fix (dashboard): not redirect to 404 page if using local Nhost backend ( #3159 )
...
### **PR Type**
Bug fix, Enhancement
___
### **Description**
- Fix 404 redirect for local Nhost backend
- Improve useNotFoundRedirect hook functionality
- Add isPlatform check for conditional routing
- Update documentation for useNotFoundRedirect hook
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>useNotFoundRedirect.ts</strong><dd><code>Enhance
useNotFoundRedirect hook for local backend support</code></dd></summary>
<hr>
dashboard/src/features/projects/common/hooks/useNotFoundRedirect/useNotFoundRedirect.ts
<li>Added isPlatform check to prevent 404 redirect for local backend<br>
<li> Updated useNotFoundRedirect hook documentation<br> <li> Imported
useIsPlatform hook and added it to dependencies<br> <li> Modified
conditional logic for pathname validation
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3159/files#diff-837279cf43199053bca09913f62c4af019063a2e8dc7bfb7643ec54b7cecd29d ">+8/-1</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>olive-camels-laugh.md</strong><dd><code>Add changeset
for dashboard version update</code>
</dd></summary>
<hr>
.changeset/olive-camels-laugh.md
<li>Added changeset file for version bump<br> <li> Described fix for 404
redirect issue
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3159/files#diff-ad8a4a986988ba4c5a677e9d0b757bd2ef71b86c5dadf83451bb953bc4d35c32 ">+5/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-01-24 13:22:49 -05:00
David BM
f8e6b615dd
fix (dashboard): postgres add rule group in table permissions ( #3157 )
...
### **User description**
Fixes #3156
___
### **PR Type**
Bug fix
___
### **Description**
- Fixed issue with adding rule groups in table permissions
- Updated validation schema for rule group operator
- Replaced useCurrentWorkspaceAndProject with useProject hook
- Added changeset for the bug fix
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>validationSchemas.ts</strong><dd><code>Simplify rule
group operator validation</code>
</dd></summary>
<hr>
dashboard/src/features/orgs/projects/database/dataGrid/components/EditPermissionsForm/validationSchemas.ts
<li>Simplified operator validation in ruleGroupSchema<br> <li> Removed
complex test function for operator<br> <li> Made operator field required
with error message
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3157/files#diff-98f990165c3aca93bc01808ac0dcbde7b347ad2fd86fe52311d306a2fb3aaf0f ">+1/-15</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>RuleGroupEditor.tsx</strong><dd><code>Update hooks and
imports in RuleGroupEditor</code>
</dd></summary>
<hr>
dashboard/src/features/orgs/projects/database/dataGrid/components/RuleGroupEditor/RuleGroupEditor.tsx
<li>Replaced useCurrentWorkspaceAndProject with useProject hook<br> <li>
Updated import for generateAppServiceUrl<br> <li> Adjusted references
from currentProject to project
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3157/files#diff-967b5885eecb27e94308f351d7e1e9f563b8e1f593ac9cfec9efc7d155604ef4 ">+6/-6</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>lovely-moose-study.md</strong><dd><code>Add changeset
for table permissions fix</code>
</dd></summary>
<hr>
.changeset/lovely-moose-study.md
<li>Added changeset file for the bug fix<br> <li> Specified minor
version bump for @nhost/dashboard
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3157/files#diff-971dc0fcd0c4c7454432ac76485b57a4c0c22aefde092042b93a12f871004cc7 ">+5/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-01-24 08:41:20 -05:00
David BM
ac4aa01ec9
fix (dashboard): can delete column in database page ( #3153 )
...
### **User description**
FIxes #3151
___
### **PR Type**
Bug fix
___
### **Description**
- Fixed column deletion in database page
- Updated imports for project and platform hooks
- Replaced currentProject with project in useDeleteColumnMutation
- Added changeset for minor version bump
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>useDeleteColumnMutation.ts</strong><dd><code>Update
project-related imports and references</code>
</dd></summary>
<hr>
dashboard/src/features/orgs/projects/database/dataGrid/hooks/useDeleteColumnMutation/useDeleteColumnMutation.ts
<li>Updated imports for useIsPlatform and useProject<br> <li> Replaced
useCurrentWorkspaceAndProject with useProject<br> <li> Changed
currentProject references to project<br> <li> Updated appUrl and
adminSecret generation
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3153/files#diff-eff2d2bcd4fa70a1ca2cfdc3ac5960d1a9ed27fe29d42b8baf31f8f74f0308fa ">+6/-6</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>two-dodos-jam.md</strong><dd><code>Add changeset for
minor version bump</code>
</dd></summary>
<hr>
.changeset/two-dodos-jam.md
<li>Added new changeset file<br> <li> Specified minor version bump for
@nhost/dashboard<br> <li> Included fix description for column deletion
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3153/files#diff-414e28820562fea42077c94888f756df4b476a3427210e15388bf74a3ad60626 ">+5/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-01-23 13:23:13 -05:00
robertkasza
e515e71c8b
chore: upgrade nodejs and pnpm version in nix config ( #3152 )
...
### **PR Type**
Enhancement
___
### **Description**
- Upgrade Node.js from v18 to v20
- Update PNPM from nodePackages.pnpm to pnpm_9
- Modify nix configuration files for dependencies
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>flake.nix</strong><dd><code>Update PNPM version in
build inputs and dev shells</code>
</dd></summary>
<hr>
flake.nix
<li>Replace <code>nodePackages.pnpm</code> with <code>pnpm_9</code> in
nativeBuildInputs<br> <li> Update devShells to use <code>pnpm_9</code>
instead of <code>nodePackages.pnpm</code>
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3152/files#diff-206b9ce276ab5971a2489d75eb1b12999d4bf3843b7988cbe8d687cfde61dea0 ">+2/-2</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>overlay.nix</strong><dd><code>Upgrade Node.js version
in Nix overlay</code>
</dd></summary>
<hr>
nix/overlay.nix
- Upgrade Node.js from `nodejs-18_x` to `nodejs_20`
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3152/files#diff-0f31c68216d617b465827b69d5b5cd4c2c0c4489008cd14ee0e88b9887d15295 ">+1/-1</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/ ">documentation</a>
for more information.</li></details>
2025-01-23 15:04:31 +01:00
David BM
1246e0024a
chore: update actions/upload-artifact to v4 ( #3138 )
...
### **PR Type**
Enhancement
___
### **Description**
- Update actions/upload-artifact from v3 to v4
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Dependencies</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>ci.yaml</strong><dd><code>Upgrade
actions/upload-artifact to latest version</code>
</dd></summary>
<hr>
.github/workflows/ci.yaml
- Updated actions/upload-artifact from v3 to v4
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3138/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd ">+1/-1</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-22 12:02:31 -05:00
David BM
81cc9b3810
chore (docs): add missing images in permissions API ( #3144 )
...
### **PR Type**
Documentation
___
### **Description**
- Update image paths in permissions API documentation
- Add changeset for minor version bump
- Improve readability of permissions guide
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>five-panthers-swim.md</strong><dd><code>Add changeset
for minor docs update</code>
</dd></summary>
<hr>
.changeset/five-panthers-swim.md
<li>Add new changeset file for minor version bump<br> <li> Specify
changes for '@nhost/docs' package
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3144/files#diff-a76858e46dea9ebae6098831a0aec8e523d11a03fa306867e5e865c9e0825317 ">+5/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>permissions.mdx</strong><dd><code>Update image paths in
permissions guide</code>
</dd></summary>
<hr>
docs/guides/api/permissions.mdx
<li>Update image paths for insert and select permissions<br> <li>
Replace '/img/graphql/permissions/' with '/images/guides/graphql/'
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3144/files#diff-7f5a067d373275df87600734dd9be5e8b8287e105eb1159ea6e6503760c48758 ">+2/-2</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-20 06:41:58 -05:00
David BM
5c6ff6efc8
fix (dashboard): correct StorageErrorPayload TypeScript typing ( #3137 )
...
### **User description**
Resolves #2440
___
### **PR Type**
Bug fix
___
### **Description**
- Corrected StorageErrorPayload TypeScript typing
- Refactored error handling in file upload
- Improved consistency of error object structure
- Added changeset for version bump
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>upload.ts</strong><dd><code>Refactor error handling in
file upload</code>
</dd></summary>
<hr>
packages/hasura-storage-js/src/utils/upload.ts
<li>Refactored error handling in <code>fetchUpload</code> function<br>
<li> Created consistent <code>StorageErrorPayload</code> object<br> <li>
Updated error object structure in both success and error callbacks<br>
<li> Improved type safety and error message handling
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3137/files#diff-806cf228c0fefb0c00e2b79108f101e2a26776c19578512ffc3d47ecafe59a5a ">+12/-6</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>wet-pants-promise.md</strong><dd><code>Add changeset
for StorageErrorPayload fix</code>
</dd></summary>
<hr>
.changeset/wet-pants-promise.md
<li>Added new changeset file<br> <li> Specified minor version bump for
'@nhost/hasura-storage-js'<br> <li> Described fix for
StorageErrorPayload TypeScript typing
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3137/files#diff-db6f7027a4f2f3488291bc300959e7ba746107dbac4ac36aed6872d84d9039e9 ">+5/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-20 06:40:50 -05:00
David Barroso
1956ed23f8
chore (docs): added pgmq extension to postgres docs ( #3141 )
...
Fixes #3131
### **PR Type**
Enhancement, Documentation
___
### **Description**
- Added pgmq extension to Postgres docs
- Updated extensions table with pgmq details
- Included pgmq installation and uninstallation instructions
- Added GitHub resource link for pgmq
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>cyan-suits-provide.md</strong><dd><code>Add changeset
for pgmq documentation update</code>
</dd></summary>
<hr>
.changeset/cyan-suits-provide.md
<li>Added changeset file for documentation update<br> <li> Specified
patch version bump for @nhost/docs
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3141/files#diff-095ba28122143c14a0023664e3a3329a375d6707e4269e55f52a74579a62626b ">+5/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>extensions.mdx</strong><dd><code>Add pgmq extension
details and instructions</code>
</dd></summary>
<hr>
docs/guides/database/extensions.mdx
<li>Added pgmq to the extensions table<br> <li> Included detailed
section on pgmq extension<br> <li> Provided installation and
uninstallation SQL commands<br> <li> Added GitHub resource link for pgmq
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3141/files#diff-7a41fa45d84db83a8c01a76ddb42ad614022ad94a4c3a6aa321f5b9a5300da8c ">+25/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-17 14:48:28 +01:00
David Barroso
af34015dbe
chore (docs): add note about encryption at rest ( #3142 )
...
### **PR Type**
Enhancement, Documentation
___
### **Description**
- Add note about encryption at rest
- Explain encryption for storage, database, and Run services
- Provide warning about volume encryption status
- Include instructions for enabling encryption on older volumes
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>brown-suits-drive.md</strong><dd><code>Add changeset
for encryption at rest documentation</code>
</dd></summary>
<hr>
.changeset/brown-suits-drive.md
<li>Add changeset file for documentation update<br> <li> Specify patch
version bump for '@nhost/docs'
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3142/files#diff-add5ec98201f95f09ef7c82ebcb4ec409bfe3960d22b4560b56208915900952b ">+5/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>compute-resources.mdx</strong><dd><code>Add Encryption
at Rest section to compute resources documentation</code></dd></summary>
<hr>
docs/platform/compute-resources.mdx
<li>Add new section on Encryption at Rest<br> <li> Explain encryption
for storage, database, and Run services<br> <li> Include warning about
volume encryption status<br> <li> Provide instructions for enabling
encryption on older volumes
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3142/files#diff-29f75c751db0e116dad1013260a350ba0105f5b2ef169bc0988d9aeb2803a562 ">+8/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-17 14:46:38 +01:00
David Barroso
88919a3d99
chore (docs): added support for nodejs22 to functions ( #3140 )
...
### **PR Type**
Enhancement, Documentation
___
### **Description**
- Added support for Node.js 22 runtime in functions
- Updated documentation to include Node.js 22 option
- Added changeset for patch version bump
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>forty-keys-buy.md</strong><dd><code>Add changeset for
Node.js 22 support</code>
</dd></summary>
<hr>
.changeset/forty-keys-buy.md
<li>Added new changeset file for patch version bump<br> <li> Specified
'@nhost/docs' package for the change
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3140/files#diff-f573bb9880670e36ff15c1e9ce6cd5c5186c3aef5eeb88f691af2ab0df09ae94 ">+5/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>runtimes.mdx</strong><dd><code>Update documentation
with Node.js 22 runtime support</code>
</dd></summary>
<hr>
docs/guides/functions/runtimes.mdx
<li>Added Node.js 22 to the list of supported runtimes<br> <li> Included
configuration example for Node.js 22 in <code>nhost.toml</code>
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3140/files#diff-b028de07c3232c8aed96f6e73b38ec996daa13e250beab1009cdda95df5091c7 ">+9/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-17 14:46:26 +01:00
github-actions[bot]
ab26a57d05
chore: update versions ( #3134 )
...
This PR was opened by the [Changesets
release](https://github.com/changesets/action ) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @nhost/dashboard@2.15 .0
### Minor Changes
- f1052a8 : fix: improve stability of the dashboard when pausing projects
- 30daa41 : fix: update links to docs in overview page
- 7537237 : feat: add image preview toggle in storage
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-16 08:24:00 -05:00
David BM
f1052a8826
fix (dashboard): undefined is not an object issue with paused projects ( #3136 )
...
### **User description**
Fixes #3127
___
### **PR Type**
Bug fix, Enhancement
___
### **Description**
- Fix undefined errors in paused projects
- Improve loading states across components
- Handle project and org loading separately
- Update project.id usage for consistency
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><details><summary>1 files</summary><table>
<tr>
<td><strong>SubscriptionPlan.tsx</strong><dd><code>Fix undefined error
in org plan handling</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-2a5f070869055286b669e382b18d656935752803b9a1ef13390ac028c2a48ac4 ">+3/-3</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Enhancement</strong></td><td><details><summary>13
files</summary><table>
<tr>
<td><strong>TransferProjectDialog.tsx</strong><dd><code>Add loading
state for project and orgs</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-b68d4641a67e07a8bf8c14e1f705059c564e1bca53e591783581af27a488d86e ">+7/-2</a>
</td>
</tr>
<tr>
<td><strong>AISettings.tsx</strong><dd><code>Improve loading handling in
AI settings</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-6ec092fc4af4c9acd11edb4ae69ff6ad6e8e984c761148836c9fde8daaa6e9a4 ">+12/-11</a>
</td>
</tr>
<tr>
<td><strong>AppLoader.tsx</strong><dd><code>Add loading screen for
project data</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-fdef910b2c808595c77cb3c0ae573db3ff57cdb4a8161db2e36e86ec548b9b6f ">+18/-13</a>
</td>
</tr>
<tr>
<td><strong>AuthDomain.tsx</strong><dd><code>Handle project loading in
Auth Domain</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-4b8e1e15fc7df8fe284298d5ab47dbc3f554888f98e39f84c4ac995f35c10c86 ">+8/-4</a>
</td>
</tr>
<tr>
<td><strong>HasuraDomain.tsx</strong><dd><code>Add project loading check
in Hasura Domain</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-334177cc61035493cfca775de96635b58d98a28856067048dcfba6cd7f255978 ">+8/-4</a>
</td>
</tr>
<tr>
<td><strong>ServerlessFunctionsDomain.tsx</strong><dd><code>Include
project loading in Serverless Functions Domain</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-e7cf7b49535f816a9c2c60cf1f8b975036bd6a988e4295529e999075d72044ef ">+8/-4</a>
</td>
</tr>
<tr>
<td><strong>MetricsSettings.tsx</strong><dd><code>Improve loading state
in Metrics Settings</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-957bb404fee8d18aa45af9e878837d311b69d9805ac16fe8d2c0e9d3b431e906 ">+15/-6</a>
</td>
</tr>
<tr>
<td><strong>backups.tsx</strong><dd><code>Refactor Backups page for
better loading</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-11c24d569a8109344819d2cc9ce6ffbcf3b75abfba604e299c01289690d322f9 ">+8/-8</a>
</td>
</tr>
<tr>
<td><strong>authentication.tsx</strong><dd><code>Enhance loading logic
in Authentication Settings</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-d7d59ce72b8bf8a15db18d8dd5132db73cd00c6f99dd1cf58bc2eca676ea1e23 ">+3/-3</a>
</td>
</tr>
<tr>
<td><strong>custom-domains.tsx</strong><dd><code>Add loading indicator
for Custom Domains</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-e35b13396a4aa0b96e35dd7a0b1a27d188c0d45fe20cbda99e2fd59b83da5574 ">+6/-1</a>
</td>
</tr>
<tr>
<td><strong>database.tsx</strong><dd><code>Improve loading state in
Database Settings</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-00045ae38a73178045bcda39c80a03a0cb46413641586896a628c3a2a22c7855 ">+3/-3</a>
</td>
</tr>
<tr>
<td><strong>index.tsx</strong><dd><code>Enhance loading and form reset
in Settings</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-b4185be97a505e25badcdefe31ea86fa9d69f72264c4bb35eae17fba936a3d47 ">+11/-3</a>
</td>
</tr>
<tr>
<td><strong>metrics.tsx</strong><dd><code>Refactor Metrics Settings page
loading</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-f1cb73960dad3c0714aa08f92457282533feaa9b97b1c4f8cac572244a9e070c ">+11/-15</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Formatting</strong></td><td><details><summary>1
files</summary><table>
<tr>
<td><strong>LogsHeader.tsx</strong><dd><code>Minor formatting changes in
Logs Header</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-ebb3285aa776c9c5ea8b72672c4aafd55994c6c694998bbf56ca9c56d1e77664 ">+10/-10</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Documentation</strong></td><td><details><summary>1
files</summary><table>
<tr>
<td><strong>angry-zoos-learn.md</strong><dd><code>Add changeset for
dashboard stability improvements</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3136/files#diff-5ada479d7003769072ae842fdcc5555f7b336466da44dfce5f841b2698382cbc ">+5/-0</a>
</td>
</tr>
</table></details></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-15 18:02:09 -05:00
David BM
30daa4146e
fix (dashboard): update links to docs in overview ( #3135 )
...
### **PR Type**
Bug fix, Documentation
___
### **Description**
- Update documentation links in project overview page
- Change 'platform' to 'product' in doc URLs
- Modify links for Database, GraphQL API, Authentication, Storage
- Add changeset for version tracking
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>features.tsx</strong><dd><code>Update documentation
links in features array</code>
</dd></summary>
<hr>
dashboard/src/features/orgs/projects/overview/features/features.tsx
<li>Updated documentation links for Database, GraphQL API,
Authentication, <br>and Storage features<br> <li> Changed URL path from
'platform' to 'product' in all links
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3135/files#diff-036778e07a1cdf33b7d90d8110f75338f8cd6870cc68bb75cff0c880318cd92d ">+4/-4</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>early-lobsters-grow.md</strong><dd><code>Add changeset
for documentation link updates</code>
</dd></summary>
<hr>
.changeset/early-lobsters-grow.md
<li>Added new changeset file for version tracking<br> <li> Specified
minor version bump for '@nhost/dashboard'<br> <li> Included description
of the fix
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3135/files#diff-06d3f7109478411e023920db9ff7831442d2ee56c29a2b6c3f43bb08bcc41790 ">+5/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-13 11:08:08 -05:00
David BM
7537237465
feat (dashboard): image preview toggle in storage ( #3122 )
...
### **User description**
Resolves #2814
___
### **PR Type**
Enhancement
___
### **Description**
- Add image preview toggle in storage
- Implement preview header with switch control
- Refactor data grid components and imports
- Update file preview functionality
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>21
files</summary><table>
<tr>
<td><strong>DataBrowserGridControls.tsx</strong><dd><code>Update import
paths for data grid components</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-640ce3e15c8d5f35d8bbe74792c59493afe5bc69873d2a40f81233da2b02661c ">+6/-6</a>
</td>
</tr>
<tr>
<td><strong>DataGrid.tsx</strong><dd><code>Refactor import paths for
data grid components</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-3bc6476aed14d8e4f26134fa452d22c41b6d3ecb0989871a8a99230a82496474 ">+8/-8</a>
</td>
</tr>
<tr>
<td><strong>DataGridBody.tsx</strong><dd><code>Update import paths for
data grid components</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-e5cdb81b2c99dbd7b9a669a63ed503f6964e9c0bc91ca2c0e61df5334eaa7a1b ">+4/-4</a>
</td>
</tr>
<tr>
<td><strong>DataGridBooleanCell.tsx</strong><dd><code>Update import
paths for data grid components</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-b700eacab9c73b147e248ce58d47a208c1e499124a20444efd73db7ecb68505f ">+3/-3</a>
</td>
</tr>
<tr>
<td><strong>DataGridCell.tsx</strong><dd><code>Update import path for
DataBrowserGridCell type</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-0049e6acaddf9f9b60fe43a1fbb2657564bd019e690d0361aae39f44a03adaa2 ">+1/-1</a>
</td>
</tr>
<tr>
<td><strong>DataGridConfigContext.ts</strong><dd><code>Update import
path for UseDataGridReturn type</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-597368f6e75d76d9a5956f816eaa8c82177b49e1e0d20c027fd85bef81347786 ">+1/-1</a>
</td>
</tr>
<tr>
<td><strong>DataGridConfigProvider.tsx</strong><dd><code>Update import
path for UseDataGridReturn type</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-ec52aa04de1bfb16370e811e294efdb3389ee929c2f75f90981933e89ea26a5d ">+1/-1</a>
</td>
</tr>
<tr>
<td><strong>useDataGridConfig.ts</strong><dd><code>Update import path
for UseDataGridReturn type</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-dee956f638a871543fef38fc6b35f2f5e0e7dfcc449b61377d2c5613f24f13d4 ">+1/-1</a>
</td>
</tr>
<tr>
<td><strong>DataGridDateCell.tsx</strong><dd><code>Update import paths
for data grid components</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-95e5b8780946ddb0c020be73a0646e7627c90ea7cc63a408346a434d1f12938e ">+2/-2</a>
</td>
</tr>
<tr>
<td><strong>DataGridDecimalCell.tsx</strong><dd><code>Update import
paths for data grid components</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-9ad38d4c8a67f8daf6020b9782cb1d7a4933e2901b4937a597a2c19c2367d7d0 ">+2/-2</a>
</td>
</tr>
<tr>
<td><strong>DataGridFrame.tsx</strong><dd><code>Update import path for
useDataGridConfig hook</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-d4b27ea795d9008758b8eb7d54d4f4f982cf19818a8bde118afe1c46e12088bc ">+1/-1</a>
</td>
</tr>
<tr>
<td><strong>DataGridHeader.tsx</strong><dd><code>Refactor DataGridHeader
component and add DataGridHeaderButton</code></dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-3f5f16ea95a730255a07806c96b55fd4946c92eebcb869cdf83ad92bfe034b4c ">+10/-51</a>
</td>
</tr>
<tr>
<td><strong>DataGridHeaderButton.tsx</strong><dd><code>Add new
DataGridHeaderButton component</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-4e9624559165361950af94e0775337d6937c300e4184106f08975e9b324c3010 ">+77/-0</a>
</td>
</tr>
<tr>
<td><strong>index.ts</strong><dd><code>Add index file for
DataGridHeaderButton component</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-1afcdd509c37753c21ff73cc4d1c63d2f8ed30a7e629a676b48d60c6c2fe0fb8 ">+1/-0</a>
</td>
</tr>
<tr>
<td><strong>DataGridIntegerCell.tsx</strong><dd><code>Update import
paths for data grid components</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-9db68b16a44a34c57b847023c1dd2f74e486b0a028f84fcc0cc1f29e0ff38f0d ">+4/-2</a>
</td>
</tr>
<tr>
<td><strong>DataGridPreviewCell.tsx</strong><dd><code>Implement preview
toggle functionality in DataGridPreviewCell</code></dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-d7bffe5896d2c9bac505fa9675790c59549d4fb35a2ad0cce903cc0aa31a8321 ">+15/-4</a>
</td>
</tr>
<tr>
<td><strong>DataGridTextCell.tsx</strong><dd><code>Update import paths
for data grid components</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-d1ed74fe8eb7a61053dfe908966311e13915ad2127ee107b62f725d6c5282492 ">+4/-2</a>
</td>
</tr>
<tr>
<td><strong>FilesDataGrid.tsx</strong><dd><code>Add PreviewHeader
component to FilesDataGrid</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-18c8df727e1a4fc6a94d03bd4a3a7a8cb3ad44d754803c4c7988c1c00a4b7caf ">+5/-3</a>
</td>
</tr>
<tr>
<td><strong>FilesDataGridControls.tsx</strong><dd><code>Update import
paths for data grid components</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-b85b40168e9c149331a68cb1a0cbec570c75233fa34385945e094b8f4c032974 ">+3/-3</a>
</td>
</tr>
<tr>
<td><strong>PreviewHeader.tsx</strong><dd><code>Add new PreviewHeader
component with toggle switch</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-a435cd33ed8c3cd8cfde506860a5e4d2f84605548292bc0d92b63b55d664ddca ">+23/-0</a>
</td>
</tr>
<tr>
<td><strong>index.ts</strong><dd><code>Add index file for PreviewHeader
component</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-18b97d53e328ea33285d6a209f6d535a93d3fde2bcae2c21c59014807f7d0e7a ">+1/-0</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Documentation</strong></td><td><details><summary>1
files</summary><table>
<tr>
<td><strong>twelve-llamas-tap.md</strong><dd><code>Add changeset for
image preview toggle feature</code>
</dd></td>
<td><a
href="https://github.com/nhost/nhost/pull/3122/files#diff-275dd9152aa4b1730808a63caaf49742e808c7b53b67b5505b828e6210c83c52 ">+5/-0</a>
</td>
</tr>
</table></details></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-13 07:11:39 -05:00
github-actions[bot]
76e77da5de
chore: update versions ( #3124 )
...
This PR was opened by the [Changesets
release](https://github.com/changesets/action ) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @nhost/hasura-auth-js@2.10 .0
### Minor Changes
- 04d2ce1 : feat: add signin security key with user handle
### Patch Changes
- 44c1e17 : chore: update `msw` to v1.3.5 to fix vulnerabilities
## @nhost/react@3.9.0
### Minor Changes
- 04d2ce1 : feat: add signin security key with user handle
### Patch Changes
- @nhost/nhost-js@3.2.3
## @nhost/vue@2.9.0
### Minor Changes
- 04d2ce1 : feat: add signin security key with user handle
### Patch Changes
- @nhost/nhost-js@3.2.3
## @nhost/apollo@8.0.3
### Patch Changes
- @nhost/nhost-js@3.2.3
## @nhost/react-apollo@16.0.0
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
- @nhost/apollo@8.0.3
## @nhost/react-urql@13.0.0
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
## @nhost/nextjs@2.2.1
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
## @nhost/nhost-js@3.2.3
### Patch Changes
- Updated dependencies [44c1e17 ]
- Updated dependencies [04d2ce1 ]
- @nhost/hasura-auth-js@2.10 .0
## @nhost/dashboard@2.14 .0
### Minor Changes
- d43931e : fix: invalid organization slug/project subdomain doesn't open
404 page
- 5df6fa2 : feat: add unencrypted disk warning in storage capacity
settings
### Patch Changes
- 44c1e17 : chore: update `msw` to v1.3.5 to fix vulnerabilities
- @nhost/react-apollo@16.0.0
- @nhost/nextjs@2.2.1
## @nhost/docs@2.26 .0
### Minor Changes
- 04d2ce1 : feat: add reference documentation for signin security key
### Patch Changes
- 1fa6cc4 : chore: added docs for pg_jsonschema
## @nhost-examples/react-apollo@1.2.0
### Minor Changes
- 04d2ce1 : feat: update signin components to use `useSignInSecuritykey`
with user handle
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
- @nhost/react-apollo@16.0.0
## @nhost-examples/vue-apollo@0.8.0
### Minor Changes
- 04d2ce1 : feat: update signin components to use `useSignInSecuritykey`
with user handle
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/vue@2.9.0
- @nhost/nhost-js@3.2.3
- @nhost/apollo@8.0.3
## @nhost-examples/cli@0.3.16
### Patch Changes
- @nhost/nhost-js@3.2.3
## @nhost-examples/codegen-react-apollo@0.4.17
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
- @nhost/react-apollo@16.0.0
## @nhost-examples/codegen-react-query@0.4.17
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
## @nhost-examples/codegen-react-urql@0.3.17
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
- @nhost/react-urql@13.0.0
## @nhost-examples/multi-tenant-one-to-many@2.2.17
### Patch Changes
- @nhost/nhost-js@3.2.3
## @nhost-examples/nextjs@0.4.1
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
- @nhost/react-apollo@16.0.0
- @nhost/nextjs@2.2.1
## @nhost-examples/node-storage@0.2.16
### Patch Changes
- @nhost/nhost-js@3.2.3
## @nhost-examples/nextjs-server-components@0.5.1
### Patch Changes
- @nhost/nhost-js@3.2.3
## @nhost-examples/react-gqty@1.2.17
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
## @nhost-examples/react-native@0.1.2
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/react@3.9.0
- @nhost/react-apollo@16.0.0
## @nhost-examples/vue-quickstart@0.2.17
### Patch Changes
- Updated dependencies [04d2ce1 ]
- @nhost/vue@2.9.0
- @nhost/apollo@8.0.3
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-10 17:48:29 +01:00
Hassan Ben Jobrane
04d2ce110a
feat: add support for webauthn modern flow ( #3097 )
...
### **User description**
resolves https://github.com/nhost/nhost/issues/3031
___
### **PR Type**
Enhancement
___
### **Description**
- Implemented WebAuthn-based security key authentication flow
- Added new `useSignInSecurityKey` hook for React applications
- Updated authentication machine to support security key sign-in
- Simplified security key sign-in process by removing email input
requirement
- Added `useSignInEmailOTP` hook for email OTP authentication
- Updated auth version in example configuration
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>8
files</summary><table>
<tr>
<td>
<details>
<summary><strong>sign-in-security-key.tsx</strong><dd><code>Simplify
security key sign-in process</code>
</dd></summary>
<hr>
examples/react-apollo/src/components/routes/auth/sign-in/sign-in-security-key.tsx
<li>Removed email input and form-related imports and components<br> <li>
Replaced <code>useSignInEmailSecurityKey</code> with
<code>useSignInSecurityKey</code><br> <li> Simplified sign-in process to
use <code>signInSecurityKey</code> without email<br>
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3097/files#diff-c53d13936f5d9c0cc31811f17c9721f9d7a2795d0cff4a1333fdb147846f5cd8 ">+12/-47</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>events.ts</strong><dd><code>Add new security key
sign-in event</code>
</dd></summary>
<hr>
packages/hasura-auth-js/src/machines/authentication/events.ts
- Added new event type `SIGNIN_SECURITY_KEY`
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3097/files#diff-a1a1ecc9ad9d8ed8e460e0401007a8d479b4d9ba66bc909e1d1458947b5fdf85 ">+1/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>machine.ts</strong><dd><code>Implement WebAuthn-based
security key authentication</code>
</dd></summary>
<hr>
packages/hasura-auth-js/src/machines/authentication/machine.ts
<li>Added <code>signInSecurityKey</code> service<br> <li> Implemented
new state for security key authentication<br> <li> Added WebAuthn-based
authentication logic<br>
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3097/files#diff-a8fdfee087ad5a72ea0a64667e2a0c7f25baa84eaaf73ebfee3f5a5a1b7584d1 ">+78/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>index.ts</strong><dd><code>Export new security key
sign-in module</code>
</dd></summary>
<hr>
packages/hasura-auth-js/src/promises/index.ts
- Exported `signInSecurityKey` module
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3097/files#diff-154b9309bf25adbddd17bf34e6e831aadbac8f8eae8df83d22933566c2466694 ">+1/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>signInSecurityKey.ts</strong><dd><code>Add security key
sign-in promise and types</code>
</dd></summary>
<hr>
packages/hasura-auth-js/src/promises/signInSecurityKey.ts
<li>Implemented <code>signInSecurityKeyPromise</code> function<br> <li>
Added types and interfaces for security key sign-in<br>
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3097/files#diff-4bbb85594a3d42a1b0ae555ceb2cd468e4dba9904ba59b189bfc76bdd61a92b3 ">+70/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>index.ts</strong><dd><code>Export new security key
sign-in hook</code>
</dd></summary>
<hr>
packages/react/src/index.ts
- Exported `useSignInSecurityKey` hook
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3097/files#diff-1cee8646d2cfba37d6ce6a6e9a8d16f8caba0b99fc3a1ad0cb997ed8c7384d2e ">+1/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>useSignInEmailOTP.ts</strong><dd><code>Add email OTP
sign-in hook</code>
</dd></summary>
<hr>
packages/react/src/useSignInEmailOTP.ts
- Implemented `useSignInEmailOTP` hook for email OTP authentication
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3097/files#diff-ec99d0a935dcc1d5fb83ebe3509d69c8f449a2f592a586ca491875aa566a83bf ">+84/-1</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>useSignInSecurityKey.ts</strong><dd><code>Implement
security key sign-in hook</code>
</dd></summary>
<hr>
packages/react/src/useSignInSecurityKey.ts
<li>Implemented <code>useSignInSecurityKey</code> hook for
WebAuthn-based <br>authentication<br> <li> Added types and interfaces
for the hook<br>
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3097/files#diff-67332920be590dafee3e397f2134dcb174b61e23b65ce32a7cafcb38dd61e331 ">+94/-0</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Configuration
changes</strong></td><td><details><summary>1 files</summary><table>
<tr>
<td>
<details>
<summary><strong>nhost.toml</strong><dd><code>Update auth version in
configuration</code>
</dd></summary>
<hr>
examples/react-apollo/nhost/nhost.toml
- Updated auth version from '0.32.1' to '0.36.1'
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3097/files#diff-268d6c8dddd6990d60d62c1c923955c4e0e7549a80f0f5856192f889378416a0 ">+1/-1</a>
</td>
</tr>
</table></details></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-10 16:59:29 +01:00
David Barroso
b2755045c9
chore: added overlay for nhost cli ( #3126 )
...
### **PR Type**
Enhancement
___
### **Description**
- Add Nhost CLI package to Nix configuration
- Define Nhost CLI version and platform-specific distributions
- Implement Nix derivation for Nhost CLI installation
- Update overlay to include Nhost CLI package
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>nhost-cli.nix</strong><dd><code>Implement Nix package
for Nhost CLI</code>
</dd></summary>
<hr>
nix/nhost-cli.nix
<li>Define Nhost CLI version and platform-specific distributions<br>
<li> Implement Nix derivation for Nhost CLI installation<br> <li> Set up
build and installation process<br> <li> Define package metadata and
maintainer information
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3126/files#diff-9ecb33bccf0f24a938368b6152474086a6520c7f62d1b366fe76bdcb6cc6cc4a ">+63/-0</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>overlay.nix</strong><dd><code>Update overlay to include
Nhost CLI package</code>
</dd></summary>
<hr>
nix/overlay.nix
- Add Nhost CLI package to the Nix overlay
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3126/files#diff-0f31c68216d617b465827b69d5b5cd4c2c0c4489008cd14ee0e88b9887d15295 ">+1/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-09 15:36:17 +01:00
David BM
d43931e761
fix (dashboard): invalid organization slug/project subdomain opens 404 page ( #3125 )
...
### **User description**
Fixes #3119
___
### **PR Type**
Bug fix
___
### **Description**
- Fix 404 redirect for invalid org slug/project subdomain
- Improve conditional checks in useNotFoundRedirect hook
- Add project and org loading states
- Update URL parameter handling and comparisons
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>useNotFoundRedirect.ts</strong><dd><code>Enhance
useNotFoundRedirect hook for better 404 handling</code>
</dd></summary>
<hr>
dashboard/src/features/projects/common/hooks/useNotFoundRedirect/useNotFoundRedirect.ts
<li>Added imports for useCurrentOrg and useProject hooks<br> <li>
Updated URL parameter handling and comparisons<br> <li> Introduced
project and org loading states<br> <li> Improved conditional checks for
404 redirect
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3125/files#diff-837279cf43199053bca09913f62c4af019063a2e8dc7bfb7643ec54b7cecd29d ">+31/-9</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>light-dryers-invite.md</strong><dd><code>Add changeset
for 404 page fix</code>
</dd></summary>
<hr>
.changeset/light-dryers-invite.md
<li>Added changeset file for version bump<br> <li> Described fix for
invalid org slug/project subdomain 404 issue
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3125/files#diff-e0305e7650a5062b889ab6efdd71872be23e6e4c8b7792190478ef6702c1abd3 ">+5/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-09 14:17:31 +01:00
Hassan Ben Jobrane
44c1e17fd5
chore: update dependencies with vulnerabilities ( #3105 )
...
### **User description**
resolves https://github.com/nhost/nhost/issues/3031
___
### **PR Type**
Enhancement
___
### **Description**
- Updated `audit-ci.jsonc` configuration:
- Removed 'micromatch' and 'path-to-regexp' from the allowlist,
potentially increasing security checks
- Modified `package.json`:
- Added 'path-to-regexp' dependency (version ^8.2.0)
- These changes aim to address vulnerabilities and update dependencies
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>audit-ci.jsonc</strong><dd><code>Update allowlist in
audit-ci configuration</code>
</dd></summary>
<hr>
audit-ci.jsonc
- Removed 'micromatch' and 'path-to-regexp' from the allowlist
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3105/files#diff-4ede69da2a1704e53e08b8d647a315c202f037cc9277f16c94176d9622d261c6 ">+1/-1</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Dependencies</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>package.json</strong><dd><code>Add path-to-regexp
dependency</code>
</dd></summary>
<hr>
package.json
- Added 'path-to-regexp' dependency with version '^8.2.0'
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3105/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 ">+2/-1</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-09 00:21:00 +01:00
David BM
5df6fa2d0b
feat (dashboard): unencrypted disk warning ( #3116 )
...
### **User description**
Resolves #3050
___
### **PR Type**
Enhancement
___
### **Description**
- Add unencrypted disk warning in storage capacity settings
- Implement query for persistent volumes encryption status
- Display alert for enabling disk encryption
- Update GraphQL types and queries
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>DatabaseStorageCapacity.tsx</strong><dd><code>Add
unencrypted disk warning and encryption info</code>
</dd></summary>
<hr>
dashboard/src/features/orgs/projects/database/settings/components/DatabaseStorageCapacity/DatabaseStorageCapacity.tsx
<li>Import new UI components (Alert, Link, Text)<br> <li> Add query for
persistent volumes encryption status<br> <li> Implement conditional
rendering of encryption warning<br> <li> Display alert with instructions
to enable encryption
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3116/files#diff-097a59d13b44816051386182a444eadfe2dcacd69b88c121af6733d7eca3ee43 ">+34/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>graphql.ts</strong><dd><code>Update GraphQL types and
add encryption query</code>
</dd></summary>
<hr>
dashboard/src/utils/__generated__/graphql.ts
<li>Add GetPersistentVolumesEncryptedQuery type and related
functions<br> <li> Update Organization_Member_Invites type
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3116/files#diff-fbd5db84b560b1c91675004448c6c7fa0dcbfb28b9eb05d53b03e6cb7b83ebac ">+46/-1</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>getPersistentVolumesEncrypted.gql</strong><dd><code>Add
GraphQL query for persistent volumes encryption</code>
</dd></summary>
<hr>
dashboard/src/features/orgs/projects/database/settings/gql/getPersistentVolumesEncrypted.gql
- Add new GraphQL query for persistent volumes encryption status
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3116/files#diff-a0b0a1fd74b04a74ccd04f1f1f1a917729f603f678da3d0af9fc051ce96bb674 ">+5/-0</a>
</td>
</tr>
</table></td></tr><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>sour-bats-repair.md</strong><dd><code>Add changeset for
unencrypted disk warning feature</code>
</dd></summary>
<hr>
.changeset/sour-bats-repair.md
<li>Add changeset for minor version bump<br> <li> Describe new feature:
unencrypted disk warning
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3116/files#diff-257a5bb608ef376c916b9c93ca8b72e260560f9bfff0c07f954862feb25d5ea7 ">+5/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-08 17:35:18 +01:00
David Barroso
1fa6cc47ec
chore (docs): added pg_jsonschema docs ( #3123 )
...
Fixes https://github.com/nhost/nhost/issues/3101
### **PR Type**
Enhancement, Documentation
___
### **Description**
- Added pg_jsonschema extension to available extensions list
- Included documentation for pg_jsonschema extension usage
- Updated extensions table with pg_jsonschema details
- Minor formatting changes in the document
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>loud-years-know.md</strong><dd><code>Add changeset for
pg_jsonschema documentation</code>
</dd></summary>
<hr>
.changeset/loud-years-know.md
<li>Added changeset file for @nhost/docs patch<br> <li> Described change
as adding docs for pg_jsonschema
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3123/files#diff-bc43a9bd6a512cf9ed7cfbb91eaeba7738490ea29fdc3c620f90aebfb7d3a4df ">+5/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>extensions.mdx</strong><dd><code>Add pg_jsonschema
extension documentation</code>
</dd></summary>
<hr>
docs/guides/database/extensions.mdx
<li>Added pg_jsonschema to extensions table<br> <li> Included new
section with installation and usage instructions<br> <li> Provided
GitHub resource link for pg_jsonschema<br> <li> Minor formatting
adjustments
</details>
</td>
<td><a
href="https://github.com/nhost/nhost/pull/3123/files#diff-7a41fa45d84db83a8c01a76ddb42ad614022ad94a4c3a6aa321f5b9a5300da8c ">+25/-1</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2025-01-08 15:04:17 +01:00