Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
4360a47
feat: push signing keys to remote
sweatybridge Aug 1, 2025
dcf9c82
chore: disable signing key update for now
sweatybridge Aug 12, 2025
7e68a15
feat: asymmetric signed api keys
cemalkilic Aug 12, 2025
57a57c1
feat(cli): show branch ref to list command (#4019)
avallete Aug 12, 2025
980b370
chore: scope down key generation to validate method
sweatybridge Aug 12, 2025
2ed57b5
chore: conditionally validate jwt secret
sweatybridge Aug 12, 2025
98ed343
chore(deps): bump supabase/studio from 2025.08.04-sha-6e99ca6 to 2025…
dependabot[bot] Aug 12, 2025
997f47a
chore(deps): bump supabase/postgres from 17.4.1.072 to 17.4.1.073 in …
dependabot[bot] Aug 12, 2025
a462cbe
chore(deps): bump supabase/storage-api from v1.26.3 to v1.26.4 in /pk…
dependabot[bot] Aug 12, 2025
692e86a
chore(deps): bump github.com/stripe/pg-schema-diff from 0.9.1 to 0.9.…
dependabot[bot] Aug 12, 2025
846d5bc
chore(deps): bump actions/checkout from 4 to 5 (#4022)
dependabot[bot] Aug 12, 2025
07198e7
chore(deps): bump supabase/realtime from v2.41.23 to v2.41.24 in /pkg…
dependabot[bot] Aug 12, 2025
d7d953b
chore(deps): bump supabase/postgres from 17.4.1.073 to 17.4.1.074 in …
dependabot[bot] Aug 13, 2025
c1d0cf5
chore(deps): bump supabase/realtime from v2.41.24 to v2.42.0 in /pkg/…
dependabot[bot] Aug 13, 2025
e54761c
chore: add supabase_etl_admin to reserved roles (#4031)
soedirgo Aug 13, 2025
9c98773
chore(deps): bump github.com/charmbracelet/bubbletea from 0.25.0 to 1…
dependabot[bot] Aug 13, 2025
ce5adbd
chore: group dependabot updates (#4032)
sweatybridge Aug 13, 2025
9d435fc
chore(deps): bump the go-minor group across 2 directories with 4 upda…
dependabot[bot] Aug 13, 2025
9d26fe7
chore(deps): bump supabase/logflare from 1.18.3 to 1.18.4 in /pkg/con…
dependabot[bot] Aug 13, 2025
2245fd2
chore: sync API types from infrastructure (#4034)
kiwicopple Aug 13, 2025
99d45d4
fix: skip config diff to reduce output noise (#4036)
sweatybridge Aug 14, 2025
9a1207c
chore(deps): bump github.com/getsentry/sentry-go from 0.35.0 to 0.35.…
dependabot[bot] Aug 14, 2025
d981b48
chore: separate coverage reporting step (#4039)
sweatybridge Aug 14, 2025
b3d509d
fix(functions): set per_worker as default request policy for function…
avallete Aug 14, 2025
20ff03b
update queries to handle system table column names for v15 and v17
encima Aug 14, 2025
63381d9
Merge branch 'develop' into hotfix/inspect-compatibility
encima Aug 14, 2025
419dd46
feat: publish only public key to JWKS
cemalkilic Aug 14, 2025
a26a8a8
chore: copy pointer type
sweatybridge Aug 15, 2025
cd013f5
chore: simplify key generation
sweatybridge Aug 15, 2025
a29d61d
feat: generate jwt tokens from signing key (#3969)
sweatybridge Aug 15, 2025
635dbe6
chore(deps): bump actions/download-artifact from 4 to 5
dependabot[bot] Aug 15, 2025
ae830d2
chore(deps): bump actions/download-artifact from 4 to 5 (#4045)
sweatybridge Aug 15, 2025
6e86df1
Merge branch 'develop' into hotfix/inspect-compatibility
sweatybridge Aug 15, 2025
ac922ea
fix(inspect): update queries to handle system table column names for …
sweatybridge Aug 15, 2025
0cdffde
fix: bump edge-runtime to 1.68.0-develop.37
nyannyacha Aug 18, 2025
21a1f44
fix: bump edge-runtime to 1.68.0-develop.37 (#4051)
nyannyacha Aug 18, 2025
d0e9cae
chore(deps): bump the docker-minor group across 1 directory with 2 up…
dependabot[bot] Aug 18, 2025
f9b3bd2
chore(deps): bump the docker-minor group across 1 directory with 2 up…
sweatybridge Aug 18, 2025
d684dbc
feat: support oriole 17 experimental image
sweatybridge Feb 14, 2025
d08c3c7
feat: support oriole 17 experimental image (#4053)
sweatybridge Aug 18, 2025
423d056
feat: add WorkOS third party auth provider support
natheihei Aug 19, 2025
a212cf3
chore(deps): bump supabase/realtime
dependabot[bot] Aug 19, 2025
32f70d8
chore(deps): bump supabase/realtime from v2.42.2 to v2.42.3 in /pkg/c…
sweatybridge Aug 19, 2025
60b5c96
Merge branch 'develop' into add_workos_tpa_support
natheihei Aug 19, 2025
f097a90
fix: bump edge-runtime to 1.68.0-develop.39
nyannyacha Aug 19, 2025
124df56
fix: bump edge-runtime to 1.68.0-develop.39 (#4058)
nyannyacha Aug 19, 2025
28427d9
chore(deps): bump the go-minor group across 2 directories with 1 upda…
dependabot[bot] Aug 20, 2025
5a2abec
chore(deps): bump supabase/realtime
dependabot[bot] Aug 20, 2025
2745674
chore: make log messages clearer
sweatybridge Aug 20, 2025
29bd64b
chore(deps): bump supabase/realtime from v2.42.3 to v2.42.5 in /pkg/c…
sweatybridge Aug 20, 2025
15287dd
feat: add WorkOS third party auth provider support (#4056)
sweatybridge Aug 20, 2025
aac516b
fix: add staging and prod certs for ssl
sweatybridge Aug 20, 2025
eb3a86a
fix: add debug to LoadProjectRef
Aug 20, 2025
4a7c5b9
chore(deps): bump supabase/edge-runtime
dependabot[bot] Aug 21, 2025
1b2eb4d
chore(deps): bump supabase/edge-runtime from v1.68.3 to v1.69.1 in /p…
sweatybridge Aug 21, 2025
8029583
fix(logs): add debug to LoadProjectRef (#4063)
sweatybridge Aug 21, 2025
9bcd569
fix: use deno 2.x by default for EdgeRuntime
laktek Aug 21, 2025
16fa45c
fix: use deno 2.x by default for EdgeRuntime (#4065)
laktek Aug 21, 2025
d1f9834
chore(deps): bump supabase/realtime
dependabot[bot] Aug 22, 2025
327dfc1
feat: support profile flag for development
sweatybridge Aug 22, 2025
b63c9d4
chore: add test data
sweatybridge Aug 22, 2025
bc7f683
fix: store separate access token per profile
sweatybridge Aug 23, 2025
3be770c
chore: bump api spec
sweatybridge Aug 23, 2025
9a9f94a
chore(deps): bump supabase/realtime from v2.42.5 to v2.43.0 in /pkg/c…
sweatybridge Aug 23, 2025
343ecfe
feat: support profile flag for development (#4071)
sweatybridge Aug 23, 2025
e18790d
fix: use pgkit migra with experimental flag
sweatybridge Aug 23, 2025
e863ffd
chore: update unit tests
sweatybridge Aug 23, 2025
3612d71
fix: use pgkit migra with experimental flag (#4062)
sweatybridge Aug 23, 2025
7011f83
fix: account for changed verify jwt config
sweatybridge Aug 23, 2025
acc789d
fix: redeploy functions on changed verify jwt config (#4072)
sweatybridge Aug 23, 2025
4811359
chore(deps): bump the go-minor group across 2 directories with 1 upda…
dependabot[bot] Aug 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 25 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,42 @@ updates:
directory: "/"
schedule:
interval: "daily"
groups:
action-minor:
update-types:
- minor
- patch
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gomod"
directory: "pkg"
directories:
- "/"
- "pkg"
schedule:
interval: "daily"
groups:
go-minor:
update-types:
- minor
- patch
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
groups:
npm-minor:
update-types:
- minor
- patch
- package-ecosystem: "docker"
directory: "pkg/config/templates"
schedule:
interval: "daily"
groups:
docker-minor:
exclude-patterns:
- supabase/logflare
update-types:
- minor
- patch
ignore:
- dependency-name: "library/kong"
- dependency-name: "axllent/mailpit"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Sync API Types
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: actions/setup-go@v5
with:
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: actions/setup-go@v5
with:
Expand All @@ -28,6 +28,20 @@ jobs:
go tool gotestsum -- -race -v -count=1 ./... \
-coverpkg="./cmd/...,./internal/...,${pkgs}" -coverprofile=coverage.out

- uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: coverage.out

coverage:
name: Coverage
needs:
- test
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v5
with:
name: code-coverage-report
- uses: coverallsapp/github-action@v2
with:
file: coverage.out
Expand All @@ -37,7 +51,7 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: actions/setup-go@v5
with:
Expand All @@ -53,7 +67,7 @@ jobs:
name: Start
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand All @@ -69,7 +83,7 @@ jobs:
name: Codegen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: actions/setup-go@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- run: gh pr create -B main -H develop --title 'Prod deploy' --fill
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fast-forward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
github.event.review.state == 'approved'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- run: |
jq -c '.version = "1.28.0"' package.json > tmp.$$.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
tags: ${{ steps.list.outputs.tags }}
curr: ${{ steps.curr.outputs.tags }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
new-release-version: ${{ steps.semantic-release.outputs.new_release_version }}
new-release-channel: ${{ steps.semantic-release.outputs.new_release_channel }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- id: semantic-release
uses: cycjimmy/semantic-release-action@v4
env:
Expand All @@ -35,7 +35,7 @@ jobs:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
if: needs.release.outputs.new-release-published == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand All @@ -82,7 +82,7 @@ jobs:
if: needs.release.outputs.new-release-published == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: "16.x"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
outputs:
release_tag: ${{ steps.prerelease.outputs.tagName }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- id: prerelease
run: |
gh release list --limit 1 --json tagName --jq \
Expand All @@ -31,7 +31,7 @@ jobs:
- settings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand All @@ -53,7 +53,7 @@ jobs:
name: Bump self-hosted versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand All @@ -69,7 +69,7 @@ jobs:
- publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand All @@ -85,7 +85,7 @@ jobs:
- settings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Move latest tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: "16.x"
Expand Down
2 changes: 2 additions & 0 deletions cmd/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ var (
if usePgSchema {
differ = diff.DiffPgSchema
fmt.Fprintln(os.Stderr, utils.Yellow("WARNING:"), "--use-pg-schema flag is experimental and may not include all entities, such as views and grants.")
} else if !viper.GetBool("EXPERIMENTAL") {
differ = diff.DiffSchemaMigraBash
}
return diff.Run(cmd.Context(), schema, file, flags.DbConfig, differ, afero.NewOsFs())
},
Expand Down
3 changes: 2 additions & 1 deletion cmd/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/supabase/cli/internal/gen/types"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/pkg/config"
)

var (
Expand Down Expand Up @@ -97,7 +98,7 @@ var (

algorithm = utils.EnumFlag{
Allowed: signingkeys.GetSupportedAlgorithms(),
Value: string(signingkeys.AlgES256),
Value: string(config.AlgES256),
}
appendKeys bool

Expand Down
8 changes: 6 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,16 @@ var (
return errors.New("must set the --experimental flag to run this command")
}
cmd.SilenceUsage = true
// Change workdir
// Load profile before changing workdir
ctx := cmd.Context()
fsys := afero.NewOsFs()
if err := utils.LoadProfile(ctx, fsys); err != nil {
return err
}
if err := utils.ChangeWorkDir(fsys); err != nil {
return err
}
// Add common flags
ctx := cmd.Context()
if IsManagementAPI(cmd) {
if err := promptLogin(fsys); err != nil {
return err
Expand Down Expand Up @@ -236,6 +239,7 @@ func init() {
flags.String("workdir", "", "path to a Supabase project directory")
flags.Bool("experimental", false, "enable experimental features")
flags.String("network-id", "", "use the specified docker network instead of a generated one")
flags.String("profile", "supabase", "use a specific profile for connecting to Supabase API")
flags.VarP(&utils.OutputFormat, "output", "o", "output format of status variables")
flags.Var(&utils.DNSResolver, "dns-resolver", "lookup domain names using the specified resolver")
flags.BoolVar(&createTicket, "create-ticket", false, "create a support ticket for any CLI error")
Expand Down
Loading
Loading