diff --git a/app/config/sdks.php b/app/config/sdks.php index a28407f2ba..df1db80e5d 100644 --- a/app/config/sdks.php +++ b/app/config/sdks.php @@ -227,7 +227,7 @@ return [ [ 'key' => 'cli', 'name' => 'Command Line', - 'version' => '13.2.0', + 'version' => '13.2.1', 'url' => 'https://github.com/appwrite/sdk-for-cli', 'package' => 'https://www.npmjs.com/package/appwrite-cli', 'enabled' => true, diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 501cfd949e..d82b0f6cb9 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -54689,6 +54689,18 @@ { "$ref": "#\/components\/schemas\/columnPolygon" }, + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, { "$ref": "#\/components\/schemas\/columnString" } @@ -54783,6 +54795,18 @@ { "$ref": "#\/components\/schemas\/columnPolygon" }, + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, { "$ref": "#\/components\/schemas\/columnString" } @@ -63690,8 +63714,8 @@ }, "_APP_DOMAIN_SITES": { "type": "string", - "description": "A domain to use for site URLs.", - "x-example": "sites.localhost" + "description": "A comma separated list of domains to use for site URLs.", + "x-example": "sites.localhost,sites.example.com" }, "_APP_DOMAIN_FUNCTIONS": { "type": "string", @@ -63738,7 +63762,7 @@ "_APP_VCS_ENABLED": true, "_APP_DOMAIN_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_OPTIONS_FORCE_HTTPS": "enabled", "_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com" diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 16d0f92c7d..f63942090c 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -42755,6 +42755,18 @@ { "$ref": "#\/components\/schemas\/columnPolygon" }, + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, { "$ref": "#\/components\/schemas\/columnString" } @@ -42849,6 +42861,18 @@ { "$ref": "#\/components\/schemas\/columnPolygon" }, + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, { "$ref": "#\/components\/schemas\/columnString" } diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 501cfd949e..d82b0f6cb9 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -54689,6 +54689,18 @@ { "$ref": "#\/components\/schemas\/columnPolygon" }, + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, { "$ref": "#\/components\/schemas\/columnString" } @@ -54783,6 +54795,18 @@ { "$ref": "#\/components\/schemas\/columnPolygon" }, + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, { "$ref": "#\/components\/schemas\/columnString" } @@ -63690,8 +63714,8 @@ }, "_APP_DOMAIN_SITES": { "type": "string", - "description": "A domain to use for site URLs.", - "x-example": "sites.localhost" + "description": "A comma separated list of domains to use for site URLs.", + "x-example": "sites.localhost,sites.example.com" }, "_APP_DOMAIN_FUNCTIONS": { "type": "string", @@ -63738,7 +63762,7 @@ "_APP_VCS_ENABLED": true, "_APP_DOMAIN_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_OPTIONS_FORCE_HTTPS": "enabled", "_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com" diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 16d0f92c7d..f63942090c 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -42755,6 +42755,18 @@ { "$ref": "#\/components\/schemas\/columnPolygon" }, + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, { "$ref": "#\/components\/schemas\/columnString" } @@ -42849,6 +42861,18 @@ { "$ref": "#\/components\/schemas\/columnPolygon" }, + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, { "$ref": "#\/components\/schemas\/columnString" } diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 4ff17f347b..037da99b91 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -54493,6 +54493,18 @@ { "$ref": "#\/definitions\/columnPolygon" }, + { + "$ref": "#\/definitions\/columnVarchar" + }, + { + "$ref": "#\/definitions\/columnText" + }, + { + "$ref": "#\/definitions\/columnMediumtext" + }, + { + "$ref": "#\/definitions\/columnLongtext" + }, { "$ref": "#\/definitions\/columnString" } @@ -54588,6 +54600,18 @@ { "$ref": "#\/definitions\/columnPolygon" }, + { + "$ref": "#\/definitions\/columnVarchar" + }, + { + "$ref": "#\/definitions\/columnText" + }, + { + "$ref": "#\/definitions\/columnMediumtext" + }, + { + "$ref": "#\/definitions\/columnLongtext" + }, { "$ref": "#\/definitions\/columnString" } @@ -63606,8 +63630,8 @@ }, "_APP_DOMAIN_SITES": { "type": "string", - "description": "A domain to use for site URLs.", - "x-example": "sites.localhost" + "description": "A comma separated list of domains to use for site URLs.", + "x-example": "sites.localhost,sites.example.com" }, "_APP_DOMAIN_FUNCTIONS": { "type": "string", @@ -63654,7 +63678,7 @@ "_APP_VCS_ENABLED": true, "_APP_DOMAIN_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_OPTIONS_FORCE_HTTPS": "enabled", "_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com" diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 90b1114218..83f6a7ab7e 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -42656,6 +42656,18 @@ { "$ref": "#\/definitions\/columnPolygon" }, + { + "$ref": "#\/definitions\/columnVarchar" + }, + { + "$ref": "#\/definitions\/columnText" + }, + { + "$ref": "#\/definitions\/columnMediumtext" + }, + { + "$ref": "#\/definitions\/columnLongtext" + }, { "$ref": "#\/definitions\/columnString" } @@ -42751,6 +42763,18 @@ { "$ref": "#\/definitions\/columnPolygon" }, + { + "$ref": "#\/definitions\/columnVarchar" + }, + { + "$ref": "#\/definitions\/columnText" + }, + { + "$ref": "#\/definitions\/columnMediumtext" + }, + { + "$ref": "#\/definitions\/columnLongtext" + }, { "$ref": "#\/definitions\/columnString" } diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 4ff17f347b..037da99b91 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -54493,6 +54493,18 @@ { "$ref": "#\/definitions\/columnPolygon" }, + { + "$ref": "#\/definitions\/columnVarchar" + }, + { + "$ref": "#\/definitions\/columnText" + }, + { + "$ref": "#\/definitions\/columnMediumtext" + }, + { + "$ref": "#\/definitions\/columnLongtext" + }, { "$ref": "#\/definitions\/columnString" } @@ -54588,6 +54600,18 @@ { "$ref": "#\/definitions\/columnPolygon" }, + { + "$ref": "#\/definitions\/columnVarchar" + }, + { + "$ref": "#\/definitions\/columnText" + }, + { + "$ref": "#\/definitions\/columnMediumtext" + }, + { + "$ref": "#\/definitions\/columnLongtext" + }, { "$ref": "#\/definitions\/columnString" } @@ -63606,8 +63630,8 @@ }, "_APP_DOMAIN_SITES": { "type": "string", - "description": "A domain to use for site URLs.", - "x-example": "sites.localhost" + "description": "A comma separated list of domains to use for site URLs.", + "x-example": "sites.localhost,sites.example.com" }, "_APP_DOMAIN_FUNCTIONS": { "type": "string", @@ -63654,7 +63678,7 @@ "_APP_VCS_ENABLED": true, "_APP_DOMAIN_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_OPTIONS_FORCE_HTTPS": "enabled", "_APP_DOMAINS_NAMESERVERS": "ns1.example.com,ns2.example.com" diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 90b1114218..83f6a7ab7e 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -42656,6 +42656,18 @@ { "$ref": "#\/definitions\/columnPolygon" }, + { + "$ref": "#\/definitions\/columnVarchar" + }, + { + "$ref": "#\/definitions\/columnText" + }, + { + "$ref": "#\/definitions\/columnMediumtext" + }, + { + "$ref": "#\/definitions\/columnLongtext" + }, { "$ref": "#\/definitions\/columnString" } @@ -42751,6 +42763,18 @@ { "$ref": "#\/definitions\/columnPolygon" }, + { + "$ref": "#\/definitions\/columnVarchar" + }, + { + "$ref": "#\/definitions\/columnText" + }, + { + "$ref": "#\/definitions\/columnMediumtext" + }, + { + "$ref": "#\/definitions\/columnLongtext" + }, { "$ref": "#\/definitions\/columnString" } diff --git a/composer.lock b/composer.lock index 1cbaf19d00..9f92beb7a2 100644 --- a/composer.lock +++ b/composer.lock @@ -5546,16 +5546,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.8.23", + "version": "1.8.24", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "b80b8210b4940cfcfad970c8c07ccf1eee74c267" + "reference": "6bfe521d2b6762d1da94c234f6ef4eab54e5e269" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/b80b8210b4940cfcfad970c8c07ccf1eee74c267", - "reference": "b80b8210b4940cfcfad970c8c07ccf1eee74c267", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/6bfe521d2b6762d1da94c234f6ef4eab54e5e269", + "reference": "6bfe521d2b6762d1da94c234f6ef4eab54e5e269", "shasum": "" }, "require": { @@ -5591,9 +5591,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "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", diff --git a/docs/sdks/cli/CHANGELOG.md b/docs/sdks/cli/CHANGELOG.md index 275d889f5c..fb78f638c0 100644 --- a/docs/sdks/cli/CHANGELOG.md +++ b/docs/sdks/cli/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 13.2.1 + +- Fix site domain construction + ## 13.2.0 - Feat: Add dedicated commands for text-based attribute management: diff --git a/src/Appwrite/Utopia/Response/Model/ConsoleVariables.php b/src/Appwrite/Utopia/Response/Model/ConsoleVariables.php index 4451769384..cf8ae796e0 100644 --- a/src/Appwrite/Utopia/Response/Model/ConsoleVariables.php +++ b/src/Appwrite/Utopia/Response/Model/ConsoleVariables.php @@ -78,9 +78,9 @@ class ConsoleVariables extends Model ]) ->addRule('_APP_DOMAIN_SITES', [ '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' => '', - 'example' => 'sites.localhost', + 'example' => 'sites.localhost,sites.example.com', ]) ->addRule('_APP_DOMAIN_FUNCTIONS', [ 'type' => self::TYPE_STRING,