fix(link): take url as a string argument#62
Merged
Merged
Conversation
|
🎉 This PR is included in version 0.10.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
dumko2001
pushed a commit
to dumko2001/cli
that referenced
this pull request
Mar 15, 2026
kallebysantos
pushed a commit
to kallebysantos/supabase-cli
that referenced
this pull request
May 6, 2026
## Summary
Adds native next-CLI support for `supabase functions new [slug]`.
This introduces local Edge Function scaffolding for the current
Deno/TypeScript model while keeping project config as overrides, not a
generated manifest. Functions are inferred from the filesystem by
default.
## Changes
- Added `supabase functions new [slug]` under the next CLI root.
- Supports exactly one optional positional slug.
- Prompts for the slug in interactive text mode when omitted.
- Fails cleanly in non-interactive modes when no slug is provided.
- Validates slugs with `^[A-Za-z0-9_-]+$`.
- Creates:
- `supabase/functions/<slug>/index.ts`
- `supabase/functions/<slug>/deno.json`
- Refuses to overwrite an existing `index.ts`.
- Does not create or update `supabase/config.json` /
`supabase/config.toml` for default function settings.
- Added `inferFunctionsManifest` to `@supabase/config`.
- Function manifests are inferred from filesystem shape and overlaid
with config customizations.
- Added per-function `env` support to the config schema.
## Config Model
Default functions are discovered from:
```text
supabase/functions/<slug>/index.ts
supabase/functions/<slug>/deno.json
```
Config is now treated as overrides only. Users only need
`functions.<slug>` entries for non-default behavior, for example:
```json
{
"functions": {
"hello-world": {
"verify_jwt": false
}
}
}
```
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #60.