Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
4523c62
feat(kong): Add `.well-known/oauth-authorization-server` endpoint (#4…
cemalkilic Oct 2, 2025
e14e629
chore(deps): bump supabase/postgres from 17.6.1.011 to 17.6.1.012 in …
dependabot[bot] Oct 3, 2025
1d337c9
chore(deps): bump the docker-minor group in /pkg/config/templates wit…
dependabot[bot] Oct 3, 2025
4d02964
feat(auth): introduce `EmailOptional` config for providers (#4179)
issuedat Oct 3, 2025
b9c8196
chore(deps): bump the go-minor group across 1 directory with 2 update…
dependabot[bot] Oct 3, 2025
aa27154
chore(deps): bump supabase/postgres from 17.6.1.012 to 17.6.1.013 in …
dependabot[bot] Oct 6, 2025
e43b5c6
chore(deps): bump the docker-minor group in /pkg/config/templates wit…
dependabot[bot] Oct 6, 2025
6e9af16
fix(DEVWF-755): remember profile after login (#4253)
sweatybridge Oct 6, 2025
4da30e7
chore(deps): bump the go-minor group across 1 directory with 2 update…
dependabot[bot] Oct 6, 2025
bb968eb
fix: pass down apikey as query param to realtime (#4255)
sweatybridge Oct 7, 2025
937942e
chore(deps): bump supabase/postgres from 17.6.1.013 to 17.6.1.015 in …
dependabot[bot] Oct 7, 2025
86f2535
chore(deps): bump aws-actions/configure-aws-credentials from 5.0.0 to…
dependabot[bot] Oct 7, 2025
d04892c
chore(deps): bump the go-minor group across 2 directories with 1 upda…
dependabot[bot] Oct 7, 2025
d0e262c
chore(deps): bump supabase/realtime from v2.52.0 to v2.53.0 in /pkg/c…
dependabot[bot] Oct 7, 2025
5840590
chore(deps): bump supabase/postgres from 17.6.1.015 to 17.6.1.016 in …
dependabot[bot] Oct 8, 2025
aef34a5
chore(deps): bump golang.org/x/net from 0.44.0 to 0.45.0 in the go-mi…
dependabot[bot] Oct 8, 2025
029cc9f
chore: sync API types from infrastructure (#4261)
kiwicopple Oct 8, 2025
14c45b8
chore(deps): bump github/codeql-action from 3 to 4 (#4262)
dependabot[bot] Oct 8, 2025
df8d562
chore(deps): bump supabase/realtime from v2.53.0 to v2.53.1 in /pkg/c…
dependabot[bot] Oct 8, 2025
ac5c902
fix: separate tenant and mgmt api endpoints (#4267)
sweatybridge Oct 8, 2025
ef5fd02
chore: separate commit message prefix for docker dependabot
sweatybridge Oct 9, 2025
01b1cd0
fix(docker): bump supabase/postgres from 17.6.1.016 to 17.6.1.017 in …
dependabot[bot] Oct 9, 2025
0528902
fix(docker): bump the docker-minor group in /pkg/config/templates wit…
dependabot[bot] Oct 9, 2025
a294316
chore(deps): bump the go-minor group across 2 directories with 6 upda…
dependabot[bot] Oct 9, 2025
5ca20aa
chore: use pat for dependabot merge
sweatybridge Oct 9, 2025
b3b212c
fix: step down from superuser role (#4248)
sweatybridge Oct 9, 2025
8ec1ceb
chore: sync API types from infrastructure (#4269)
kiwicopple Oct 9, 2025
4f89a98
chore: approve with pat to trigger mirror job
sweatybridge Oct 9, 2025
bdf03d6
fix(docker): bump supabase/logflare from 1.22.4 to 1.22.6 in /pkg/con…
dependabot[bot] Oct 9, 2025
29adfc4
fix(docker): bump supabase/postgres from 17.6.1.017 to 17.6.1.020 in …
dependabot[bot] Oct 10, 2025
83a2d66
fix(docker): bump the docker-minor group in /pkg/config/templates wit…
dependabot[bot] Oct 10, 2025
677e5c2
chore: sync API types from infrastructure (#4275)
kiwicopple Oct 10, 2025
8b902e0
fix: set project ref metadata for function logs (#4274)
sweatybridge Oct 10, 2025
a250719
fix: restore logical backup on pg 15.14 (#4280)
sweatybridge Oct 10, 2025
4785f7a
fix: include shadow port in local database check (#4284)
sweatybridge Oct 10, 2025
1dae3f1
fix(functions): prevent redundant bind mounts on windows
singh-inder Oct 11, 2025
8212718
chore: bump openapi spec and overlay
sweatybridge Oct 12, 2025
fb16450
chore: update unit tests
sweatybridge Oct 12, 2025
d083391
chore: bump openapi spec and overlay (#4293)
sweatybridge Oct 12, 2025
d916a7a
fix(functions): prevent redundant bind mounts on windows (#4291)
sweatybridge Oct 12, 2025
188a183
Revert "fix(docker): bump supabase/postgres from 17.6.1.017 to 17.6.1…
sweatybridge Oct 12, 2025
db2b259
fix: exclude directories for local migrations (#4279)
ahtcx Oct 12, 2025
5166439
feat: add placeholder profile (#4292)
sweatybridge Oct 13, 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
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ updates:
directory: "pkg/config/templates"
schedule:
interval: "daily"
commit-message:
prefix: "fix(docker): "
groups:
docker-minor:
exclude-patterns:
- supabase/logflare
update-types:
- minor
- patch
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
if: ${{ steps.meta.outputs.update-type == 'version-update:semver-patch' || (!startsWith(steps.meta.outputs.previous-version, '0.') && steps.meta.outputs.update-type == 'version-update:semver-minor') }}
run: gh pr review --approve "${{ github.event.pull_request.html_url }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

# Finally, this sets the PR to allow auto-merging for patch and minor
# updates if all checks pass
- name: Enable auto-merge for Dependabot PRs
if: ${{ steps.meta.outputs.update-type == 'version-update:semver-patch' || (!startsWith(steps.meta.outputs.previous-version, '0.') && steps.meta.outputs.update-type == 'version-update:semver-minor') }}
run: gh pr merge --auto --squash "${{ github.event.pull_request.html_url }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand Down Expand Up @@ -88,6 +88,6 @@ jobs:
exit 1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .github/workflows/mirror-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
TAG=${{ inputs.image }}
echo "image=${TAG##*/}" >> $GITHUB_OUTPUT
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v5.0.0
uses: aws-actions/configure-aws-credentials@v5.1.0
with:
role-to-assume: ${{ secrets.PROD_AWS_ROLE }}
aws-region: us-east-1
Expand Down
3 changes: 3 additions & 0 deletions api/overlay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ actions:
- target: $.components.schemas.*.properties.connectionString
description: Removes deprecated field that conflicts with naming convention
remove: true
- target: $.components.schemas.*.properties.region_selection.discriminator
description: Replaces discriminated union with concrete type
remove: true
- target: $.components.schemas.*.properties.private_jwk.discriminator
description: Replaces discriminated union with concrete type
remove: true
Expand Down
8 changes: 8 additions & 0 deletions cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/go-errors/errors"
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/supabase/cli/internal/login"
"github.com/supabase/cli/internal/utils"
"golang.org/x/term"
Expand Down Expand Up @@ -38,6 +39,13 @@ var (
}
return login.Run(cmd.Context(), os.Stdout, params)
},
PostRunE: func(cmd *cobra.Command, args []string) error {
if prof := viper.GetString("PROFILE"); viper.IsSet("PROFILE") {
// Failure to save should block subsequent commands on CI
return utils.WriteFile(utils.ProfilePath, []byte(prof), afero.NewOsFs())
}
return nil
},
}
)

Expand Down
3 changes: 2 additions & 1 deletion cmd/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/pkg/api"
"github.com/supabase/cli/pkg/cast"
"golang.org/x/term"
)

Expand Down Expand Up @@ -78,7 +79,7 @@ var (
Name: projectName,
OrganizationId: orgId,
DbPass: dbPassword,
Region: api.V1CreateProjectBodyRegion(region.Value),
Region: cast.Ptr(api.V1CreateProjectBodyRegion(region.Value)),
}
if cmd.Flags().Changed("size") {
body.DesiredInstanceSize = (*api.V1CreateProjectBodyDesiredInstanceSize)(&size.Value)
Expand Down
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ var (
if viper.GetBool("DEBUG") {
http.DefaultTransport = debug.NewTransport()
fmt.Fprintln(os.Stderr, cmd.Root().Short)
fmt.Fprintf(os.Stderr, "Using profile: %s (%s)\n", utils.CurrentProfile.Name, utils.CurrentProfile.ProjectHost)
}
cmd.SetContext(ctx)
// Setup sentry last to ignore errors from parsing cli flags
Expand Down
34 changes: 17 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ require (
github.com/charmbracelet/lipgloss v1.1.1-0.20250404203927-76690c660834
github.com/containerd/errdefs v1.0.0
github.com/containers/common v0.64.2
github.com/docker/cli v28.4.0+incompatible
github.com/docker/docker v28.4.0+incompatible
github.com/docker/cli v28.5.1+incompatible
github.com/docker/docker v28.5.1+incompatible
github.com/docker/go-connections v0.6.0
github.com/fsnotify/fsnotify v1.9.0
github.com/getsentry/sentry-go v0.35.3
github.com/go-errors/errors v1.5.1
github.com/go-git/go-git/v5 v5.16.2
github.com/go-playground/validator/v10 v10.27.0
github.com/go-git/go-git/v5 v5.16.3
github.com/go-playground/validator/v10 v10.28.0
github.com/go-viper/mapstructure/v2 v2.4.0
github.com/go-xmlfmt/xmlfmt v1.1.3
github.com/golang-jwt/jwt/v5 v5.3.0
github.com/google/go-github/v62 v62.0.0
Expand All @@ -47,11 +48,11 @@ require (
github.com/withfig/autocomplete-tools/packages/cobra v1.2.0
github.com/zalando/go-keyring v0.2.6
go.opentelemetry.io/otel v1.38.0
golang.org/x/mod v0.28.0
golang.org/x/net v0.44.0
golang.org/x/oauth2 v0.31.0
golang.org/x/term v0.35.0
google.golang.org/grpc v1.75.1
golang.org/x/mod v0.29.0
golang.org/x/net v0.46.0
golang.org/x/oauth2 v0.32.0
golang.org/x/term v0.36.0
google.golang.org/grpc v1.76.0
gopkg.in/yaml.v3 v3.0.1
)

Expand Down Expand Up @@ -134,7 +135,7 @@ require (
github.com/firefart/nonamedreturns v1.0.6 // indirect
github.com/fvbommel/sortorder v1.1.0 // indirect
github.com/fzipp/gocyclo v0.6.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
github.com/gabriel-vasile/mimetype v1.4.10 // indirect
github.com/getkin/kin-openapi v0.131.0 // indirect
github.com/ghostiam/protogetter v0.3.15 // indirect
github.com/go-critic/go-critic v0.13.0 // indirect
Expand All @@ -153,7 +154,6 @@ require (
github.com/go-toolsmith/astp v1.1.0 // indirect
github.com/go-toolsmith/strparse v1.1.0 // indirect
github.com/go-toolsmith/typep v1.1.0 // indirect
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/gofrs/flock v0.12.1 // indirect
Expand Down Expand Up @@ -337,16 +337,16 @@ require (
go.uber.org/multierr v1.9.0 // indirect
go.uber.org/zap v1.24.0 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.42.0 // indirect
golang.org/x/crypto v0.43.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect
golang.org/x/sync v0.17.0 // indirect
golang.org/x/sys v0.36.0 // indirect
golang.org/x/text v0.29.0 // indirect
golang.org/x/tools v0.36.0 // indirect
golang.org/x/sys v0.37.0 // indirect
golang.org/x/text v0.30.0 // indirect
golang.org/x/tools v0.37.0 // indirect
golang.org/x/tools/go/expect v0.1.1-deprecated // indirect
golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250804133106-a7a43d27e69b // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b // indirect
google.golang.org/protobuf v1.36.6 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
Loading