mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Merge pull request #10138 from appwrite/update-react-native-0.10.1
chore: update react native to 0.10.1 and dotnet to 0.14.0
This commit is contained in:
commit
0f38bb689f
6 changed files with 97 additions and 12 deletions
|
|
@ -134,7 +134,7 @@ return [
|
|||
[
|
||||
'key' => 'react-native',
|
||||
'name' => 'React Native',
|
||||
'version' => '0.10.0',
|
||||
'version' => '0.10.1',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-react-native',
|
||||
'package' => 'https://npmjs.com/package/react-native-appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -358,7 +358,7 @@ return [
|
|||
[
|
||||
'key' => 'dotnet',
|
||||
'name' => '.NET',
|
||||
'version' => '0.13.0',
|
||||
'version' => '0.14.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-dotnet',
|
||||
'package' => 'https://www.nuget.org/packages/Appwrite',
|
||||
'enabled' => true,
|
||||
|
|
|
|||
16
composer.lock
generated
16
composer.lock
generated
|
|
@ -4810,16 +4810,16 @@
|
|||
"packages-dev": [
|
||||
{
|
||||
"name": "appwrite/sdk-generator",
|
||||
"version": "0.41.13",
|
||||
"version": "0.41.14",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/appwrite/sdk-generator.git",
|
||||
"reference": "7381d2d303af3450f71d0f420f127564c8d4e3d5"
|
||||
"reference": "4ffd03759236214d935cae64a369b487ecfba91f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/7381d2d303af3450f71d0f420f127564c8d4e3d5",
|
||||
"reference": "7381d2d303af3450f71d0f420f127564c8d4e3d5",
|
||||
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/4ffd03759236214d935cae64a369b487ecfba91f",
|
||||
"reference": "4ffd03759236214d935cae64a369b487ecfba91f",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -4855,9 +4855,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/0.41.13"
|
||||
"source": "https://github.com/appwrite/sdk-generator/tree/0.41.14"
|
||||
},
|
||||
"time": "2025-07-11T10:18:51+00:00"
|
||||
"time": "2025-07-12T06:43:12+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/annotations",
|
||||
|
|
@ -8239,7 +8239,7 @@
|
|||
],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
"stability-flags": {},
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": {
|
||||
|
|
@ -8263,5 +8263,5 @@
|
|||
"platform-overrides": {
|
||||
"php": "8.3"
|
||||
},
|
||||
"plugin-api-version": "2.3.0"
|
||||
"plugin-api-version": "2.6.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
|
||||
Document result = await databases.UpsertDocument(
|
||||
databaseId: "<DATABASE_ID>",
|
||||
collectionId: "<COLLECTION_ID>",
|
||||
documentId: "<DOCUMENT_ID>",
|
||||
data: [object],
|
||||
permissions: ["read("any")"] // optional
|
||||
);
|
||||
|
|
@ -12,5 +12,5 @@ Databases databases = new Databases(client);
|
|||
DocumentList result = await databases.UpsertDocuments(
|
||||
databaseId: "<DATABASE_ID>",
|
||||
collectionId: "<COLLECTION_ID>",
|
||||
documents: new List<object>() // optional
|
||||
documents: new List<object>()
|
||||
);
|
||||
|
|
@ -1 +1,63 @@
|
|||
# Change Log
|
||||
# Change Log
|
||||
|
||||
## 0.14.0
|
||||
|
||||
* Refactor from Newtonsoft.Json to System.Text.Json for serialization/deserialization
|
||||
* Update package dependencies in `Package.csproj.twig`
|
||||
* Migrate all serialization/deserialization logic in `Client.cs.twig`, `Query.cs.twig`, and `Extensions.cs.twig`
|
||||
* Update model attributes from `[JsonProperty]` to `[JsonPropertyName]` in `Model.cs.twig`
|
||||
* Create new `ObjectToInferredTypesConverter.cs.twig` for proper object type handling
|
||||
* Replace `JsonConverter` with `JsonConverter<object>` in `ValueClassConverter.cs.twig`
|
||||
* Update error handling to use `JsonDocument` instead of `JObject`
|
||||
|
||||
## 0.13.0
|
||||
|
||||
* Add `<REGION>` to doc examples due to the new multi region endpoints
|
||||
* Add doc examples and methods for bulk api transactions: `createDocuments`, `deleteDocuments` etc.
|
||||
* Add doc examples, class and methods for new `Sites` service
|
||||
* Add doc examples, class and methods for new `Tokens` service
|
||||
* Add enums for `BuildRuntime `, `Adapter`, `Framework`, `DeploymentDownloadType` and `VCSDeploymentType`
|
||||
* Update enum for `runtimes` with Pythonml312, Dart219, Flutter327 and Flutter329
|
||||
* Add `token` param to `getFilePreview` and `getFileView` for File tokens usage
|
||||
* Add `queries` and `search` params to `listMemberships` method
|
||||
* Remove `search` param from `listExecutions` method
|
||||
|
||||
## 0.12.0
|
||||
|
||||
* fix: remove content-type from GET requests by @loks0n in https://github.com/appwrite/sdk-for-dotnet/pull/59
|
||||
* update: min and max are not optional in methods like `UpdateIntegerAttribute` etc.
|
||||
* chore: regenerate sdk by @ChiragAgg5k in https://github.com/appwrite/sdk-for-dotnet/pull/60
|
||||
* chore: fix build error by @ChiragAgg5k in https://github.com/appwrite/sdk-for-dotnet/pull/61
|
||||
|
||||
## 0.11.0
|
||||
|
||||
* Add new push message parameters by @abnegate in https://github.com/appwrite/sdk-for-dotnet/pull/56
|
||||
|
||||
## 0.10.0
|
||||
|
||||
* fix: chunk upload by @byawitz in https://github.com/appwrite/sdk-for-dotnet/pull/52
|
||||
|
||||
## 0.9.0
|
||||
|
||||
* Support for Appwrite 1.6
|
||||
* Added `key` attribute to `Runtime` response model.
|
||||
* Added `buildSize` attribute to `Deployments` response model.
|
||||
* Added `scheduledAt` attribute to `Executions` response model.
|
||||
* Added `scopes` attribute to `Functions` response model.
|
||||
* Added `specifications` attribute to `Functions` response model.
|
||||
* Added new response model for `Specifications`.
|
||||
* Added new response model for `Builds`.
|
||||
* Added `createJWT()` : Enables creating a JWT using the `userId`.
|
||||
* Added `listSpecifications()`: Enables listing available runtime specifications.
|
||||
* Added `deleteExecution()` : Enables deleting executions.
|
||||
* Added `updateDeploymentBuild()`: Enables cancelling a deployment.
|
||||
* Added `scheduledAt` parameter to `createExecution()`: Enables creating a delayed execution
|
||||
|
||||
#### Breaking changes
|
||||
You can find the new syntax for breaking changes in the [Appwrite API references](https://appwrite.io/docs/references). Select version `1.6.x`.
|
||||
* Removed `otp` parameter from `deleteMFAAuthenticator`.
|
||||
* Added `scopes` parameter for create/update function.
|
||||
* Renamed `templateBranch` to `templateVersion` in `createFunction()`.
|
||||
* Renamed `downloadDeployment()` to `getDeploymentDownload()`
|
||||
|
||||
> **Please note: This version is compatible with Appwrite 1.6 and later only. If you do not update your Appwrite SDK, old SDKs will not break your app. Appwrite APIs are backwards compatible.**
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
# Change log
|
||||
|
||||
## 0.10.1
|
||||
|
||||
* Fix URL based methods like `getFileViewURL`, `getFilePreviewURL` etc. by adding the missing `projectId` to searchParams
|
||||
* Add `gif` to ImageFormat enum
|
||||
|
||||
## 0.10.0
|
||||
|
||||
* Add generate file URL methods like`getFilePreviewURL`, `getFileViewURL` etc.
|
||||
|
|
|
|||
Loading…
Reference in a new issue