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

Commit a313625

Browse files
author
Jens Schulze
committed
docs(Changelog): Update changelog
1 parent b0bf1b7 commit a313625

File tree

4 files changed

+41
-3
lines changed

4 files changed

+41
-3
lines changed

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
<a name="1.0.0-RC7"></a>
2+
# [1.0.0-RC7](https://github.com/sphereio/commercetools-php-sdk/compare/v1.0.0-RC5...v1.0.0-RC7) (2015-10-19)
3+
4+
5+
### Bug Fixes
6+
7+
* **Cart:** add corrected cart discount fields ([b0bf1b7](https://github.com/sphereio/commercetools-php-sdk/commit/b0bf1b7))
8+
* **LocalizedString:** fix array conversion of locales for LocalizedString ([ea50790](https://github.com/sphereio/commercetools-php-sdk/commit/ea50790))
9+
* **PaymentInfo** correct class path ([a9501fc](https://github.com/sphereio/commercetools-php-sdk/commit/a9501fc))
10+
11+
### Features
12+
13+
* **JsonObject:** recurse toArray method to child objects ([feb3729](https://github.com/sphereio/commercetools-php-sdk/commit/feb3729))
14+
15+
### BREAKING CHANGES
16+
17+
* discountedPrice at LineItems has been removed
18+
19+
The discountedPrice field has been deprecated at the API and therefor was removed from the SDK.
20+
21+
Before:
22+
```
23+
$lineItem->getDiscountedPrice();
24+
$discountedCentAmount = $lineItem->getDiscountedPrice()->getValue()->getCentAmount();
25+
```
26+
27+
After:
28+
29+
```
30+
$lineItem->getDiscountedPricePerQuantity();
31+
$discountedCentAmount = 0;
32+
foreach ($lineItem->getDiscountedPricePerQuantity() as $discountedPricePerQuantity) {
33+
$discountedCentAmount += $discountedPricePerQuantity()->getQuantity() *
34+
$discountedPricePerQuantity->getDiscountedPrice()->getValue()->getCentAmount();
35+
}
36+
```
37+
([b0bf1b7](https://github.com/sphereio/commercetools-php-sdk/commit/b0bf1b7))
38+
139
<a name="1.0.0-RC5"></a>
240
# [1.0.0-RC5](https://github.com/sphereio/commercetools-php-sdk/compare/v1.0.0-RC4...v1.0.0-RC5) (2015-10-07)
341

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 5. 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 7. 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)

src/AbstractHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
abstract class AbstractHttpClient
1616
{
1717

18-
const VERSION = '1.0.0-RC5';
18+
const VERSION = '1.0.0-RC7';
1919

2020
/**
2121
* @var AdapterInterface

tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commercetools-php-sdk-changelog",
3-
"version": "1.0.0-RC5",
3+
"version": "1.0.0-RC7",
44
"description": "commercetools PHP SDK changelog generator package description",
55
"homepage": "https://github.com/sphereio/commercetools-php-sdk",
66
"bugs": "https://github.com/sphereio/commercetools-php-sdk/issues",

0 commit comments

Comments
 (0)