|
| 1 | +<a name="1.0.0-RC9"></a> |
| 2 | +# [1.0.0-RC9](https://github.com/sphereio/commercetools-php-sdk/compare/v1.0.0-RC8...v1.0.0-RC9) (2016-01-11) |
| 3 | + |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +* **Collection:** fix serialization of collection with primitive types ([0e1251f](https://github.com/sphereio/commercetools-php-sdk/commit/0e1251f)) |
| 8 | +* **CustomField:** fix custom field object draft to reflect API changes ([90156aa](https://github.com/sphereio/commercetools-php-sdk/commit/90156aa)) |
| 9 | +* **CustomFields:** fix custom type update actions to match changed API ([26efdcf](https://github.com/sphereio/commercetools-php-sdk/commit/26efdcf)) |
| 10 | +* **CustomObject:** remove type for custom object value ([b37c604](https://github.com/sphereio/commercetools-php-sdk/commit/b37c604)), closes [#163](https://github.com/sphereio/commercetools-php-sdk/issues/163) |
| 11 | +* **Product:** fix type of priceId ([23c2de5](https://github.com/sphereio/commercetools-php-sdk/commit/23c2de5)) |
| 12 | +* **ProductProjection:** fix context of getAllVariants helper method ([28526db](https://github.com/sphereio/commercetools-php-sdk/commit/28526db)) |
| 13 | + |
| 14 | +### Features |
| 15 | + |
| 16 | +* **Cart:** add fields to cart draft ([8b2ab3b](https://github.com/sphereio/commercetools-php-sdk/commit/8b2ab3b)) |
| 17 | +* **Category:** add CategoryCreated and CategorySlugChanged messages ([014dde2](https://github.com/sphereio/commercetools-php-sdk/commit/014dde2)) |
| 18 | +* **CategoryCollection:** add getById to CategoryCollection ([1a79cbc](https://github.com/sphereio/commercetools-php-sdk/commit/1a79cbc)) |
| 19 | +* **Channel:** add custom field to channel ([5e9601d](https://github.com/sphereio/commercetools-php-sdk/commit/5e9601d)) |
| 20 | +* **Client:** add config option for accept encoding (e.g. enabling gzip compression) ([c57f2ee](https://github.com/sphereio/commercetools-php-sdk/commit/c57f2ee)) |
| 21 | +* **Client:** add gzip as default acceptEncoding ([2ddd99d](https://github.com/sphereio/commercetools-php-sdk/commit/2ddd99d)) |
| 22 | +* **CurrencyFormatter:** change currencyFormatter to use fraction digits from intl extension ([e8d058b](https://github.com/sphereio/commercetools-php-sdk/commit/e8d058b)) |
| 23 | +* **Customer:** add CustomerCreated message ([12c9bff](https://github.com/sphereio/commercetools-php-sdk/commit/12c9bff)) |
| 24 | +* **Customer:** add getter for default shipping and billing address ([7b776f9](https://github.com/sphereio/commercetools-php-sdk/commit/7b776f9)), closes [#162](https://github.com/sphereio/commercetools-php-sdk/issues/162) |
| 25 | +* **CustomFields:** update custom field draft to API changes ([dfae984](https://github.com/sphereio/commercetools-php-sdk/commit/dfae984)) |
| 26 | +* **CustomObject:** add delete by id request ([9eb8ba7](https://github.com/sphereio/commercetools-php-sdk/commit/9eb8ba7)) |
| 27 | +* **Inventory:** add SetSupplyChannel action ([d453e5e](https://github.com/sphereio/commercetools-php-sdk/commit/d453e5e)) |
| 28 | +* **Payment:** add change transaction state, timestamp and interactionId actions ([3eee823](https://github.com/sphereio/commercetools-php-sdk/commit/3eee823)) |
| 29 | +* **Payment:** add PaymentTransactionChanged message ([7c3e6d8](https://github.com/sphereio/commercetools-php-sdk/commit/7c3e6d8)) |
| 30 | +* **Payment:** add state and id to payment transaction ([b7ee577](https://github.com/sphereio/commercetools-php-sdk/commit/b7ee577)) |
| 31 | +* **Product:** add price field to variant for price selection ([ea8169e](https://github.com/sphereio/commercetools-php-sdk/commit/ea8169e)) |
| 32 | +* **Product:** add ProductCreated and ProductSlugChanged messages ([dbb8a28](https://github.com/sphereio/commercetools-php-sdk/commit/dbb8a28)) |
| 33 | +* **Product:** support resource identifier for product type at product creation ([d7e1980](https://github.com/sphereio/commercetools-php-sdk/commit/d7e1980)) |
| 34 | +* **ProductSearch:** add matching variant to ProductVariant object ([2e336df](https://github.com/sphereio/commercetools-php-sdk/commit/2e336df)) |
| 35 | +* **ProductSearch:** add price select methods for search ([ad8b4cd](https://github.com/sphereio/commercetools-php-sdk/commit/ad8b4cd)) |
| 36 | +* **ProductSearch:** add price select methods to ProductProjectionSearchRequest ([51f889d](https://github.com/sphereio/commercetools-php-sdk/commit/51f889d)) |
| 37 | +* **ProductSearch:** add price select parameters ([f1717b8](https://github.com/sphereio/commercetools-php-sdk/commit/f1717b8)) |
| 38 | +* **ProductType:** add get, update and delete by key requests ([0ad3973](https://github.com/sphereio/commercetools-php-sdk/commit/0ad3973)) |
| 39 | +* **ProductType:** add getByName and getById to ProductTypeCollection ([2b2e005](https://github.com/sphereio/commercetools-php-sdk/commit/2b2e005)) |
| 40 | +* **Request:** add min and max for query limit ([66947e6](https://github.com/sphereio/commercetools-php-sdk/commit/66947e6)) |
| 41 | + |
| 42 | + |
| 43 | +### BREAKING CHANGES |
| 44 | + |
| 45 | +* CustomObject: CustomObjectCreateRequest expects CustomObjectDraft object |
| 46 | + |
| 47 | + Before: |
| 48 | + ``` |
| 49 | + $request = CustomObjectCreateRequest::ofObject(CustomObject::of()->setContainer('test')->setKey('test-key')->setValue(json_encode($value))); |
| 50 | + ``` |
| 51 | + |
| 52 | + After: |
| 53 | + ``` |
| 54 | + $request = CustomObjectCreateRequest::ofObject(CustomObjectDraft::ofContainerKeyAndValue('test', 'test-key', $value)); |
| 55 | + ``` |
| 56 | +* CustomFields: the type reference had been changed at the API |
| 57 | + |
| 58 | + Before: |
| 59 | + ``` |
| 60 | + $customFieldObjectDraft->setTypeId('type-12345'); |
| 61 | + $customFieldObjectDraft->setTypeKey('type-key'); |
| 62 | + ``` |
| 63 | + |
| 64 | + After: |
| 65 | + ``` |
| 66 | + $customFieldObjectDraft->setType(TypeReference::ofId('type-12345')); |
| 67 | + $customFieldObjectDraft->setType(TypeReference::ofKey('type-key')); |
| 68 | + ``` |
| 69 | + |
| 70 | + |
| 71 | + |
1 | 72 | <a name="1.0.0-RC8"></a> |
2 | 73 | # [1.0.0-RC8](https://github.com/sphereio/commercetools-php-sdk/compare/v1.0.0-RC7...v1.0.0-RC8) (2015-10-30) |
3 | 74 |
|
|
0 commit comments