Commit graph

37 commits

Author SHA1 Message Date
Grzegorz Sadowski
64f878481c
Merge branch '1.11' into 1.12
* 1.11:
  Updated UPGRADE-1.11.md to add a BC Break on channel pricing
2023-01-24 07:29:28 +01:00
Antoine Descamps
86960b7c1a
Updated UPGRADE-1.11.md to add a BC Break on channel pricing 2023-01-24 07:24:42 +01:00
Grzegorz Sadowski
b64a9848ac
Merge branch '1.11' into 1.12
* 1.11:
  [PHPStan] Exclude SqlWalker because of a memory issue
  [Core][Configuration] Add sylius_core.order_by_identifier parameter
  [PHPUnit] Test OrderByIdentifierSqlWalker
  Default order by in to-many associations
  Add OrderByIdentifierSqlWalker
2023-01-12 12:31:10 +01:00
Kevin Kaniaburka
2cffba88a0
[Core][Configuration] Add sylius_core.order_by_identifier parameter 2023-01-11 08:52:23 +01:00
Grzegorz Sadowski
7eb9370bd3
Merge branch '1.11' into 1.12
* 1.11:
  [Adjustment] Adjustment cloning resets ID and timestamps
  [UI] Fix autocomplete empty value
2022-08-25 10:57:32 +02:00
Kevin Kaniaburka
77929a6a19
[Adjustment] Adjustment cloning resets ID and timestamps 2022-08-23 14:27:20 +02:00
Łukasz Chruściel
4dd72ae7e5
Merge branch '1.11' into 1.12
* 1.11:
  [UPGRADE] Add note about code field serialization removal in OrderItem
  remove code attribute of OrderItem in API serialization
2022-07-21 12:11:24 +02:00
Łukasz Chruściel
c4dece96c8
[UPGRADE] Add note about code field serialization removal in OrderItem 2022-07-19 12:53:00 +02:00
Mateusz Zalewski
1e6ddcde99
Merge branch '1.11' into 1.12
* 1.11:
  Make filtering out scenario available in both ui and api contexts
  Remove redundant method
  Update deprecation message
  Update UPGRADE files
  Adjust behat scenarios
  [Channel] Do not consider disabled channel on hostname based request resolver
2022-07-18 15:56:44 +02:00
Jakub Tobiasz
066cf33f4e Update UPGRADE files 2022-07-15 12:46:10 +02:00
Grzegorz Sadowski
ad93c745ff
bug #13709 Fix fatal error when OPCache preloading is used (mmenozzi)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.11
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | none
| License         | MIT

While in Symfony 5 the `Symfony\Bundle\FrameworkBundle\Templating\EngineInterface` was removed, in Sylius there were still references to that interface in docblock comments.

With Sylius 1.11 ([with this commit](ced91b9bd6)) the type hint has been promoted to a PHP type hint. This normally does not cause any problem because apparently the class loading is lazy and does not try to load the non-existent interface.

But if PHP OPCache preload is used, like suggested [here](https://symfony.com/doc/current/performance.html#use-the-opcache-class-preloading), it appears that PHP switches to eager class loading and you get the following fatal error:

```
NOTICE: PHP message: PHP Fatal error:  Failed to load class Symfony\Bundle\FrameworkBundle\Templating\EngineInterface used by typed property Sylius\Bundle\ShopBundle\Controller\SecurityWidgetController::$templatingEngine during preloading in Unknown on line 0
```

With this PR we propose to remove all references to the old interface as Symfony 4 is not supported anymore by Sylius.

Commits
-------

1b555f948d Remove references to old Symfony FrameworkBundle EngineInterface
2022-03-29 09:28:22 +02:00
Kevin Kaniaburka
c194355e27 [Maintenance] Update UPGRADE-1.11.md 2022-03-24 08:43:53 +01:00
Manuele Menozzi
1b555f948d Remove references to old Symfony FrameworkBundle EngineInterface
Which was removed in Symfony 5.
2022-02-28 18:28:11 +01:00
Grzegorz Sadowski
61ccb51b25
[Maintenance] Minor clean up of UPGRADE files for Sylius 1.11 2022-02-14 08:00:47 +01:00
Łukasz Chruściel
63859a5858
[UPGRADE] Semantical adjustments
Co-authored-by: Grzegorz Sadowski <sadowskigp@gmail.com>
2022-02-10 17:34:17 +01:00
Łukasz Chruściel
0eab28c9f5
[UPGRADE] Add more details about PHP, mocker container and api platform folder 2022-02-10 17:34:16 +01:00
Grzegorz Sadowski
ef51a338b6
[Maintenance] Add info about messenger transport and api_platform directory to UPGRADE files 2022-02-08 13:03:02 +01:00
Łukasz Chruściel
252e858ff3
refactor #13588 Use semantic ui view instead of deprecated semantic_ui_translated (loic425)
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.11
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #12462
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

8c6a2b165f Use semantic ui view instead of deprecated semantic_ui_translated
7d248cd9f0 Use the twig view instead
2022-02-07 10:21:04 +01:00
Rimas Kudelis
e3e9e46094
Specify explicit priorities for all form type extensions 2022-02-04 11:44:05 +01:00
Loïc Frémont
7d248cd9f0 Use the twig view instead 2022-02-04 09:43:42 +01:00
Mateusz Zalewski
ced91b9bd6
Typehint templating engines properly 2022-02-03 16:56:32 +01:00
Rafikooo
f1d729f3fa
[OrderItem] Save originalUnitPrice to the database each time an item is added to the cart 2022-02-03 10:21:46 +01:00
Grzegorz Sadowski
0a4456e833
[Behat] Use calendar hook from sylius/calendar repository instead of the existing one 2022-01-28 12:40:07 +01:00
Grzegorz Sadowski
1e060512b4
Add notes to upgrade files about using sylius/calendar 2022-01-28 12:40:06 +01:00
Łukasz Chruściel
f27dce9277
[Docs] Adding upgrade path for symfony mocker container removal from composer requirements 2021-12-09 21:57:53 +01:00
SirDomin
5a5021f35e
[UPGRADE] add info to upgrade file 2021-12-07 12:32:43 +01:00
Adam Kasperczak
dab2a915f6 remove 7.4 from composer and from builds 2021-11-29 09:47:41 +01:00
arti0090
8e58386151 [SM] Change priorities of State Machine callbacks 2021-08-03 11:22:58 +02:00
Łukasz Chruściel
a98f92fa1c
[UPGRADE] Split API and non API upgrade files 2021-07-23 14:17:29 +02:00
Grzegorz Sadowski
32d9c18812
[API] Change name of denormalizer for converting iris to identifiers 2021-07-22 10:48:17 +02:00
Grzegorz Sadowski
647dde2e9d
[API] Change name of iri to identifier converter 2021-07-22 10:48:17 +02:00
arti0090
a19977ef3f Add note about changed body in upgrade file 2021-07-06 14:31:24 +02:00
arti0090
2dcc1b073a Add code fixes 2021-06-24 07:54:01 +02:00
arti0090
201d7d5c6c Add contract test to admin ProductVariant 2021-06-23 13:54:14 +02:00
arti0090
d9b61b72be Add notes about new param 2021-06-22 13:55:06 +02:00
Grzegorz Sadowski
524d725bf9
[API] Add an additional note to UPGRADE file about changing schema fo getting shipping methods 2021-06-21 13:24:10 +02:00
Grzegorz Sadowski
e2335615a9
[API] Add a note to UPGRADE file after removing custom cart shipping method view 2021-06-21 13:24:10 +02:00