* 2.0:
Fix missing logo in reset password templates
Group body classes into one Twig file
Admin security root hooks refactor
[API] update info about resource configuration changes in upgrade file
Implement common hooks structure as in AdminBundle
[Admin] Add twig.payment_method.excluded_gateways parameter
Remove unnecessary hook
Rename dashboard hook
[PaymentRequest] Adjust ids of the services to link them to Payment Requests
Minor improvement
[Admin] Add checkout.payment.allowed_states parameter
[Admin] Add attributes to dropdown helper
[Shop] Enable customization of body classes
Chore: Remove useless route vars
Remove unnecessary file
Reorganize account twig hooks
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | no
| New feature? | DX
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
<!--
- Bug fixes must be submitted against the 1.13 branch
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
I've tried with a "bg_primary" template
```yaml
sylius_twig_hooks:
hooks:
'sylius_shop.base#body_classes':
bg_primary:
template: '@SyliusShop/shared/layout/base/body_classes/bg_primary.html.twig'
priority: 0
```

| Q | A
|-----------------|-----
| Branch? | 2.0 <!-- see the comment below -->
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| License | MIT
<!--
- Bug fixes must be submitted against the 1.13 branch
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | n/a
| License | MIT
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets |
| License | MIT
Some of the services ids seemed too global and did not say what they
were for.
<!--
- Bug fixes must be submitted against the 1.13 branch
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | n/a
| License | MIT
* 2.0: (27 commits)
[CS][DX] Refactor
[API] Remove deprecated and unused serialization groups
[Docs] Fix readthedocs configuration files
[Docs] Add links to 2.x docs
Update src/Sylius/Bundle/AdminBundle/templates/shared/crud/common/content/form.html.twig
Rename service
Inline var
Add newline
Add experimental
Check if the retrieved payment request is not already finalized
Add orderBy createdAt desc to get the last created item
Use getId instead of getHas()?->toBinary()
Simplify statement
Add payment request pay route to be able to finalize a capture or an authorize request
Fix form without live component
[Shop] Few improvement on cart index
Code cleanup
Code cleanup
Create shared template for content hook
Reorganize checkout order complete hooks
...
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A
|-----------------|-----
| Branch? | 1.12, 1.13, 1.14
| License | MIT
We are hosting the 2.x documentation on docs.sylius.com while 1.x documentation is living on old-docs.sylius.com.
Adding links to the new docs on the old docs 🫡
Commits
-------
5c111a1501 [Docs] Add links to 2.x docs
88a6c7e763 [Docs] Fix readthedocs configuration files
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
<!--
- Bug fixes must be submitted against the 1.13 branch
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
Based on changes that have been done here #17413, I think this will be
better like this.
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets |
| License | MIT
<!--
- Bug fixes must be submitted against the 1.13 branch
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
| Q | A
|-----------------|-----
| Branch? |2.0
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
<!--
- Bug fixes must be submitted against the 1.13 branch
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
We want to create a new CRUD for a Sylius Resource.
Given we set all the php attributes on the Doctrine entity.
When I want to access the creation page to create a new resource.
Then I get an error about missing variables in the template
@AdminBundle/templates\shared\crud\common\content\form.html.twig.
This error happen because no Twig component is defined for this route
and this template only accept to be render via an existing twig
component.
```php
#[ORM\Entity]
#[ORM\Table(name: 'app_book')]
#[AsResource(alias: 'app.book', section: 'admin', templatesDir: '@SyliusAdmin\\shared\\crud', routePrefix: 'admin', formType: 'App\\Form\\Type\\BookType')]
#[Index(grid: 'app_book')]
#[Create]
#[Update]
#[Show]
#[Create(formType: BookType::class)]
class Book implements ResourceInterface{}
```
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | no
| New feature? | no
| BC breaks? | no/
| Deprecations? | no
| Related tickets | none
| License | MIT
- [x] Create a new route to handle PaymentRequest pay rendering via the
Shop UI (to also be able to replay a capture or any other action which
are not completed already).
- [x] Enhance the PaymentRequestPayReponseProvider to retrieve the
existing PaymentRequest if it exists already.
| Q | A
|-----------------|-----
| Branch? | 2.0 <!-- see the comment below -->
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| License | MIT
<!--
- Bug fixes must be submitted against the 1.13 branch
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->