|
1 | | -### UPGRADE FROM 1.6.1 to 1.6.2 |
| 1 | +### UPGRADE FROM 1.6.0 to 1.6.1 |
2 | 2 |
|
3 | 3 | 1. The following constructor signatures have been changed: |
4 | 4 |
|
5 | | - `Sylius\PayPalPlugin\Controller\CreatePayPalOrderFromCartAction`: |
| 5 | + `Sylius\PayPalPlugin\Controller\CreatePayPalOrderFromCartAction`: |
6 | 6 | ```diff |
7 | 7 | public function __construct( |
8 | 8 | private readonly ?Payum $payum, |
|
16 | 16 | ) |
17 | 17 | ``` |
18 | 18 |
|
19 | | -### UPGRADE FROM 1.6.0 to 1.6.1 |
20 | | - |
21 | | -1. The following constructor signatures have been changed: |
22 | | - |
23 | | - `Sylius\PayPalPlugin\Controller\UpdatePayPalOrderAction`: |
24 | | - ```diff |
25 | | - public function __construct( |
26 | | - private readonly PaymentProviderInterface $paymentProvider, |
27 | | - private readonly CacheAuthorizeClientApiInterface $authorizeClientApi, |
28 | | - - private readonly OrderDetailsApiInterface $orderDetailsApi, |
29 | | - private readonly UpdateOrderApiInterface $updateOrderApi, |
30 | | - private readonly AddressFactoryInterface $addressFactory, |
31 | | - private readonly OrderProcessorInterface $orderProcessor, |
32 | | - ) |
33 | | - ``` |
34 | | - |
35 | | - `Sylius\PayPalPlugin\Model\PayPalPurchaseUnit`: |
| 19 | + `Sylius\PayPalPlugin\Model\PayPalPurchaseUnit`: |
36 | 20 | ```diff |
37 | 21 | public function __construct( |
38 | 22 | private readonly string $referenceId, |
|
52 | 36 | ) |
53 | 37 | ``` |
54 | 38 |
|
55 | | - `Sylius\PayPalPlugin\Controller\ProcessPayPalOrderAction`: |
56 | | - ```diff |
57 | | - public function __construct( |
58 | | - - private readonly OrderRepositoryInterface $orderRepository, |
59 | | - private readonly CustomerRepositoryInterface $customerRepository, |
60 | | - private readonly FactoryInterface $customerFactory, |
61 | | - private readonly AddressFactoryInterface $addressFactory, |
62 | | - private readonly ObjectManager $orderManager, |
63 | | - private readonly StateMachineFactoryInterface|StateMachineInterface $stateMachineFactory, |
64 | | - private readonly PaymentStateManagerInterface $paymentStateManager, |
65 | | - private readonly CacheAuthorizeClientApiInterface $authorizeClientApi, |
66 | | - private readonly OrderDetailsApiInterface $orderDetailsApi, |
67 | | - private readonly OrderProviderInterface $orderProvider, |
68 | | - ) |
69 | | - ``` |
70 | | - |
71 | 39 | ### UPGRADE FROM 1.5.1 to 1.6.0 |
72 | 40 |
|
73 | 41 | 1. Support for Sylius 1.13 has been added, it is now the recommended Sylius version to use. |
|
0 commit comments