This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | kinda
| BC breaks? | no
| Deprecations? | no
| Related tickets | improvements based on #14865
| License | MIT
There are few changes not suitable to be pushed as "bug fix" in `1.12`.
Preview:

Commits
-------
87733a29ad Improve displaying info about insufficient stock in the cart
f46dcffd22 Fix issues with addFlash on Symfony 6.x
* 1.12:
[Admin][ProductVariant] Switched list rendering from base locale to current
[Locale][API] Additional locale code validation
fix: err on using scss var directly inside `calc()` func; resolves Sylius#14883
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.12 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | - |
| License | MIT |
Commits
-------
9cd314ec09 [Admin][ProductVariant] Switched list rendering from base locale to current
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 <!-- see the comment below --> |
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | yes |
| Deprecations? | yes <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | https://github.com/Sylius/Sylius/pull/14852 |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 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
-------
9044e9f491 [PriceHistory] Add ChannelPricingLogEntry entity
68d613978e [PriceHistory] Add ChannelPricingLogEntry repository
27987feea7 [PriceHistory] Add ChannelPricingLogEntry factory
3fa4ed6c38 [PriceHistory] Add ChannelPricingLogEntry migration
c30530f77a [PriceHistory] Add ChannelPricingLogEntry resource configuration
bac7a9d2b3 [PriceHistory] Tag scenarios with seeing price history enabled
f774da1af8 [PriceHistory] Add missing product and catalog promotion setup
23d616c3c2 [PriceHistory][API] Add behat context
87f4dc81b5 [PriceHistory][API][Admin] Add ChannelPricingLogEnties endpoint
ea5c2e6148 [PriceHistory][Domain] Add fields to Channel and ChannelPricing entites
0a98a1eb80 [PriceHistory][Migration] Add migration for new Channel and ChannelPricing entity fields
bbbebe52a5 [PriceHistory] Add a core implementation of calculating the lowest price before discount
0cdf3cfa5f [PriceHistory][Test] Add contract tests for ChannelPricingLogEntry entity
af8844eb75 [Channel] Add sylius validation group parameter
75b24af569 [PriceHistory] Reflect changes from the plugin
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13|
| Bug fix? | no |
| New feature? |yes |
| BC breaks? | no |
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | after https://github.com/Sylius/PriceHistoryPlugin/pull/73|
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 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
-------
ef40b26751 [Behat][PriceHistory] Adjust scenarios for displaying lowest price according to the excluded taxons
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 <!-- see the comment below --> |
| Bug fix? | no |
| New feature? |yes |
| BC breaks? | no |
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file --> |
| License | MIT |
Move https://github.com/Sylius/PriceHistoryPlugin scenarios into Sylius
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 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
-------
88db81fe0e [PriceHistory][Scenarios] Channel setup
668bd90d8b [PriceHistory][Scenarios] Accessing price history
33a7407986 [PriceHistory][Scenarios] Add catalog promotion cases
615f704fa7 [PriceHistory][Scenarios] Add deleting old log entries
805b93adb9 [PriceHistory][Scenarios] Add log entry creation after product's price change
1161ec2664 [PriceHistory][Scenarios] Add lowest price displaying in product's show page
30ca912876 [PriceHistory][Scenarios][Shop] Add lowest price displaying
10b67523c3 [PriceHistory] Tag scenarios as @todo
* 1.12:
[Shop] Fix displaying discount on list view when original price is lower than current
[Behat][Shop] Not seeing discount when original price is lower than current
* 1.12:
Rename composite to hybrid within Behats & post review improvements
Rename custom Order factory
Fix being unable to pick up latest non-empty cart started in shop and continued in API
Add Behat scenarios for continuing cart from web in api
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.12 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | fixes#14539, successor of #14597 |
| License | MIT |
PR created by @Nek- was great, but was involving some sort of changes we've called feature and bc policy breaking. We (believe that) we've found a way to fix the bug part without changing the previous behavior on the web shop.
Commits
-------
854e3e7ceb Add Behat scenarios for continuing cart from web in api
fb70c5e34a Fix being unable to pick up latest non-empty cart started in shop and continued in API
1e3410a72b Rename custom Order factory
efdbb44594 Rename composite to hybrid within Behats & post review improvements
* 1.12:
Logout Admin User after being disabled
[ApiBundle] Remove no longer needed mapping configuration
[API] Prepend configuration with API Platform mapping