Merge pull request #11240 from appwrite/fix-sites-domains

CLI update
This commit is contained in:
Jake Barnby 2026-02-04 06:28:14 +00:00 committed by GitHub
commit 5e495aa2da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 217 additions and 21 deletions

View file

@ -227,7 +227,7 @@ return [
[ [
'key' => 'cli', 'key' => 'cli',
'name' => 'Command Line', 'name' => 'Command Line',
'version' => '13.2.0', 'version' => '13.2.1',
'url' => 'https://github.com/appwrite/sdk-for-cli', 'url' => 'https://github.com/appwrite/sdk-for-cli',
'package' => 'https://www.npmjs.com/package/appwrite-cli', 'package' => 'https://www.npmjs.com/package/appwrite-cli',
'enabled' => true, 'enabled' => true,

View file

@ -54689,6 +54689,18 @@
{ {
"$ref": "#\/components\/schemas\/columnPolygon" "$ref": "#\/components\/schemas\/columnPolygon"
}, },
{
"$ref": "#\/components\/schemas\/columnVarchar"
},
{
"$ref": "#\/components\/schemas\/columnText"
},
{
"$ref": "#\/components\/schemas\/columnMediumtext"
},
{
"$ref": "#\/components\/schemas\/columnLongtext"
},
{ {
"$ref": "#\/components\/schemas\/columnString" "$ref": "#\/components\/schemas\/columnString"
} }
@ -54783,6 +54795,18 @@
{ {
"$ref": "#\/components\/schemas\/columnPolygon" "$ref": "#\/components\/schemas\/columnPolygon"
}, },
{
"$ref": "#\/components\/schemas\/columnVarchar"
},
{
"$ref": "#\/components\/schemas\/columnText"
},
{
"$ref": "#\/components\/schemas\/columnMediumtext"
},
{
"$ref": "#\/components\/schemas\/columnLongtext"
},
{ {
"$ref": "#\/components\/schemas\/columnString" "$ref": "#\/components\/schemas\/columnString"
} }
@ -63690,8 +63714,8 @@
}, },
"_APP_DOMAIN_SITES": { "_APP_DOMAIN_SITES": {
"type": "string", "type": "string",
"description": "A domain to use for site URLs.", "description": "A comma separated list of domains to use for site URLs.",
"x-example": "sites.localhost" "x-example": "sites.localhost,sites.example.com"
}, },
"_APP_DOMAIN_FUNCTIONS": { "_APP_DOMAIN_FUNCTIONS": {
"type": "string", "type": "string",
@ -63738,7 +63762,7 @@
"_APP_VCS_ENABLED": true, "_APP_VCS_ENABLED": true,
"_APP_DOMAIN_ENABLED": true, "_APP_DOMAIN_ENABLED": true,
"_APP_ASSISTANT_ENABLED": true, "_APP_ASSISTANT_ENABLED": true,
"_APP_DOMAIN_SITES": "sites.localhost", "_APP_DOMAIN_SITES": "sites.localhost,sites.example.com",
"_APP_DOMAIN_FUNCTIONS": "functions.localhost", "_APP_DOMAIN_FUNCTIONS": "functions.localhost",
"_APP_OPTIONS_FORCE_HTTPS": "enabled", "_APP_OPTIONS_FORCE_HTTPS": "enabled",
"_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com" "_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com"

View file

@ -42755,6 +42755,18 @@
{ {
"$ref": "#\/components\/schemas\/columnPolygon" "$ref": "#\/components\/schemas\/columnPolygon"
}, },
{
"$ref": "#\/components\/schemas\/columnVarchar"
},
{
"$ref": "#\/components\/schemas\/columnText"
},
{
"$ref": "#\/components\/schemas\/columnMediumtext"
},
{
"$ref": "#\/components\/schemas\/columnLongtext"
},
{ {
"$ref": "#\/components\/schemas\/columnString" "$ref": "#\/components\/schemas\/columnString"
} }
@ -42849,6 +42861,18 @@
{ {
"$ref": "#\/components\/schemas\/columnPolygon" "$ref": "#\/components\/schemas\/columnPolygon"
}, },
{
"$ref": "#\/components\/schemas\/columnVarchar"
},
{
"$ref": "#\/components\/schemas\/columnText"
},
{
"$ref": "#\/components\/schemas\/columnMediumtext"
},
{
"$ref": "#\/components\/schemas\/columnLongtext"
},
{ {
"$ref": "#\/components\/schemas\/columnString" "$ref": "#\/components\/schemas\/columnString"
} }

View file

@ -54689,6 +54689,18 @@
{ {
"$ref": "#\/components\/schemas\/columnPolygon" "$ref": "#\/components\/schemas\/columnPolygon"
}, },
{
"$ref": "#\/components\/schemas\/columnVarchar"
},
{
"$ref": "#\/components\/schemas\/columnText"
},
{
"$ref": "#\/components\/schemas\/columnMediumtext"
},
{
"$ref": "#\/components\/schemas\/columnLongtext"
},
{ {
"$ref": "#\/components\/schemas\/columnString" "$ref": "#\/components\/schemas\/columnString"
} }
@ -54783,6 +54795,18 @@
{ {
"$ref": "#\/components\/schemas\/columnPolygon" "$ref": "#\/components\/schemas\/columnPolygon"
}, },
{
"$ref": "#\/components\/schemas\/columnVarchar"
},
{
"$ref": "#\/components\/schemas\/columnText"
},
{
"$ref": "#\/components\/schemas\/columnMediumtext"
},
{
"$ref": "#\/components\/schemas\/columnLongtext"
},
{ {
"$ref": "#\/components\/schemas\/columnString" "$ref": "#\/components\/schemas\/columnString"
} }
@ -63690,8 +63714,8 @@
}, },
"_APP_DOMAIN_SITES": { "_APP_DOMAIN_SITES": {
"type": "string", "type": "string",
"description": "A domain to use for site URLs.", "description": "A comma separated list of domains to use for site URLs.",
"x-example": "sites.localhost" "x-example": "sites.localhost,sites.example.com"
}, },
"_APP_DOMAIN_FUNCTIONS": { "_APP_DOMAIN_FUNCTIONS": {
"type": "string", "type": "string",
@ -63738,7 +63762,7 @@
"_APP_VCS_ENABLED": true, "_APP_VCS_ENABLED": true,
"_APP_DOMAIN_ENABLED": true, "_APP_DOMAIN_ENABLED": true,
"_APP_ASSISTANT_ENABLED": true, "_APP_ASSISTANT_ENABLED": true,
"_APP_DOMAIN_SITES": "sites.localhost", "_APP_DOMAIN_SITES": "sites.localhost,sites.example.com",
"_APP_DOMAIN_FUNCTIONS": "functions.localhost", "_APP_DOMAIN_FUNCTIONS": "functions.localhost",
"_APP_OPTIONS_FORCE_HTTPS": "enabled", "_APP_OPTIONS_FORCE_HTTPS": "enabled",
"_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com" "_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com"

View file

@ -42755,6 +42755,18 @@
{ {
"$ref": "#\/components\/schemas\/columnPolygon" "$ref": "#\/components\/schemas\/columnPolygon"
}, },
{
"$ref": "#\/components\/schemas\/columnVarchar"
},
{
"$ref": "#\/components\/schemas\/columnText"
},
{
"$ref": "#\/components\/schemas\/columnMediumtext"
},
{
"$ref": "#\/components\/schemas\/columnLongtext"
},
{ {
"$ref": "#\/components\/schemas\/columnString" "$ref": "#\/components\/schemas\/columnString"
} }
@ -42849,6 +42861,18 @@
{ {
"$ref": "#\/components\/schemas\/columnPolygon" "$ref": "#\/components\/schemas\/columnPolygon"
}, },
{
"$ref": "#\/components\/schemas\/columnVarchar"
},
{
"$ref": "#\/components\/schemas\/columnText"
},
{
"$ref": "#\/components\/schemas\/columnMediumtext"
},
{
"$ref": "#\/components\/schemas\/columnLongtext"
},
{ {
"$ref": "#\/components\/schemas\/columnString" "$ref": "#\/components\/schemas\/columnString"
} }

View file

@ -54493,6 +54493,18 @@
{ {
"$ref": "#\/definitions\/columnPolygon" "$ref": "#\/definitions\/columnPolygon"
}, },
{
"$ref": "#\/definitions\/columnVarchar"
},
{
"$ref": "#\/definitions\/columnText"
},
{
"$ref": "#\/definitions\/columnMediumtext"
},
{
"$ref": "#\/definitions\/columnLongtext"
},
{ {
"$ref": "#\/definitions\/columnString" "$ref": "#\/definitions\/columnString"
} }
@ -54588,6 +54600,18 @@
{ {
"$ref": "#\/definitions\/columnPolygon" "$ref": "#\/definitions\/columnPolygon"
}, },
{
"$ref": "#\/definitions\/columnVarchar"
},
{
"$ref": "#\/definitions\/columnText"
},
{
"$ref": "#\/definitions\/columnMediumtext"
},
{
"$ref": "#\/definitions\/columnLongtext"
},
{ {
"$ref": "#\/definitions\/columnString" "$ref": "#\/definitions\/columnString"
} }
@ -63606,8 +63630,8 @@
}, },
"_APP_DOMAIN_SITES": { "_APP_DOMAIN_SITES": {
"type": "string", "type": "string",
"description": "A domain to use for site URLs.", "description": "A comma separated list of domains to use for site URLs.",
"x-example": "sites.localhost" "x-example": "sites.localhost,sites.example.com"
}, },
"_APP_DOMAIN_FUNCTIONS": { "_APP_DOMAIN_FUNCTIONS": {
"type": "string", "type": "string",
@ -63654,7 +63678,7 @@
"_APP_VCS_ENABLED": true, "_APP_VCS_ENABLED": true,
"_APP_DOMAIN_ENABLED": true, "_APP_DOMAIN_ENABLED": true,
"_APP_ASSISTANT_ENABLED": true, "_APP_ASSISTANT_ENABLED": true,
"_APP_DOMAIN_SITES": "sites.localhost", "_APP_DOMAIN_SITES": "sites.localhost,sites.example.com",
"_APP_DOMAIN_FUNCTIONS": "functions.localhost", "_APP_DOMAIN_FUNCTIONS": "functions.localhost",
"_APP_OPTIONS_FORCE_HTTPS": "enabled", "_APP_OPTIONS_FORCE_HTTPS": "enabled",
"_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com" "_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com"

View file

@ -42656,6 +42656,18 @@
{ {
"$ref": "#\/definitions\/columnPolygon" "$ref": "#\/definitions\/columnPolygon"
}, },
{
"$ref": "#\/definitions\/columnVarchar"
},
{
"$ref": "#\/definitions\/columnText"
},
{
"$ref": "#\/definitions\/columnMediumtext"
},
{
"$ref": "#\/definitions\/columnLongtext"
},
{ {
"$ref": "#\/definitions\/columnString" "$ref": "#\/definitions\/columnString"
} }
@ -42751,6 +42763,18 @@
{ {
"$ref": "#\/definitions\/columnPolygon" "$ref": "#\/definitions\/columnPolygon"
}, },
{
"$ref": "#\/definitions\/columnVarchar"
},
{
"$ref": "#\/definitions\/columnText"
},
{
"$ref": "#\/definitions\/columnMediumtext"
},
{
"$ref": "#\/definitions\/columnLongtext"
},
{ {
"$ref": "#\/definitions\/columnString" "$ref": "#\/definitions\/columnString"
} }

View file

@ -54493,6 +54493,18 @@
{ {
"$ref": "#\/definitions\/columnPolygon" "$ref": "#\/definitions\/columnPolygon"
}, },
{
"$ref": "#\/definitions\/columnVarchar"
},
{
"$ref": "#\/definitions\/columnText"
},
{
"$ref": "#\/definitions\/columnMediumtext"
},
{
"$ref": "#\/definitions\/columnLongtext"
},
{ {
"$ref": "#\/definitions\/columnString" "$ref": "#\/definitions\/columnString"
} }
@ -54588,6 +54600,18 @@
{ {
"$ref": "#\/definitions\/columnPolygon" "$ref": "#\/definitions\/columnPolygon"
}, },
{
"$ref": "#\/definitions\/columnVarchar"
},
{
"$ref": "#\/definitions\/columnText"
},
{
"$ref": "#\/definitions\/columnMediumtext"
},
{
"$ref": "#\/definitions\/columnLongtext"
},
{ {
"$ref": "#\/definitions\/columnString" "$ref": "#\/definitions\/columnString"
} }
@ -63606,8 +63630,8 @@
}, },
"_APP_DOMAIN_SITES": { "_APP_DOMAIN_SITES": {
"type": "string", "type": "string",
"description": "A domain to use for site URLs.", "description": "A comma separated list of domains to use for site URLs.",
"x-example": "sites.localhost" "x-example": "sites.localhost,sites.example.com"
}, },
"_APP_DOMAIN_FUNCTIONS": { "_APP_DOMAIN_FUNCTIONS": {
"type": "string", "type": "string",
@ -63654,7 +63678,7 @@
"_APP_VCS_ENABLED": true, "_APP_VCS_ENABLED": true,
"_APP_DOMAIN_ENABLED": true, "_APP_DOMAIN_ENABLED": true,
"_APP_ASSISTANT_ENABLED": true, "_APP_ASSISTANT_ENABLED": true,
"_APP_DOMAIN_SITES": "sites.localhost", "_APP_DOMAIN_SITES": "sites.localhost,sites.example.com",
"_APP_DOMAIN_FUNCTIONS": "functions.localhost", "_APP_DOMAIN_FUNCTIONS": "functions.localhost",
"_APP_OPTIONS_FORCE_HTTPS": "enabled", "_APP_OPTIONS_FORCE_HTTPS": "enabled",
"_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com" "_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com"

View file

@ -42656,6 +42656,18 @@
{ {
"$ref": "#\/definitions\/columnPolygon" "$ref": "#\/definitions\/columnPolygon"
}, },
{
"$ref": "#\/definitions\/columnVarchar"
},
{
"$ref": "#\/definitions\/columnText"
},
{
"$ref": "#\/definitions\/columnMediumtext"
},
{
"$ref": "#\/definitions\/columnLongtext"
},
{ {
"$ref": "#\/definitions\/columnString" "$ref": "#\/definitions\/columnString"
} }
@ -42751,6 +42763,18 @@
{ {
"$ref": "#\/definitions\/columnPolygon" "$ref": "#\/definitions\/columnPolygon"
}, },
{
"$ref": "#\/definitions\/columnVarchar"
},
{
"$ref": "#\/definitions\/columnText"
},
{
"$ref": "#\/definitions\/columnMediumtext"
},
{
"$ref": "#\/definitions\/columnLongtext"
},
{ {
"$ref": "#\/definitions\/columnString" "$ref": "#\/definitions\/columnString"
} }

12
composer.lock generated
View file

@ -5546,16 +5546,16 @@
"packages-dev": [ "packages-dev": [
{ {
"name": "appwrite/sdk-generator", "name": "appwrite/sdk-generator",
"version": "1.8.23", "version": "1.8.24",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/appwrite/sdk-generator.git", "url": "https://github.com/appwrite/sdk-generator.git",
"reference": "b80b8210b4940cfcfad970c8c07ccf1eee74c267" "reference": "6bfe521d2b6762d1da94c234f6ef4eab54e5e269"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/b80b8210b4940cfcfad970c8c07ccf1eee74c267", "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/6bfe521d2b6762d1da94c234f6ef4eab54e5e269",
"reference": "b80b8210b4940cfcfad970c8c07ccf1eee74c267", "reference": "6bfe521d2b6762d1da94c234f6ef4eab54e5e269",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5591,9 +5591,9 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"support": { "support": {
"issues": "https://github.com/appwrite/sdk-generator/issues", "issues": "https://github.com/appwrite/sdk-generator/issues",
"source": "https://github.com/appwrite/sdk-generator/tree/1.8.23" "source": "https://github.com/appwrite/sdk-generator/tree/1.8.24"
}, },
"time": "2026-02-03T09:20:19+00:00" "time": "2026-02-04T04:42:05+00:00"
}, },
{ {
"name": "doctrine/annotations", "name": "doctrine/annotations",

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 13.2.1
- Fix site domain construction
## 13.2.0 ## 13.2.0
- Feat: Add dedicated commands for text-based attribute management: - Feat: Add dedicated commands for text-based attribute management:

View file

@ -78,9 +78,9 @@ class ConsoleVariables extends Model
]) ])
->addRule('_APP_DOMAIN_SITES', [ ->addRule('_APP_DOMAIN_SITES', [
'type' => self::TYPE_STRING, 'type' => self::TYPE_STRING,
'description' => 'A domain to use for site URLs.', 'description' => 'A comma separated list of domains to use for site URLs.',
'default' => '', 'default' => '',
'example' => 'sites.localhost', 'example' => 'sites.localhost,sites.example.com',
]) ])
->addRule('_APP_DOMAIN_FUNCTIONS', [ ->addRule('_APP_DOMAIN_FUNCTIONS', [
'type' => self::TYPE_STRING, 'type' => self::TYPE_STRING,