Skip to content

fix(link): take url as a string argument#62

Merged
soedirgo merged 2 commits into
mainfrom
fix/link-url
Oct 26, 2021
Merged

fix(link): take url as a string argument#62
soedirgo merged 2 commits into
mainfrom
fix/link-url

Conversation

@soedirgo
Copy link
Copy Markdown
Member

Fixes #60.

@soedirgo soedirgo merged commit db0799b into main Oct 26, 2021
@soedirgo soedirgo deleted the fix/link-url branch October 26, 2021 12:52
@github-actions
Copy link
Copy Markdown

🎉 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
    }
  }
}
```
@supabase-cli-releaser supabase-cli-releaser Bot mentioned this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No supabase link command documentation for Windows users

1 participant