Skip to content

Commit af0c6c0

Browse files
author
Benjamin Wilson Friedman
authored
Prep for 1.3.0 (#352)
1 parent 89f38f7 commit af0c6c0

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Installation
1616
```json
1717
{
1818
"require": {
19-
"parse/php-sdk" : "1.2.*"
19+
"parse/php-sdk" : "1.3.*"
2020
}
2121
}
2222
```
@@ -152,6 +152,12 @@ $object->save();
152152

153153
// Or pass true to use the master key to override ACLs when saving:
154154
$object->save(true);
155+
156+
// encode an object for later use
157+
$encoded = $object->encode();
158+
159+
// decode an object
160+
$decodedObject = ParseObject::decode($encoded);
155161
```
156162

157163
Users:

src/Parse/ParseClient.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ final class ParseClient
111111
private static $caFile;
112112

113113
/**
114-
* Constant for version string to include with requests. Currently 1.2.10.
114+
* Constant for version string to include with requests. Currently 1.3.0.
115115
*
116116
* @var string
117117
*/
118-
const VERSION_STRING = 'php1.2.10';
118+
const VERSION_STRING = 'php1.3.0';
119119

120120
/**
121121
* Parse\Client::initialize, must be called before using Parse features.

tests/Parse/ParseInstallationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function testInstallation()
9999
$appVersion = '1.0.0';
100100
$appName = 'Foo Bar App';
101101
$appIdentifier = 'foo-bar-app-id';
102-
$parseVersion = '1.2.3';
102+
$parseVersion = '1.3.0';
103103

104104
$installation = new ParseInstallation();
105105
$installation->set('installationId', $installationId);

0 commit comments

Comments
 (0)