diff --git a/dashboard/CHANGELOG.md b/dashboard/CHANGELOG.md index e4873cf229..4c2cc16624 100644 --- a/dashboard/CHANGELOG.md +++ b/dashboard/CHANGELOG.md @@ -1,5 +1,12 @@ # @nhost/dashboard +## 0.20.24 + +### Patch Changes + +- e10389ecf: fix(dashboard): disable run tab when developing locally + - @nhost/react-apollo@5.0.37 + ## 0.20.23 ### Patch Changes diff --git a/dashboard/package.json b/dashboard/package.json index 48dacd3d38..eebce8f332 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -1,6 +1,6 @@ { "name": "@nhost/dashboard", - "version": "0.20.23", + "version": "0.20.24", "private": true, "scripts": { "preinstall": "npx only-allow pnpm", diff --git a/dashboard/src/features/projects/common/hooks/useProjectRoutes/useProjectRoutes.tsx b/dashboard/src/features/projects/common/hooks/useProjectRoutes/useProjectRoutes.tsx index 851d9d1018..babbb4d168 100644 --- a/dashboard/src/features/projects/common/hooks/useProjectRoutes/useProjectRoutes.tsx +++ b/dashboard/src/features/projects/common/hooks/useProjectRoutes/useProjectRoutes.tsx @@ -142,6 +142,7 @@ export default function useProjectRoutes() { exact: false, label: 'Run', icon: , + disabled: !isPlatform, }, ...nhostRoutes, ]; diff --git a/dashboard/src/pages/[workspaceSlug]/[appSlug]/services/index.tsx b/dashboard/src/pages/[workspaceSlug]/[appSlug]/services/index.tsx index 4f8eeacbc2..3fe0fa2059 100644 --- a/dashboard/src/pages/[workspaceSlug]/[appSlug]/services/index.tsx +++ b/dashboard/src/pages/[workspaceSlug]/[appSlug]/services/index.tsx @@ -44,7 +44,7 @@ export default function ServicesPage() { const router = useRouter(); const { openDrawer, openAlertDialog } = useDialog(); const { currentProject } = useCurrentWorkspaceAndProject(); - const isPlanFree = currentProject.plan.isFree; + const isPlanFree = currentProject?.plan?.isFree; const [currentPage, setCurrentPage] = useState( parseInt(router.query.page as string, 10) || 1, diff --git a/examples/quickstarts/nextjs-server-components/tsconfig.json b/examples/quickstarts/nextjs-server-components/tsconfig.json index 9923c803cd..3da98c3dcc 100644 --- a/examples/quickstarts/nextjs-server-components/tsconfig.json +++ b/examples/quickstarts/nextjs-server-components/tsconfig.json @@ -8,7 +8,7 @@ "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "bundler", + "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", diff --git a/examples/quickstarts/nhost-backend/nhost/nhost.toml b/examples/quickstarts/nhost-backend/nhost/nhost.toml index c348bb153f..2f0f3d9e4e 100644 --- a/examples/quickstarts/nhost-backend/nhost/nhost.toml +++ b/examples/quickstarts/nhost-backend/nhost/nhost.toml @@ -25,7 +25,7 @@ httpPoolSize = 100 [functions] [functions.node] -version = 16 +version = 18 [auth] version = '0.21.3' diff --git a/integrations/apollo/CHANGELOG.md b/integrations/apollo/CHANGELOG.md index 684d0442b3..19e8dcb2d8 100644 --- a/integrations/apollo/CHANGELOG.md +++ b/integrations/apollo/CHANGELOG.md @@ -1,5 +1,11 @@ # @nhost/apollo +## 5.2.20 + +### Patch Changes + +- 7459a9413: fix: apollo-integration: reset accessToken to null after sign-out + ## 5.2.19 ### Patch Changes diff --git a/integrations/apollo/package.json b/integrations/apollo/package.json index 4a702a9363..562b64c5a4 100644 --- a/integrations/apollo/package.json +++ b/integrations/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@nhost/apollo", - "version": "5.2.19", + "version": "5.2.20", "description": "Nhost Apollo Client library", "license": "MIT", "keywords": [ diff --git a/integrations/react-apollo/CHANGELOG.md b/integrations/react-apollo/CHANGELOG.md index cbb62db7be..370838ef8b 100644 --- a/integrations/react-apollo/CHANGELOG.md +++ b/integrations/react-apollo/CHANGELOG.md @@ -1,5 +1,12 @@ # @nhost/react-apollo +## 5.0.37 + +### Patch Changes + +- Updated dependencies [7459a9413] + - @nhost/apollo@5.2.20 + ## 5.0.36 ### Patch Changes diff --git a/integrations/react-apollo/package.json b/integrations/react-apollo/package.json index b4423e12d8..4998ee7d57 100644 --- a/integrations/react-apollo/package.json +++ b/integrations/react-apollo/package.json @@ -1,6 +1,6 @@ { "name": "@nhost/react-apollo", - "version": "5.0.36", + "version": "5.0.37", "description": "Nhost React Apollo client", "license": "MIT", "keywords": [