1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

Updated Flutter SDK

This commit is contained in:
Eldad Fux 2020-07-10 07:01:51 +03:00
parent 571f7fb8b8
commit c64598a170
9 changed files with 186 additions and 141 deletions

View file

@ -1,3 +1,7 @@
## 0.2.3
- Fixed OAuth2 cookie bug, where a new session cookie couldn't overwrite an old cookie
## 0.2.2
- Fixed an error that happend when the OAuth session creation request was sent before any other API call

View file

@ -2,9 +2,9 @@
[![pub package](https://img.shields.io/pub/v/appwrite.svg)](https://pub.dartlang.org/packages/appwrite)
![License](https://img.shields.io/github/license/appwrite/sdk-for-flutter.svg?v=1)
![Version](https://img.shields.io/badge/api%20version-0.6.1-blue.svg?v=1)
![Version](https://img.shields.io/badge/api%20version-0.6.2-blue.svg?v=1)
**This SDK is compatible with Appwrite server version 0.6.1. For older versions, please check previous releases.**
**This SDK is compatible with Appwrite server version 0.6.2. For older versions, please check previous releases.**
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way.
Use the Flutter SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools.
@ -20,7 +20,7 @@ Add this to your package's `pubspec.yaml` file:
```yml
dependencies:
appwrite: ^0.2.2
appwrite: ^0.2.3
```
You can install packages from the command line:

View file

@ -30,7 +30,7 @@ class Client {
this.headers = {
'content-type': 'application/json',
'x-sdk-version': 'appwrite:dart:0.2.2',
'x-sdk-version': 'appwrite:dart:0.2.3',
};
this.config = {};

View file

@ -33,10 +33,10 @@ class Account extends Service {
///
/// Use this endpoint to allow a new user to register a new account in your
/// project. After the user registration completes successfully, you can use
/// the [/account/verfication](/docs/account#createVerification) route to start
/// verifying the user email address. To allow your new user to login to his
/// new account, you need to create a new [account
/// session](/docs/account#createSession).
/// the [/account/verfication](/docs/client/account#createVerification) route
/// to start verifying the user email address. To allow your new user to login
/// to his new account, you need to create a new [account
/// session](/docs/client/account#createSession).
///
Future<Response> create({@required String email, @required String password, String name = ''}) {
final String path = '/account';
@ -195,7 +195,7 @@ class Account extends Service {
/// When the user clicks the confirmation link he is redirected back to your
/// app password reset URL with the secret key and email address values
/// attached to the URL query string. Use the query string params to submit a
/// request to the [PUT /account/recovery](/docs/account#updateRecovery)
/// request to the [PUT /account/recovery](/docs/client/account#updateRecovery)
/// endpoint to complete the process.
///
Future<Response> createRecovery({@required String email, @required String url}) {
@ -218,7 +218,7 @@ class Account extends Service {
/// Use this endpoint to complete the user account password reset. Both the
/// **userId** and **secret** arguments will be passed as query parameters to
/// the redirect URL you have provided when sending your request to the [POST
/// /account/recovery](/docs/account#createRecovery) endpoint.
/// /account/recovery](/docs/client/account#createRecovery) endpoint.
///
/// Please note that in order to avoid a [Redirect
/// Attack](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md)
@ -314,12 +314,26 @@ class Account extends Service {
'project': client.config['project'],
};
final List query = [];
params.forEach((key, value) {
if (value is List) {
for (var item in value) {
query.add(Uri.encodeComponent(key + '[]') + '=' + Uri.encodeComponent(item));
}
}
else {
query.add(Uri.encodeComponent(key) + '=' + Uri.encodeComponent(value));
}
});
Uri endpoint = Uri.parse(client.endPoint);
Uri url = new Uri(scheme: endpoint.scheme,
host: endpoint.host,
port: endpoint.port,
path: endpoint.path + path,
queryParameters:params,
query: query.join('&')
);
return FlutterWebAuth.authenticate(
@ -327,9 +341,13 @@ class Account extends Service {
callbackUrlScheme: "appwrite-callback-" + client.config['project']
).then((value) async {
Uri url = Uri.parse(value);
List<Cookie> cookies = [new Cookie(url.queryParameters['key'], url.queryParameters['secret'])];
await client.init();
client.cookieJar.saveFromResponse(Uri.parse(client.endPoint), cookies);
Cookie cookie = new Cookie(url.queryParameters['key'], url.queryParameters['secret']);
cookie.domain = Uri.parse(client.endPoint).host;
cookie.httpOnly = true;
cookie.path = '/';
List<Cookie> cookies = [cookie];
await client.init();
client.cookieJar.saveFromResponse(Uri.parse(client.endPoint), cookies);
});
}
@ -361,7 +379,7 @@ class Account extends Service {
/// should redirect the user back for your app and allow you to complete the
/// verification process by verifying both the **userId** and **secret**
/// parameters. Learn more about how to [complete the verification
/// process](/docs/account#updateAccountVerification).
/// process](/docs/client/account#updateAccountVerification).
///
/// Please note that in order to avoid a [Redirect
/// Attack](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md)

View file

@ -41,7 +41,10 @@ class Database extends Service {
/// Create Document
///
/// Create a new Document.
/// Create a new Document. Before using this route, you should create a new
/// collection resource using either a [server
/// integration](/docs/server/database?sdk=nodejs#createCollection) API or
/// directly from your database console.
///
Future<Response> createDocument({@required String collectionId, @required dynamic data, @required List read, @required List write, String parentDocument = '', String parentProperty = '', String parentPropertyType = 'assign'}) {
final String path = '/database/collections/{collectionId}/documents'.replaceAll(RegExp('{collectionId}'), collectionId);

View file

@ -136,8 +136,8 @@ class Teams extends Service {
///
/// Use the 'URL' parameter to redirect the user from the invitation email back
/// to your app. When the user is redirected, use the [Update Team Membership
/// Status](/docs/teams#updateMembershipStatus) endpoint to allow the user to
/// accept the invitation to the team.
/// Status](/docs/client/teams#updateMembershipStatus) endpoint to allow the
/// user to accept the invitation to the team.
///
/// Please note that in order to avoid a [Redirect
/// Attacks](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md)

View file

@ -1,5 +1,5 @@
name: appwrite
version: 0.2.2
version: 0.2.3
description: Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API
homepage: https://appwrite.io
repository: https://github.com/appwrite/sdk-for-flutter

260
composer.lock generated
View file

@ -195,16 +195,16 @@
},
{
"name": "colinmollenhour/credis",
"version": "1.11.1",
"version": "1.11.2",
"source": {
"type": "git",
"url": "https://github.com/colinmollenhour/credis.git",
"reference": "bd1da4698ab1918477f9e71e5ff0062b9a345008"
"reference": "b8b2bd6b87d2d4df67065f3510efb80d5f9c4e53"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/colinmollenhour/credis/zipball/bd1da4698ab1918477f9e71e5ff0062b9a345008",
"reference": "bd1da4698ab1918477f9e71e5ff0062b9a345008",
"url": "https://api.github.com/repos/colinmollenhour/credis/zipball/b8b2bd6b87d2d4df67065f3510efb80d5f9c4e53",
"reference": "b8b2bd6b87d2d4df67065f3510efb80d5f9c4e53",
"shasum": ""
},
"require": {
@ -231,7 +231,7 @@
],
"description": "Credis is a lightweight interface to the Redis key-value store which wraps the phpredis library when available for better performance.",
"homepage": "https://github.com/colinmollenhour/credis",
"time": "2019-11-26T18:09:45+00:00"
"time": "2020-06-15T19:25:47+00:00"
},
{
"name": "composer/ca-bundle",
@ -485,12 +485,12 @@
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d"
"reference": "e8ed4dbf49b260ff129ff0e0400718c3269971bf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
"reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/e8ed4dbf49b260ff129ff0e0400718c3269971bf",
"reference": "e8ed4dbf49b260ff129ff0e0400718c3269971bf",
"shasum": ""
},
"require": {
@ -498,7 +498,7 @@
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1",
"php": ">=5.5",
"symfony/polyfill-intl-idn": "1.17.0"
"symfony/polyfill-intl-idn": "^1.17.0"
},
"require-dev": {
"ext-curl": "*",
@ -544,7 +544,7 @@
"rest",
"web service"
],
"time": "2020-05-25T19:35:05+00:00"
"time": "2020-07-02T06:52:04+00:00"
},
{
"name": "guzzlehttp/promises",
@ -552,24 +552,24 @@
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
"reference": "89b1a76b7fda5853401297dc4b2a093cba1fda23"
"reference": "bbf3b200bc83c1e9298580a9f99b9be248543467"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/89b1a76b7fda5853401297dc4b2a093cba1fda23",
"reference": "89b1a76b7fda5853401297dc4b2a093cba1fda23",
"url": "https://api.github.com/repos/guzzle/promises/zipball/bbf3b200bc83c1e9298580a9f99b9be248543467",
"reference": "bbf3b200bc83c1e9298580a9f99b9be248543467",
"shasum": ""
},
"require": {
"php": ">=5.6"
"php": ">=5.5"
},
"require-dev": {
"phpunit/phpunit": "^5.7.27 || ^7.5"
"phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^7.5"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
"dev-master": "1.3-dev"
}
},
"autoload": {
@ -595,7 +595,7 @@
"keywords": [
"promise"
],
"time": "2020-02-15T23:33:03+00:00"
"time": "2020-06-21T23:10:57+00:00"
},
{
"name": "guzzlehttp/psr7",
@ -840,7 +840,7 @@
"version": "dev-master",
"source": {
"type": "git",
"url": "git@github.com:mustangostang/spyc.git",
"url": "https://github.com/mustangostang/spyc.git",
"reference": "daf9fa4ef675519386b4f556c9d5ab5f9c14055a"
},
"dist": {
@ -1137,16 +1137,16 @@
},
{
"name": "symfony/polyfill-intl-idn",
"version": "v1.17.0",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git",
"reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a"
"reference": "a57f8161502549a742a63c09f0a604997bf47027"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/3bff59ea7047e925be6b7f2059d60af31bb46d6a",
"reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a",
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a57f8161502549a742a63c09f0a604997bf47027",
"reference": "a57f8161502549a742a63c09f0a604997bf47027",
"shasum": ""
},
"require": {
@ -1161,6 +1161,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -1195,7 +1199,7 @@
"portable",
"shim"
],
"time": "2020-05-12T16:47:27+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "symfony/polyfill-mbstring",
@ -1203,12 +1207,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "fa79b11539418b02fc5e1897267673ba2c19419c"
"reference": "7110338d81ce1cbc3e273136e4574663627037a7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fa79b11539418b02fc5e1897267673ba2c19419c",
"reference": "fa79b11539418b02fc5e1897267673ba2c19419c",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7110338d81ce1cbc3e273136e4574663627037a7",
"reference": "7110338d81ce1cbc3e273136e4574663627037a7",
"shasum": ""
},
"require": {
@ -1221,6 +1225,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -1254,7 +1262,7 @@
"portable",
"shim"
],
"time": "2020-05-12T16:47:27+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "symfony/polyfill-php72",
@ -1262,12 +1270,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php72.git",
"reference": "f048e612a3905f34931127360bdd2def19a5e582"
"reference": "3d9c70ff1b9f6bb618f9954b2f7f760220c2b38a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/f048e612a3905f34931127360bdd2def19a5e582",
"reference": "f048e612a3905f34931127360bdd2def19a5e582",
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/3d9c70ff1b9f6bb618f9954b2f7f760220c2b38a",
"reference": "3d9c70ff1b9f6bb618f9954b2f7f760220c2b38a",
"shasum": ""
},
"require": {
@ -1277,6 +1285,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -1309,20 +1321,20 @@
"portable",
"shim"
],
"time": "2020-05-12T16:47:27+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "utopia-php/abuse",
"version": "0.2.0",
"version": "0.2.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/abuse.git",
"reference": "8a014449fe92b5275ef5006ac7f7ecaaec23e64d"
"reference": "b485eddeda335c4f7d1a16fbf5544e37bdf195ac"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/8a014449fe92b5275ef5006ac7f7ecaaec23e64d",
"reference": "8a014449fe92b5275ef5006ac7f7ecaaec23e64d",
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/b485eddeda335c4f7d1a16fbf5544e37bdf195ac",
"reference": "b485eddeda335c4f7d1a16fbf5544e37bdf195ac",
"shasum": ""
},
"require": {
@ -1356,20 +1368,20 @@
"upf",
"utopia"
],
"time": "2019-12-28T19:43:47+00:00"
"time": "2020-06-20T11:35:08+00:00"
},
{
"name": "utopia-php/audit",
"version": "0.3.0",
"version": "0.3.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/audit.git",
"reference": "ed624c324835859b68521099de13c01c6928703f"
"reference": "7bcceba05ed640fe910e7b6b0c82d998fb9d6495"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/audit/zipball/ed624c324835859b68521099de13c01c6928703f",
"reference": "ed624c324835859b68521099de13c01c6928703f",
"url": "https://api.github.com/repos/utopia-php/audit/zipball/7bcceba05ed640fe910e7b6b0c82d998fb9d6495",
"reference": "7bcceba05ed640fe910e7b6b0c82d998fb9d6495",
"shasum": ""
},
"require": {
@ -1403,20 +1415,20 @@
"upf",
"utopia"
],
"time": "2020-04-17T19:42:29+00:00"
"time": "2020-06-20T11:36:43+00:00"
},
{
"name": "utopia-php/cache",
"version": "0.2.0",
"version": "0.2.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/cache.git",
"reference": "7c0dbf1ae1c216a2ab8c3fdb7f2c0166a2e0988d"
"reference": "52a20ae1d5e3f5be11492c4bb0af9cf2a2c07e5d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/cache/zipball/7c0dbf1ae1c216a2ab8c3fdb7f2c0166a2e0988d",
"reference": "7c0dbf1ae1c216a2ab8c3fdb7f2c0166a2e0988d",
"url": "https://api.github.com/repos/utopia-php/cache/zipball/52a20ae1d5e3f5be11492c4bb0af9cf2a2c07e5d",
"reference": "52a20ae1d5e3f5be11492c4bb0af9cf2a2c07e5d",
"shasum": ""
},
"require": {
@ -1450,7 +1462,7 @@
"upf",
"utopia"
],
"time": "2019-12-09T13:02:50+00:00"
"time": "2020-06-20T11:43:40+00:00"
},
{
"name": "utopia-php/cli",
@ -1502,16 +1514,16 @@
},
{
"name": "utopia-php/config",
"version": "0.2.0",
"version": "0.2.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/config.git",
"reference": "f1f41d3863eb00bd2837b45c2e17e8b5da1cf46d"
"reference": "48c5009c33b8426260ee7425100e716d7ed7f693"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/config/zipball/f1f41d3863eb00bd2837b45c2e17e8b5da1cf46d",
"reference": "f1f41d3863eb00bd2837b45c2e17e8b5da1cf46d",
"url": "https://api.github.com/repos/utopia-php/config/zipball/48c5009c33b8426260ee7425100e716d7ed7f693",
"reference": "48c5009c33b8426260ee7425100e716d7ed7f693",
"shasum": ""
},
"require": {
@ -1544,20 +1556,20 @@
"upf",
"utopia"
],
"time": "2020-03-28T10:24:18+00:00"
"time": "2020-06-20T11:38:58+00:00"
},
{
"name": "utopia-php/domains",
"version": "0.2.0",
"version": "0.2.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/domains.git",
"reference": "1665e1d9932afa3be63b5c1e0dcfe01fe77d8e73"
"reference": "98e85296867a59c9d712d6ed768a5c5b2b297b43"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/domains/zipball/1665e1d9932afa3be63b5c1e0dcfe01fe77d8e73",
"reference": "1665e1d9932afa3be63b5c1e0dcfe01fe77d8e73",
"url": "https://api.github.com/repos/utopia-php/domains/zipball/98e85296867a59c9d712d6ed768a5c5b2b297b43",
"reference": "98e85296867a59c9d712d6ed768a5c5b2b297b43",
"shasum": ""
},
"require": {
@ -1594,7 +1606,7 @@
"upf",
"utopia"
],
"time": "2020-02-23T07:40:02+00:00"
"time": "2020-06-20T11:47:04+00:00"
},
{
"name": "utopia-php/framework",
@ -1642,16 +1654,16 @@
},
{
"name": "utopia-php/locale",
"version": "0.2.0",
"version": "0.2.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/locale.git",
"reference": "e3e5f16b190e0ddc654ef2fd86f6280d7acc41b1"
"reference": "f2ed7f0b50fe961d65600871e8f8d9dea3167500"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/locale/zipball/e3e5f16b190e0ddc654ef2fd86f6280d7acc41b1",
"reference": "e3e5f16b190e0ddc654ef2fd86f6280d7acc41b1",
"url": "https://api.github.com/repos/utopia-php/locale/zipball/f2ed7f0b50fe961d65600871e8f8d9dea3167500",
"reference": "f2ed7f0b50fe961d65600871e8f8d9dea3167500",
"shasum": ""
},
"require": {
@ -1684,20 +1696,20 @@
"upf",
"utopia"
],
"time": "2019-12-09T13:03:33+00:00"
"time": "2020-06-20T11:41:46+00:00"
},
{
"name": "utopia-php/registry",
"version": "0.2.0",
"version": "0.2.3",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/registry.git",
"reference": "ca38e4b9b1079fb375463c6a7df3eecc2cb91d10"
"reference": "948aa82942a1bde8b97ec74fdc1a83fb24122788"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/registry/zipball/ca38e4b9b1079fb375463c6a7df3eecc2cb91d10",
"reference": "ca38e4b9b1079fb375463c6a7df3eecc2cb91d10",
"url": "https://api.github.com/repos/utopia-php/registry/zipball/948aa82942a1bde8b97ec74fdc1a83fb24122788",
"reference": "948aa82942a1bde8b97ec74fdc1a83fb24122788",
"shasum": ""
},
"require": {
@ -1731,7 +1743,7 @@
"upf",
"utopia"
],
"time": "2019-12-09T13:04:53+00:00"
"time": "2020-07-04T22:14:07+00:00"
}
],
"packages-dev": [
@ -1741,7 +1753,7 @@
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator",
"reference": "a1672098ecc6a08cc400314e373b0d1cd5885f79"
"reference": "4209210c106714e07627ad66180b7d1424598184"
},
"require": {
"ext-curl": "*",
@ -1771,7 +1783,7 @@
}
],
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"time": "2020-05-30T11:38:32+00:00"
"time": "2020-07-09T14:43:24+00:00"
},
{
"name": "doctrine/instantiator",
@ -1779,12 +1791,12 @@
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
"reference": "a390fde13fc9bc2ffb73340bb8f07201a8e85af8"
"reference": "3e7a22aed197e9333cc929e7f6b4300bdae91fcc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/instantiator/zipball/a390fde13fc9bc2ffb73340bb8f07201a8e85af8",
"reference": "a390fde13fc9bc2ffb73340bb8f07201a8e85af8",
"url": "https://api.github.com/repos/doctrine/instantiator/zipball/3e7a22aed197e9333cc929e7f6b4300bdae91fcc",
"reference": "3e7a22aed197e9333cc929e7f6b4300bdae91fcc",
"shasum": ""
},
"require": {
@ -1827,7 +1839,7 @@
"constructor",
"instantiate"
],
"time": "2020-05-30T16:47:47+00:00"
"time": "2020-06-15T18:51:04+00:00"
},
{
"name": "matthiasmullie/minify",
@ -1944,16 +1956,16 @@
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
"reference": "a491d65139e2411c75704e871dd02bdddf5a4bdc"
"reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/a491d65139e2411c75704e871dd02bdddf5a4bdc",
"reference": "a491d65139e2411c75704e871dd02bdddf5a4bdc",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
"reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
"shasum": ""
},
"require": {
"php": "^7.1"
"php": "^7.1 || ^8.0"
},
"replace": {
"myclabs/deep-copy": "self.version"
@ -1984,7 +1996,7 @@
"object",
"object graph"
],
"time": "2020-03-12T21:49:07+00:00"
"time": "2020-06-29T13:22:24+00:00"
},
{
"name": "phar-io/manifest",
@ -2094,12 +2106,12 @@
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionCommon.git",
"reference": "985f414b55eca4296ffc99db960a97b3cc8fbcea"
"reference": "cf8df60735d98fd18070b7cab0019ba0831e219c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/985f414b55eca4296ffc99db960a97b3cc8fbcea",
"reference": "985f414b55eca4296ffc99db960a97b3cc8fbcea",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/cf8df60735d98fd18070b7cab0019ba0831e219c",
"reference": "cf8df60735d98fd18070b7cab0019ba0831e219c",
"shasum": ""
},
"require": {
@ -2135,7 +2147,7 @@
"reflection",
"static analysis"
],
"time": "2020-04-27T09:34:19+00:00"
"time": "2020-06-19T17:42:03+00:00"
},
{
"name": "phpdocumentor/reflection-docblock",
@ -2143,24 +2155,23 @@
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e"
"reference": "eb3320ef010709f339f118dde1645e197c4961ec"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e",
"reference": "cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/eb3320ef010709f339f118dde1645e197c4961ec",
"reference": "eb3320ef010709f339f118dde1645e197c4961ec",
"shasum": ""
},
"require": {
"ext-filter": "^7.1",
"php": "^7.2",
"phpdocumentor/reflection-common": "^2.0",
"phpdocumentor/type-resolver": "^1.0",
"webmozart/assert": "^1"
"ext-filter": "*",
"php": "^7.2 || ^8.0",
"phpdocumentor/reflection-common": "^2.2",
"phpdocumentor/type-resolver": "^1.3",
"webmozart/assert": "^1.9.1"
},
"require-dev": {
"doctrine/instantiator": "^1",
"mockery/mockery": "^1"
"mockery/mockery": "~1.3.2"
},
"type": "library",
"extra": {
@ -2188,7 +2199,7 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2020-02-22T12:28:44+00:00"
"time": "2020-07-09T12:42:26+00:00"
},
{
"name": "phpdocumentor/type-resolver",
@ -2196,12 +2207,12 @@
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "95d8782070ccd738295bbe4483f8760f998ad64d"
"reference": "94f3ddc5d77e49daadadd33b798b933e52dde82c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/95d8782070ccd738295bbe4483f8760f998ad64d",
"reference": "95d8782070ccd738295bbe4483f8760f998ad64d",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/94f3ddc5d77e49daadadd33b798b933e52dde82c",
"reference": "94f3ddc5d77e49daadadd33b798b933e52dde82c",
"shasum": ""
},
"require": {
@ -2234,7 +2245,7 @@
}
],
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"time": "2020-05-13T13:46:15+00:00"
"time": "2020-06-19T19:40:27+00:00"
},
{
"name": "phpspec/prophecy",
@ -2242,29 +2253,29 @@
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
"reference": "451c3cd1418cf640de218914901e51b064abb093"
"reference": "fa7f91090a63296a3c9af65e124384e19dad7e29"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093",
"reference": "451c3cd1418cf640de218914901e51b064abb093",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/fa7f91090a63296a3c9af65e124384e19dad7e29",
"reference": "fa7f91090a63296a3c9af65e124384e19dad7e29",
"shasum": ""
},
"require": {
"doctrine/instantiator": "^1.0.2",
"php": "^5.3|^7.0",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0",
"sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0",
"sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0"
"doctrine/instantiator": "^1.2",
"php": "^7.2",
"phpdocumentor/reflection-docblock": "^5.0",
"sebastian/comparator": "^3.0 || ^4.0",
"sebastian/recursion-context": "^3.0 || ^4.0"
},
"require-dev": {
"phpspec/phpspec": "^2.5 || ^3.2",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
"phpspec/phpspec": "^6.0",
"phpunit/phpunit": "^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.10.x-dev"
"dev-master": "1.11.x-dev"
}
},
"autoload": {
@ -2297,7 +2308,7 @@
"spy",
"stub"
],
"time": "2020-03-05T15:02:03+00:00"
"time": "2020-07-09T10:28:49+00:00"
},
{
"name": "phpunit/php-code-coverage",
@ -3207,12 +3218,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9"
"reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9",
"reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
"reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
"shasum": ""
},
"require": {
@ -3225,6 +3236,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -3257,7 +3272,7 @@
"polyfill",
"portable"
],
"time": "2020-05-12T16:14:59+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "theseer/tokenizer",
@ -3305,12 +3320,12 @@
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "5c6d49589687b4fe694059cab72da1ff5b7a5ece"
"reference": "e063bab1a67f4ceea759cee20c10ed609d1f6abb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/5c6d49589687b4fe694059cab72da1ff5b7a5ece",
"reference": "5c6d49589687b4fe694059cab72da1ff5b7a5ece",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/e063bab1a67f4ceea759cee20c10ed609d1f6abb",
"reference": "e063bab1a67f4ceea759cee20c10ed609d1f6abb",
"shasum": ""
},
"require": {
@ -3362,27 +3377,28 @@
"keywords": [
"templating"
],
"time": "2020-05-21T09:55:12+00:00"
"time": "2020-07-06T13:35:12+00:00"
},
{
"name": "webmozart/assert",
"version": "1.8.0",
"version": "1.9.1",
"source": {
"type": "git",
"url": "https://github.com/webmozart/assert.git",
"reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6"
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/webmozart/assert/zipball/ab2cb0b3b559010b75981b1bdce728da3ee90ad6",
"reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6",
"url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
"shasum": ""
},
"require": {
"php": "^5.3.3 || ^7.0",
"php": "^5.3.3 || ^7.0 || ^8.0",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"phpstan/phpstan": "<0.12.20",
"vimeo/psalm": "<3.9.1"
},
"require-dev": {
@ -3410,7 +3426,7 @@
"check",
"validate"
],
"time": "2020-04-18T12:12:48+00:00"
"time": "2020-07-08T17:02:28+00:00"
}
],
"aliases": [],

View file

@ -1,3 +1,7 @@
## 0.2.3
- Fixed OAuth2 cookie bug, where a new session cookie couldn't overwrite an old cookie
## 0.2.2
- Fixed an error that happend when the OAuth session creation request was sent before any other API call