diff --git a/app/config/function-templates.php b/app/config/function-templates.php
index 7254c602cd..7dc039e08d 100644
--- a/app/config/function-templates.php
+++ b/app/config/function-templates.php
@@ -3,7 +3,7 @@
const TEMPLATE_RUNTIMES = [
'NODE' => [
'name' => 'node',
- 'versions' => ['22.0', '21.0', '20.0', '19.0', '18.0', '16.0', '14.5']
+ 'versions' => ['22', '21.0', '20.0', '19.0', '18.0', '16.0', '14.5']
],
'PYTHON' => [
'name' => 'python',
@@ -21,6 +21,10 @@ const TEMPLATE_RUNTIMES = [
'name' => 'php',
'versions' => ['8.3', '8.2', '8.1', '8.0']
],
+ 'DENO' => [
+ 'name' => 'deno',
+ 'versions' => ['2.0', '1.46', '1.40', '1.35', '1.24', '1.21']
+ ],
'BUN' => [
'name' => 'bun',
'versions' => ['1.1', '1.0']
@@ -29,10 +33,6 @@ const TEMPLATE_RUNTIMES = [
'name' => 'ruby',
'versions' => ['3.3', '3.2', '3.1', '3.0']
],
- 'DENO' => [
- 'name' => 'deno',
- 'versions' => ['2.0', '1.46', '1.40', '1.35', '1.24', '1.21']
- ],
];
function getRuntimes($runtime, $commands, $entrypoint, $providerRootDirectory, $versionsDenyList = [])
@@ -55,7 +55,7 @@ return [
'id' => 'starter',
'name' => 'Starter function',
'tagline' =>
- 'A simple function to get started. Edit this function to explore endless possibilities with Appwrite Functions.',
+ 'A simple function to get started. Edit this function to explore endless possibilities with Appwrite Functions.',
'permissions' => ['any'],
'events' => [],
'cron' => '',
@@ -77,9 +77,9 @@ return [
'src/index.php',
'php/starter'
),
+ ...getRuntimes(TEMPLATE_RUNTIMES['DENO'], 'deno cache src/main.ts', 'src/main.ts', 'deno/starter'),
...getRuntimes(TEMPLATE_RUNTIMES['BUN'], 'bun install', 'src/main.ts', 'bun/starter'),
...getRuntimes(TEMPLATE_RUNTIMES['RUBY'], 'bundle install', 'lib/main.rb', 'ruby/starter'),
- ...getRuntimes(TEMPLATE_RUNTIMES['DENO'], 'deno cache src/main.ts', 'src/main.ts', 'deno/starter'),
],
'instructions' => 'For documentation and instructions check out file.',
'vcsProvider' => 'github',
@@ -126,7 +126,7 @@ return [
'description' => 'Authentication token to access your Upstash Vector database. Learn more.',
'value' => '',
'placeholder' =>
- 'oe4wNTbwHVLcDNa6oceZfhBEABsCNYh43ii6Xdq4bKBH7mq7qJkUmc4cs3ABbYyuVKWZTxVQjiNjYgydn2dkhABNes4NAuDpj7qxUAmZYqGJT78',
+ 'oe4wNTbwHVLcDNa6oceZfhBEABsCNYh43ii6Xdq4bKBH7mq7qJkUmc4cs3ABbYyuVKWZTxVQjiNjYgydn2dkhABNes4NAuDpj7qxUAmZYqGJT78',
'required' => true,
'type' => 'password'
]
@@ -232,7 +232,7 @@ return [
'id' => 'query-mongo-atlas',
'name' => 'Query MongoDB Atlas',
'tagline' =>
- 'Realtime NoSQL document database with geospecial, graph, search, and vector suport.',
+ 'Realtime NoSQL document database with geospecial, graph, search, and vector suport.',
'permissions' => ['any'],
'events' => [],
'cron' => '',
@@ -257,7 +257,7 @@ return [
'description' => 'The endpoint to connect to your Mongo database. Learn more.',
'value' => '',
'placeholder' =>
- 'mongodb+srv://appwrite:Yx42hafg7Q4fgkxe@cluster0.7mslfog.mongodb.net/?retryWrites=true&w=majority&appName=Appwrite',
+ 'mongodb+srv://appwrite:Yx42hafg7Q4fgkxe@cluster0.7mslfog.mongodb.net/?retryWrites=true&w=majority&appName=Appwrite',
'required' => true,
'type' => 'password'
]
@@ -269,7 +269,7 @@ return [
'id' => 'query-neon-postgres',
'name' => 'Query Neon Postgres',
'tagline' =>
- 'Reliable SQL database with replication, point-in-time recovery, and pgvector support.',
+ 'Reliable SQL database with replication, point-in-time recovery, and pgvector support.',
'permissions' => ['any'],
'events' => [],
'cron' => '',
@@ -496,7 +496,7 @@ return [
'id' => 'censor-with-redact',
'name' => 'Censor with Redact',
'tagline' =>
- 'Censor sensitive information from a provided text string using Redact API by Pangea.',
+ 'Censor sensitive information from a provided text string using Redact API by Pangea.',
'permissions' => ['any'],
'events' => [],
'cron' => '',
@@ -565,7 +565,7 @@ return [
'id' => 'github-issue-bot',
'name' => 'GitHub issue bot',
'tagline' =>
- 'Automate the process of responding to newly opened issues in a GitHub repository.',
+ 'Automate the process of responding to newly opened issues in a GitHub repository.',
'permissions' => ['any'],
'events' => [],
'cron' => '',
@@ -2070,4 +2070,4 @@ return [
],
'scopes' => ['users.read', 'users.write']
]
-];
+];
\ No newline at end of file
diff --git a/composer.lock b/composer.lock
index 4c74676d73..1e8c69c70b 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "89ebc75f08cd9ee5a5cccd64d0f9938a",
+ "content-hash": "f05357728316c79037d22ee26afd2d3e",
"packages": [
{
"name": "adhocore/jwt",
@@ -157,16 +157,16 @@
},
{
"name": "appwrite/php-runtimes",
- "version": "0.16.0",
+ "version": "0.16.1",
"source": {
"type": "git",
"url": "https://github.com/appwrite/runtimes.git",
- "reference": "0ccc89e5ed2d2fec757139a50626179b76c579d9"
+ "reference": "b36da25768c2dc66908ae226f6eed1b073a6f642"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/appwrite/runtimes/zipball/0ccc89e5ed2d2fec757139a50626179b76c579d9",
- "reference": "0ccc89e5ed2d2fec757139a50626179b76c579d9",
+ "url": "https://api.github.com/repos/appwrite/runtimes/zipball/b36da25768c2dc66908ae226f6eed1b073a6f642",
+ "reference": "b36da25768c2dc66908ae226f6eed1b073a6f642",
"shasum": ""
},
"require": {
@@ -206,9 +206,9 @@
],
"support": {
"issues": "https://github.com/appwrite/runtimes/issues",
- "source": "https://github.com/appwrite/runtimes/tree/0.16.0"
+ "source": "https://github.com/appwrite/runtimes/tree/0.16.1"
},
- "time": "2024-10-08T12:49:05+00:00"
+ "time": "2024-10-09T10:27:14+00:00"
},
{
"name": "beberlei/assert",
@@ -2124,16 +2124,16 @@
},
{
"name": "utopia-php/messaging",
- "version": "0.12.0",
+ "version": "0.12.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/messaging.git",
- "reference": "6e466d3511981291843c6ebf9ce3f44fc75e37b0"
+ "reference": "b9dfafb5efc1d12cbee01d03dc98853ef026e35b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/utopia-php/messaging/zipball/6e466d3511981291843c6ebf9ce3f44fc75e37b0",
- "reference": "6e466d3511981291843c6ebf9ce3f44fc75e37b0",
+ "url": "https://api.github.com/repos/utopia-php/messaging/zipball/b9dfafb5efc1d12cbee01d03dc98853ef026e35b",
+ "reference": "b9dfafb5efc1d12cbee01d03dc98853ef026e35b",
"shasum": ""
},
"require": {
@@ -2169,9 +2169,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/messaging/issues",
- "source": "https://github.com/utopia-php/messaging/tree/0.12.0"
+ "source": "https://github.com/utopia-php/messaging/tree/0.12.1"
},
- "time": "2024-05-30T14:58:25+00:00"
+ "time": "2024-10-09T08:17:07+00:00"
},
{
"name": "utopia-php/migration",
@@ -3573,16 +3573,16 @@
},
{
"name": "nikic/php-parser",
- "version": "v5.3.0",
+ "version": "v5.3.1",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a"
+ "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/3abf7425cd284141dc5d8d14a9ee444de3345d1a",
- "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b",
+ "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b",
"shasum": ""
},
"require": {
@@ -3625,9 +3625,9 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.0"
+ "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1"
},
- "time": "2024-09-29T13:56:26+00:00"
+ "time": "2024-10-08T18:51:32+00:00"
},
{
"name": "phar-io/manifest",
diff --git a/src/Appwrite/Utopia/Response/Model/Migration.php b/src/Appwrite/Utopia/Response/Model/Migration.php
index 5a54eef3ad..bb13c2cb04 100644
--- a/src/Appwrite/Utopia/Response/Model/Migration.php
+++ b/src/Appwrite/Utopia/Response/Model/Migration.php
@@ -18,7 +18,7 @@ class Migration extends Model
])
->addRule('$createdAt', [
'type' => self::TYPE_DATETIME,
- 'description' => 'Variable creation date in ISO 8601 format.',
+ 'description' => 'Migration creation date in ISO 8601 format.',
'default' => '',
'example' => self::TYPE_DATETIME_EXAMPLE,
])