Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 4716014

Browse files
author
Jens Schulze
committed
Merge branch 'release/v1.0.0-RC8'
2 parents f92c7cc + cd65354 commit 4716014

File tree

232 files changed

+1969
-580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+1969
-580
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
<a name="1.0.0-RC8"></a>
2+
# [1.0.0-RC8](https://github.com/sphereio/commercetools-php-sdk/compare/v1.0.0-RC7...v1.0.0-RC8) (2015-10-30)
3+
4+
5+
### Bug Fixes
6+
7+
* **Cart:** typo in custom line item model ([c583fb9](https://github.com/sphereio/commercetools-php-sdk/commit/c583fb9))
8+
* **JsonObject:** add missing static keyword to named constructors ([f83e4c6](https://github.com/sphereio/commercetools-php-sdk/commit/f83e4c6))
9+
* **JsonObject:** fix error message for unknown method ([22431f8](https://github.com/sphereio/commercetools-php-sdk/commit/22431f8))
10+
* **Payment:** add missing type for payment transactions ([c6d3765](https://github.com/sphereio/commercetools-php-sdk/commit/c6d3765))
11+
* **Payment:** correct type for PaymentInfo model ([b942a06](https://github.com/sphereio/commercetools-php-sdk/commit/b942a06))
12+
13+
### Features
14+
15+
* **CustomFields:** add customs fields and types for prices ([cfbc0bb](https://github.com/sphereio/commercetools-php-sdk/commit/cfbc0bb)), closes [#156](https://github.com/sphereio/commercetools-php-sdk/issues/156)
16+
* **ImportOrder:** add custom fields to ImportOrder ([008702f](https://github.com/sphereio/commercetools-php-sdk/commit/008702f))
17+
* **Order:** add order delete request ([5944de7](https://github.com/sphereio/commercetools-php-sdk/commit/5944de7))
18+
19+
20+
### BREAKING CHANGES
21+
22+
* added PriceDraft to price update actions
23+
24+
The new PriceDraft object has been added as type hint to ProductAddPriceAction and ProductChangePriceAction. The ProductVariantDraft expects now a PriceDraftCollection
25+
26+
127
<a name="1.0.0-RC7"></a>
228
# [1.0.0-RC7](https://github.com/sphereio/commercetools-php-sdk/compare/v1.0.0-RC5...v1.0.0-RC7) (2015-10-19)
329

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# <img src="build/theme/resources/CT_cube_200px.png" width="40" align="center"></img> commercetools PHP SDK
22

3-
> STATUS: Release Candidate 7. We ask you to really use this API thoroughly now, especially the API design and object structure. Thank you very much!
3+
> STATUS: Release Candidate 8. We ask you to really use this API thoroughly now, especially the API design and object structure. Thank you very much!
44
>
55
> 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)!
66
> Up-to-Date planning status can be found on this [Waffle Board](https://waffle.io/sphereio/commercetools-php-sdk)

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,17 @@
3535
"require-dev": {
3636
"guzzlehttp/guzzle": "^6.0",
3737
"phpunit/phpunit": "^4.0",
38-
"phpmd/phpmd": "^1.0",
39-
"squizlabs/php_codesniffer": "^1.0",
40-
"pdepend/pdepend": "^1.1",
38+
"phpmd/phpmd": "@stable",
39+
"squizlabs/php_codesniffer": "@stable",
40+
"sebastian/phpcpd": "@stable",
41+
"pdepend/pdepend": "@stable",
4142
"phploc/phploc": "^2.0",
42-
"sebastian/phpcpd": "^1.4",
4343
"mayflower/php-codebrowser": "^1.0",
4444
"doctrine/cache": "^1.4",
4545
"monolog/monolog": "^1.12",
4646
"behat/behat": "^3.0",
4747
"phpspec/prophecy-phpunit": "^1.0",
48-
"phpunit/phpcov": "*"
48+
"phpunit/phpcov": "*",
49+
"fabpot/php-cs-fixer": "@stable"
4950
}
5051
}

src/AbstractHttpClient.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
*/
1515
abstract class AbstractHttpClient
1616
{
17-
18-
const VERSION = '1.0.0-RC7';
17+
const VERSION = '1.0.0-RC8';
1918

2019
/**
2120
* @var AdapterInterface

src/Cache/ApcCacheAdapter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
namespace Commercetools\Core\Cache;
88

9-
109
/**
1110
* @package Commercetools\Core\Cache
1211
*/

src/Cache/DoctrineCacheAdapter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414
class DoctrineCacheAdapter extends AbstractCacheAdapter
1515
{
16-
1716
/**
1817
* @param \Doctrine\Common\Cache\Cache $cache
1918
*/

src/Client/Adapter/AdapterFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
namespace Commercetools\Core\Client\Adapter;
77

8-
98
use GuzzleHttp\Client;
109
use Commercetools\Core\Error\InvalidArgumentException;
1110

@@ -17,7 +16,6 @@ public function __construct()
1716
{
1817
$this->register('guzzle5', '\Commercetools\Core\Client\Adapter\Guzzle5Adapter')
1918
->register('guzzle6', '\Commercetools\Core\Client\Adapter\Guzzle6Adapter');
20-
2119
}
2220

2321
/**

src/Client/Adapter/AdapterInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
namespace Commercetools\Core\Client\Adapter;
77

8-
98
use Psr\Http\Message\RequestInterface;
109
use Psr\Http\Message\ResponseInterface;
1110
use Psr\Log\LoggerInterface;

src/Client/Adapter/AdapterPromiseInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
namespace Commercetools\Core\Client\Adapter;
77

8-
98
use Psr\Http\Message\ResponseInterface;
109

1110
interface AdapterPromiseInterface extends ResponseInterface

src/Client/Adapter/Guzzle5Adapter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
namespace Commercetools\Core\Client\Adapter;
77

8-
98
use GuzzleHttp\Client;
109
use GuzzleHttp\Exception\RequestException;
1110
use GuzzleHttp\Pool;

0 commit comments

Comments
 (0)