You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
***OAuthManager:** don't expose api credentials through exception callstack ([f0caaa1](https://github.com/sphereio/commercetools-php-sdk/commit/f0caaa1))
9
+
***ProductDraft:** use ProductVariantDraftCollection for variants ([f252a2d](https://github.com/sphereio/commercetools-php-sdk/commit/f252a2d)), closes [#142](https://github.com/sphereio/commercetools-php-sdk/issues/142)
10
+
11
+
### Features
12
+
13
+
***CustomFields:** add custom field models and mapping by type field definitions ([146ee40](https://github.com/sphereio/commercetools-php-sdk/commit/146ee40)) closes [#119](https://github.com/sphereio/commercetools-php-sdk/issues/119)
14
+
***Message:** add specific message objects ([353b5ab](https://github.com/sphereio/commercetools-php-sdk/commit/353b5ab)) closes [#128](https://github.com/sphereio/commercetools-php-sdk/issues/128)
15
+
***Orders:** add cart field to order ([922d812](https://github.com/sphereio/commercetools-php-sdk/commit/922d812)), closes [#132](https://github.com/sphereio/commercetools-php-sdk/issues/132)[#131](https://github.com/sphereio/commercetools-php-sdk/issues/131)
***Products:** add support to set EnumType and LocalizedEnumType attributes by key ([df88267](https://github.com/sphereio/commercetools-php-sdk/commit/df88267))
20
+
***Products:** add support to set EnumType and LocalizedEnumType attributes by key in all variants ([e07cad6](https://github.com/sphereio/commercetools-php-sdk/commit/e07cad6))
***ShippingMethod:** add getByName and getById to ShippingMethodCollection ([2de7668](https://github.com/sphereio/commercetools-php-sdk/commit/2de7668))
27
+
***UpdateActions:** add limit to update actions ([3f728a5](https://github.com/sphereio/commercetools-php-sdk/commit/3f728a5))
28
+
***CategoryCollection:** add getByParent and getRoots to CategoryCollection ([ece9d87](https://github.com/sphereio/commercetools-php-sdk/commit/ece9d87))
29
+
***LocalizedString:** add support for locales to LocalizedString ([ea5e1c6](https://github.com/sphereio/commercetools-php-sdk/commit/ea5e1c6))
30
+
***Image:** return empty thumb image url if no url is set ([a4be01b](https://github.com/sphereio/commercetools-php-sdk/commit/a4be01b))
31
+
32
+
33
+
### BREAKING CHANGES
34
+
35
+
* comments endpoint has been removed from the API
36
+
37
+
All models and request objects have been removed from the SDK
* SphereException and SphereServiceException have been renamed to ApiException and ApiServiceException
13
52
@@ -52,17 +91,17 @@
52
91
53
92
54
93
<a name"1.0.0-RC1"></a>
55
-
###1.0.0-RC1 (2015-07-27)
94
+
# 1.0.0-RC1 (2015-07-27)
56
95
57
96
58
-
####Bug Fixes
97
+
### Bug Fixes
59
98
60
99
***CustomerCreateRequest:** set correct return object class ([d1c100c9](https://github.com/sphereio/sphere-php-sdk/commit/d1c100c9), closes [#109](https://github.com/sphereio/sphere-php-sdk/issues/109))
61
100
***Requests:** fix the usage of relative path by requests ([e32d0150](https://github.com/sphereio/sphere-php-sdk/commit/e32d0150))
62
101
***Order:** set correct return type for order discountCodes ([5bbf4f14](https://github.com/sphereio/sphere-php-sdk/commit/5bbf4f14))
63
102
64
103
65
-
####Features
104
+
### Features
66
105
67
106
***AnnotationGenerator:** add magic method getAt and current with correct type hint to collections ([324886db](https://github.com/sphereio/sphere-php-sdk/commit/324886db))
68
107
***Attribute:** add feature to set attribute type definitions to attributes ([37546b33](https://github.com/sphereio/sphere-php-sdk/commit/37546b33))
Major refactoring of the http client handling. Sphere client uses now PSR http messages for internal request and response representation and ships with a guzzle5 and guzzle6 http client adapter which will be automatically used. It's also possible to register new http client adapters implementing Sphere\Core\Client\Adapter\AdapterInterface
309
348
310
349
* switch composer to caret operator
@@ -354,7 +393,7 @@ Major refactoring of the http client handling. Sphere client uses now PSR http m
354
393
* fix multi facet and filter params
355
394
* fix type of TaxRate
356
395
357
-
###1.0.0-beta.1 (Milestone 2)
396
+
# 1.0.0-beta.1 (Milestone 2)
358
397
* add unit tests for query, fetch and delete requests
359
398
* add tests for order and product update actions
360
399
* add customer, category and cart update action tests
@@ -388,7 +427,7 @@ Major refactoring of the http client handling. Sphere client uses now PSR http m
388
427
* add limit of update action logging to update requests
389
428
* add cache adapter for redis storage
390
429
391
-
###1.0.0 Milestone 1
430
+
# 1.0.0 Milestone 1
392
431
* batch execution of requests
393
432
* delete, update, fetchById and query requests for all endpoints
394
433
* cart create and update requests
@@ -401,5 +440,5 @@ Major refactoring of the http client handling. Sphere client uses now PSR http m
> STATUS: Release Candidate 1. We have done all planned breaking changes and ask you to really use this API thoroughly now, especially the API design and object structure. Thank you very much!
3
+
> STATUS: Release Candidate 3. We ask you to really use this API thoroughly now, especially the API design and object structure. Thank you very much!
4
4
>
5
5
> See the [Milestone Plan](https://github.com/sphereio/commercetools-php-sdk/milestones?direction=desc&sort=completeness&state=open) for details of what's planned in detail. We love feedback and [Issue reports](https://github.com/sphereio/commercetools-php-sdk/issues?q=is%3Aopen+is%3Aissue+sort%3Acreated-asc)!
6
6
> Up-to-Date planning status can be found on this [Waffle Board](https://waffle.io/sphereio/commercetools-php-sdk)
The PHP SDK allows developers to build applications on the commercetools platform (technically speaking against the SPHERE.IO REST API) using PHP native interfaces, models and helpers instead of manually using the HTTP and JSON API.
Next, run the Composer command to install the latest version of the SDK:
35
35
36
36
```bash
37
-
composer require sphere/php-sdk dev-master
37
+
composer require commercetools/php-sdk dev-master
38
38
```
39
39
40
40
The SDK supports Guzzle6 as well as Guzzle5 as HTTP client. For Guzzle6:
@@ -60,7 +60,7 @@ If you don't use Composer, just [download a zip archive](https://github.com/sphe
60
60
61
61
Until the 1.0.0 release M0, M1 etc. milestone releases can contain incompatible changes. From 1.0.0 on, the project will follow the [semantic versioning](http://semver.org) guidelines, i.e. everything but major version changes are backwards-compatible. This matches composer's default behavior.
62
62
63
-
With composer just run `composer update sphere/php-sdk` to update to compatible versions. Edit your `composer.json` file to update to incompatible versions.
63
+
With composer just run `composer update commercetools/php-sdk` to update to compatible versions. Edit your `composer.json` file to update to incompatible versions.
64
64
65
65
Please read the [Changelog](CHANGELOG.md) before updating in any case.
0 commit comments