From cf7975bc85864dd38b5008dbf5dc41c8ab8d1585 Mon Sep 17 00:00:00 2001 From: Ivan Vasilov Date: Tue, 30 Sep 2025 10:58:32 +0300 Subject: [PATCH 1/3] Only show the copy button when the value is decrypted. (#39035) * Only show the copy button when the value is decrypted. * Show copy if the value is not secure entry. * Don't show copy when the value is loading. --- .../Storage/AnalyticBucketDetails/DecryptedReadOnlyInput.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/studio/components/interfaces/Storage/AnalyticBucketDetails/DecryptedReadOnlyInput.tsx b/apps/studio/components/interfaces/Storage/AnalyticBucketDetails/DecryptedReadOnlyInput.tsx index 2ec51c5f15111..7b9bae83c096e 100644 --- a/apps/studio/components/interfaces/Storage/AnalyticBucketDetails/DecryptedReadOnlyInput.tsx +++ b/apps/studio/components/interfaces/Storage/AnalyticBucketDetails/DecryptedReadOnlyInput.tsx @@ -43,7 +43,8 @@ export const DecryptedReadOnlyInput = ({ return ( From 8d87b66974dc88e2643193fd38bf620cdc44bd49 Mon Sep 17 00:00:00 2001 From: Katerina Skroumpelou Date: Tue, 30 Sep 2025 11:01:29 +0300 Subject: [PATCH 2/3] docs: automate js libs docs update (#39036) --- .github/workflows/docs-js-libs-update.yml | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/workflows/docs-js-libs-update.yml diff --git a/.github/workflows/docs-js-libs-update.yml b/.github/workflows/docs-js-libs-update.yml new file mode 100644 index 0000000000000..8848405c3ea66 --- /dev/null +++ b/.github/workflows/docs-js-libs-update.yml @@ -0,0 +1,70 @@ +name: Update JS Client Libraries Docs + +on: + workflow_dispatch: + inputs: + version: + description: "Version that was released (e.g., patch, minor, major, or v2.1.0)" + required: true + type: string + source: + description: "Source of the documentation update" + required: false + type: string + default: "manual" + +permissions: + pull-requests: write + contents: write + +jobs: + update-docs: + runs-on: blacksmith-4vcpu-ubuntu-2404 + + steps: + - uses: actions/checkout@v4 + with: + ref: master + sparse-checkout: | + apps/docs + + - uses: pnpm/action-setup@v4 + name: Install pnpm + with: + run_install: false + + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version-file: ".nvmrc" + cache: "pnpm" + + - name: Install deps + run: pnpm i + + - name: Regenerate JS client libraries tsdoc files + working-directory: apps/docs/spec + run: | + echo "Regenerating tsdoc files for JS client libraries..." + echo "Source: ${{ github.event.inputs.source }}" + echo "Version: ${{ github.event.inputs.version }}" + make + + - name: Create pull request + uses: peter-evans/create-pull-request@v6 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "docs: update js client libraries (${{ github.event.inputs.version }})" + title: "docs: update js client libraries (${{ github.event.inputs.version }})" + body: | + Updates JS client libraries documentation following stable release. + Ran `make` in apps/docs/spec to regenerate tsdoc files. + + **Details:** + - **Version:** `${{ github.event.inputs.version }}` + - **Source:** `${{ github.event.inputs.source }}` + - **Changes:** Regenerated tsdoc files from latest spec files + + 🤖 Auto-generated from supabase-js-libs stable release. + branch: "gha/update-js-libs-docs-${{ github.run_number }}" + base: "master" From 00702b71918706a6f52a5a016fdfc1ec546c3ffc Mon Sep 17 00:00:00 2001 From: Saxon Fletcher Date: Tue, 30 Sep 2025 19:21:58 +1000 Subject: [PATCH 3/3] Give password protection visibility within auth protection (#39095) password protection --- .../ProtectionAuthSettingsForm.tsx | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/apps/studio/components/interfaces/Auth/ProtectionAuthSettingsForm/ProtectionAuthSettingsForm.tsx b/apps/studio/components/interfaces/Auth/ProtectionAuthSettingsForm/ProtectionAuthSettingsForm.tsx index 748806817ca74..f5ef7d711ef1e 100644 --- a/apps/studio/components/interfaces/Auth/ProtectionAuthSettingsForm/ProtectionAuthSettingsForm.tsx +++ b/apps/studio/components/interfaces/Auth/ProtectionAuthSettingsForm/ProtectionAuthSettingsForm.tsx @@ -1,6 +1,7 @@ import { yupResolver } from '@hookform/resolvers/yup' import { PermissionAction } from '@supabase/shared-types/out/constants' import { Eye, EyeOff } from 'lucide-react' +import Link from 'next/link' import { useEffect, useState } from 'react' import { useForm } from 'react-hook-form' import { toast } from 'sonner' @@ -18,6 +19,7 @@ import { AlertDescription_Shadcn_, AlertTitle_Shadcn_, Alert_Shadcn_, + Badge, Button, Card, CardContent, @@ -267,6 +269,29 @@ export const ProtectionAuthSettingsForm = () => { )} + + ( + +
+ + {field.value ? 'Enabled' : 'Disabled'} + + + + +
+
+ )} + /> +
+ {protectionForm.formState.isDirty && (