mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Merge remote-tracking branch 'origin/1.8.x' into feat-csv-export
# Conflicts: # composer.lock
This commit is contained in:
commit
5572c4a375
21 changed files with 59 additions and 36 deletions
|
|
@ -11,7 +11,7 @@ return [
|
|||
[
|
||||
'key' => 'web',
|
||||
'name' => 'Web',
|
||||
'version' => '20.0.0',
|
||||
'version' => '20.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-web',
|
||||
'package' => 'https://www.npmjs.com/package/appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -60,7 +60,7 @@ return [
|
|||
[
|
||||
'key' => 'flutter',
|
||||
'name' => 'Flutter',
|
||||
'version' => '19.0.0',
|
||||
'version' => '19.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-flutter',
|
||||
'package' => 'https://pub.dev/packages/appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -79,7 +79,7 @@ return [
|
|||
[
|
||||
'key' => 'apple',
|
||||
'name' => 'Apple',
|
||||
'version' => '12.0.0',
|
||||
'version' => '12.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-apple',
|
||||
'package' => 'https://github.com/appwrite/sdk-for-apple',
|
||||
'enabled' => true,
|
||||
|
|
@ -116,7 +116,7 @@ return [
|
|||
[
|
||||
'key' => 'android',
|
||||
'name' => 'Android',
|
||||
'version' => '10.0.0',
|
||||
'version' => '10.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-android',
|
||||
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-android',
|
||||
'enabled' => true,
|
||||
|
|
@ -139,7 +139,7 @@ return [
|
|||
[
|
||||
'key' => 'react-native',
|
||||
'name' => 'React Native',
|
||||
'version' => '0.13.0',
|
||||
'version' => '0.14.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-react-native',
|
||||
'package' => 'https://npmjs.com/package/react-native-appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -262,7 +262,7 @@ return [
|
|||
[
|
||||
'key' => 'nodejs',
|
||||
'name' => 'Node.js',
|
||||
'version' => '19.0.0',
|
||||
'version' => '19.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-node',
|
||||
'package' => 'https://www.npmjs.com/package/node-appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -281,7 +281,7 @@ return [
|
|||
[
|
||||
'key' => 'php',
|
||||
'name' => 'PHP',
|
||||
'version' => '17.0.0',
|
||||
'version' => '17.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-php',
|
||||
'package' => 'https://packagist.org/packages/appwrite/appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -300,7 +300,7 @@ return [
|
|||
[
|
||||
'key' => 'python',
|
||||
'name' => 'Python',
|
||||
'version' => '13.0.0',
|
||||
'version' => '13.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-python',
|
||||
'package' => 'https://pypi.org/project/appwrite/',
|
||||
'enabled' => true,
|
||||
|
|
@ -319,7 +319,7 @@ return [
|
|||
[
|
||||
'key' => 'ruby',
|
||||
'name' => 'Ruby',
|
||||
'version' => '18.0.0',
|
||||
'version' => '18.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-ruby',
|
||||
'package' => 'https://rubygems.org/gems/appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -338,7 +338,7 @@ return [
|
|||
[
|
||||
'key' => 'go',
|
||||
'name' => 'Go',
|
||||
'version' => '0.11.0',
|
||||
'version' => '0.12.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-go',
|
||||
'package' => 'https://github.com/appwrite/sdk-for-go',
|
||||
'enabled' => true,
|
||||
|
|
@ -357,7 +357,7 @@ return [
|
|||
[
|
||||
'key' => 'dotnet',
|
||||
'name' => '.NET',
|
||||
'version' => '0.17.0',
|
||||
'version' => '0.18.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-dotnet',
|
||||
'package' => 'https://www.nuget.org/packages/Appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -376,7 +376,7 @@ return [
|
|||
[
|
||||
'key' => 'dart',
|
||||
'name' => 'Dart',
|
||||
'version' => '18.0.0',
|
||||
'version' => '18.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-dart',
|
||||
'package' => 'https://pub.dev/packages/dart_appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -395,7 +395,7 @@ return [
|
|||
[
|
||||
'key' => 'kotlin',
|
||||
'name' => 'Kotlin',
|
||||
'version' => '11.0.0',
|
||||
'version' => '11.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-kotlin',
|
||||
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-kotlin',
|
||||
'enabled' => true,
|
||||
|
|
@ -418,7 +418,7 @@ return [
|
|||
[
|
||||
'key' => 'swift',
|
||||
'name' => 'Swift',
|
||||
'version' => '12.0.0',
|
||||
'version' => '12.1.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-swift',
|
||||
'package' => 'https://github.com/appwrite/sdk-for-swift',
|
||||
'enabled' => true,
|
||||
|
|
|
|||
|
|
@ -53810,7 +53810,7 @@
|
|||
"pass",
|
||||
"fail"
|
||||
],
|
||||
"x-enum-name": "HealthStatus"
|
||||
"x-enum-name": "HealthCheckStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -40998,7 +40998,7 @@
|
|||
"pass",
|
||||
"fail"
|
||||
],
|
||||
"x-enum-name": "HealthStatus"
|
||||
"x-enum-name": "HealthCheckStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -53810,7 +53810,7 @@
|
|||
"pass",
|
||||
"fail"
|
||||
],
|
||||
"x-enum-name": "HealthStatus"
|
||||
"x-enum-name": "HealthCheckStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -40998,7 +40998,7 @@
|
|||
"pass",
|
||||
"fail"
|
||||
],
|
||||
"x-enum-name": "HealthStatus"
|
||||
"x-enum-name": "HealthCheckStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -53766,7 +53766,7 @@
|
|||
"pass",
|
||||
"fail"
|
||||
],
|
||||
"x-enum-name": "HealthStatus"
|
||||
"x-enum-name": "HealthCheckStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -41035,7 +41035,7 @@
|
|||
"pass",
|
||||
"fail"
|
||||
],
|
||||
"x-enum-name": "HealthStatus"
|
||||
"x-enum-name": "HealthCheckStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -53766,7 +53766,7 @@
|
|||
"pass",
|
||||
"fail"
|
||||
],
|
||||
"x-enum-name": "HealthStatus"
|
||||
"x-enum-name": "HealthCheckStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -41035,7 +41035,7 @@
|
|||
"pass",
|
||||
"fail"
|
||||
],
|
||||
"x-enum-name": "HealthStatus"
|
||||
"x-enum-name": "HealthCheckStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -24,12 +24,12 @@ mutation {
|
|||
providerRepositoryName
|
||||
providerRepositoryOwner
|
||||
providerRepositoryUrl
|
||||
providerBranch
|
||||
providerCommitHash
|
||||
providerCommitAuthorUrl
|
||||
providerCommitAuthor
|
||||
providerCommitMessage
|
||||
providerCommitUrl
|
||||
providerBranch
|
||||
providerBranchUrl
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@ mutation {
|
|||
providerRepositoryName
|
||||
providerRepositoryOwner
|
||||
providerRepositoryUrl
|
||||
providerBranch
|
||||
providerCommitHash
|
||||
providerCommitAuthorUrl
|
||||
providerCommitAuthor
|
||||
providerCommitMessage
|
||||
providerCommitUrl
|
||||
providerBranch
|
||||
providerBranchUrl
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ mutation {
|
|||
providerRepositoryName
|
||||
providerRepositoryOwner
|
||||
providerRepositoryUrl
|
||||
providerBranch
|
||||
providerCommitHash
|
||||
providerCommitAuthorUrl
|
||||
providerCommitAuthor
|
||||
providerCommitMessage
|
||||
providerCommitUrl
|
||||
providerBranch
|
||||
providerBranchUrl
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,12 +23,12 @@ mutation {
|
|||
providerRepositoryName
|
||||
providerRepositoryOwner
|
||||
providerRepositoryUrl
|
||||
providerBranch
|
||||
providerCommitHash
|
||||
providerCommitAuthorUrl
|
||||
providerCommitAuthor
|
||||
providerCommitMessage
|
||||
providerCommitUrl
|
||||
providerBranch
|
||||
providerBranchUrl
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,12 +23,12 @@ mutation {
|
|||
providerRepositoryName
|
||||
providerRepositoryOwner
|
||||
providerRepositoryUrl
|
||||
providerBranch
|
||||
providerCommitHash
|
||||
providerCommitAuthorUrl
|
||||
providerCommitAuthor
|
||||
providerCommitMessage
|
||||
providerCommitUrl
|
||||
providerBranch
|
||||
providerBranchUrl
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@ mutation {
|
|||
providerRepositoryName
|
||||
providerRepositoryOwner
|
||||
providerRepositoryUrl
|
||||
providerBranch
|
||||
providerCommitHash
|
||||
providerCommitAuthorUrl
|
||||
providerCommitAuthor
|
||||
providerCommitMessage
|
||||
providerCommitUrl
|
||||
providerBranch
|
||||
providerBranchUrl
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ mutation {
|
|||
providerRepositoryName
|
||||
providerRepositoryOwner
|
||||
providerRepositoryUrl
|
||||
providerBranch
|
||||
providerCommitHash
|
||||
providerCommitAuthorUrl
|
||||
providerCommitAuthor
|
||||
providerCommitMessage
|
||||
providerCommitUrl
|
||||
providerBranch
|
||||
providerBranchUrl
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,12 +23,12 @@ mutation {
|
|||
providerRepositoryName
|
||||
providerRepositoryOwner
|
||||
providerRepositoryUrl
|
||||
providerBranch
|
||||
providerCommitHash
|
||||
providerCommitAuthorUrl
|
||||
providerCommitAuthor
|
||||
providerCommitMessage
|
||||
providerCommitUrl
|
||||
providerBranch
|
||||
providerBranchUrl
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
# Change Log
|
||||
|
||||
## 18.1.0
|
||||
|
||||
* Add `orderRandom` query support
|
||||
|
||||
## 18.0.0
|
||||
|
||||
* Rename `CreditCard` enum value `unionChinaPay` to `unionPay`
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
# Change Log
|
||||
|
||||
## 19.1.0
|
||||
|
||||
* Add `orderRandom` query support
|
||||
|
||||
## 19.0.0
|
||||
|
||||
* Rename `CreditCard` enum value `unionChinaPay` to `unionPay`
|
||||
|
|
|
|||
|
|
@ -899,7 +899,7 @@ class Builds extends Action
|
|||
|
||||
Console::log('Build details stored');
|
||||
|
||||
$this->afterBuildSuccess($queueForRealtime, $dbForProject, $deployment);
|
||||
$this->afterBuildSuccess($queueForRealtime, $dbForProject, $deployment, $runtime, $adapter);
|
||||
$logs = $deployment->getAttribute('buildLogs', '');
|
||||
|
||||
/** Screenshot site */
|
||||
|
|
@ -1390,13 +1390,28 @@ class Builds extends Action
|
|||
* @param Realtime $queueForRealtime
|
||||
* @param Database $dbForProject
|
||||
* @param Document $deployment
|
||||
* @param array $runtime
|
||||
* @param string|null $adapter
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
protected function afterBuildSuccess(Realtime $queueForRealtime, Database $dbForProject, Document &$deployment): void
|
||||
protected function afterBuildSuccess(Realtime $queueForRealtime, Database $dbForProject, Document &$deployment, array $runtime, ?string $adapter): void
|
||||
{
|
||||
assert($queueForRealtime instanceof Realtime);
|
||||
assert($dbForProject instanceof Database);
|
||||
assert($deployment instanceof Document);
|
||||
if (!($queueForRealtime instanceof Realtime)) {
|
||||
throw new Exception('queueForRealtime must be an instance of Realtime');
|
||||
}
|
||||
if (!($dbForProject instanceof Database)) {
|
||||
throw new Exception('dbForProject must be an instance of Database');
|
||||
}
|
||||
if (!($deployment instanceof Document)) {
|
||||
throw new Exception('deployment must be an instance of Document');
|
||||
}
|
||||
if (!is_array($runtime)) {
|
||||
throw new Exception('runtime must be an array');
|
||||
}
|
||||
if (!is_string($adapter) && !is_null($adapter)) {
|
||||
throw new Exception('adapter must be a string or null');
|
||||
}
|
||||
}
|
||||
|
||||
protected function getRuntime(Document $resource, string $version): array
|
||||
|
|
|
|||
|
|
@ -627,7 +627,7 @@ abstract class Format
|
|||
case 'healthStatus':
|
||||
switch ($param) {
|
||||
case 'status':
|
||||
return 'HealthStatus';
|
||||
return 'HealthCheckStatus';
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue