* 2.0:
Change application's version to v2.0.10-dev
Generate changelog for v2.0.9
Change application's version to v2.0.9
Fix en translations in Product and Taxonomy bundles
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | fixes#18096 and #18095
| License | MIT
<!--
- Bug fixes must be submitted against the 1.14 or 2.0 branch
- Features and deprecations must be submitted against the 2.1 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.1
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | -
| License | MIT
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Chores**
- Improved configurability of product association filters for enhanced
flexibility. No visible changes to user experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
| Q | A
|-----------------|-----
| Branch? | 2.1
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | yes
| Related tickets | -
| License | MIT
<s>Allowed the serialization of `defaultVariant` field on shop's product
endpoints (before it was a hardcoded cast to iri), and expanded its data
to contain name, prices and appliedPromotions.</s>
#### Update:
Left the `defaultVariant` field as is due to BC;
Added a `defaultVariantData` field on shop's product endpoints and
configured it to contain the name, prices and appliedPromotions.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Product details in the API now include a new field with comprehensive
information about the default product variant, in addition to its URI.
- The product variant name is now visible in more product listing and
detail views.
- **Bug Fixes**
- Improved accuracy and consistency of product variant information in
API responses.
- Reduced redundant API calls by embedding default variant data directly
in product responses.
- **Tests**
- Enhanced test data with new translations for product variants.
- Updated API response examples to reflect the enriched product variant
data structure.
- Extended product normalization tests to cover inclusion of detailed
default variant data.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
| Q | A
|-----------------|-----
| Branch? | 2.1
| 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.14 or 2.0 branch
- Features and deprecations must be submitted against the 2.1 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
-->
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.1/.github/workflows/upmerge_pr.yaml).
**Remember!** The upmerge should always be merged with using `Merge pull
request` button.
In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/2.1 -m "Resolve conflicts between 2.0 and 2.1"
```
If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.
Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
| Q | A
|-----------------|-----
| Branch? | 2.1
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | yes
| Related tickets | -
| License | MIT
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added new API endpoints to retrieve product options and product option
values in the shop, with support for filtering by product code.
- Introduced filtering capabilities for product options and option
values based on related product codes in the shop API.
- **Bug Fixes**
- Updated serialization settings to ensure correct fields are included
in shop product option and option value listings.
- **Tests**
- Added new test cases and fixtures to verify retrieval and filtering of
product options and option values by product code in the shop API.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
| Q | A
|-----------------|-----
| Branch? | 2.1
| Bug fix? | no
| New feature? | kinda
| BC breaks? | no
| Deprecations? | no
| Related tickets | -
| License | MIT
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added the ability to filter products in the shop API by association
type code and owner code.
- Introduced a new API endpoint to retrieve product association types,
with support for filtering by product code.
- **Bug Fixes**
- Ensured only enabled associated products are returned in product
association queries.
- **Tests**
- Added and updated tests to verify product filtering by association and
retrieval of product association types.
- **Documentation**
- Enhanced API documentation to describe new filtering options for
products and product association types.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
| Q | A
|-----------------|-----
| Branch? | 2.1
| 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.14 or 2.0 branch
- Features and deprecations must be submitted against the 2.1 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
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Standardized directory and namespace naming from "Tests" to "tests"
across all bundles for consistency.
- Updated configuration files and autoload mappings to reflect the
lowercase "tests" directory.
- Adjusted test namespaces and import paths to align with the new
structure.
- **Chores**
- Modified export-ignore and .gitignore rules to match the updated test
directory naming.
- Updated PHPUnit configuration files for improved naming and local
schema references.
- **Bug Fixes**
- Corrected minor issues in test setup and exception handling within
test files.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
| Q | A
|-----------------|-----
| Branch? | 2.1
| Bug fix? | no
| New feature? | sorta
| BC breaks? | no
| Deprecations? | no
| Related tickets | -
| License | MIT
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added API endpoint for retrieving promotion coupons by code in the
shop context.
- Order and cart responses now include "promotionCoupon" and
"checkoutCompletedAt" fields for enhanced order and cart detail
visibility.
- **Bug Fixes**
- Ensured consistent display of promotion coupon and checkout completion
information across order and cart API responses.
- **Tests**
- Enhanced test coverage for carts and orders to validate presence and
correctness of promotion coupon and checkout completion fields.
- Updated test fixtures to reflect new response fields, promotion
scenarios, and checkout completion timestamps.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
| Q | A
|-----------------|-----
| Branch? | 2.1 <!-- see the comment below -->
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| License | MIT
<!--
- Bug fixes must be submitted against the 1.14 or 2.0 branch
- Features and deprecations must be submitted against the 2.1 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
-->
This is the PR with review fixes from
https://github.com/Sylius/Sylius/pull/18106
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Documentation**
- Updated upgrade guide for version 2.1 with new shared controllers
configuration details, revised controller naming conventions, and
updated examples for manual controller registration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
| Q | A
|-----------------|-----
| Branch? | 2.1
| 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.14 or 2.0 branch
- Features and deprecations must be submitted against the 2.1 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
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Chores**
- Updated dependency requirements to restrict the
"sylius/resource-bundle" package to stable version ^1.12 only, removing
support for beta versions. No other changes were made.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->