Commit graph

40507 commits

Author SHA1 Message Date
Marek Rzytki
bd194744e8 Add missing status code mapping for OrderItemNotFoundException 2026-04-09 11:01:36 +02:00
TheMilek
6fcd3c6848
Add special guard for the case when total is zero 2026-04-09 10:01:48 +02:00
TheMilek
660e1a86c2
Add transition to payment select if the only payment method enabled gets disabled 2026-04-09 10:01:48 +02:00
TheMilek
e7ba8c157d
Allow choosing different payment method, when the only one enabled gets disabled during checkout with skip payment step 2026-04-09 10:01:47 +02:00
Kamil Grygierzec
c112bfffb5
[UPMERGE] 2.1 -> 2.2 (#18968)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.3/.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.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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.
2026-04-09 08:37:39 +02:00
Kamil Grygierzec
82ef275a96
Unified name translations handling in admin grid index (#18922)
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #17924
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.14 or 2.1 branch
 - Features and deprecations must be submitted against the 2.2 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
-->
2026-04-08 13:09:56 +02:00
piotrbalcerzak
e804eb3026
Add upgrade note 2026-04-08 12:52:34 +02:00
piotrbalcerzak
58969e98a3
Unified logic in inventory grid 2026-04-08 12:51:12 +02:00
piotrbalcerzak
45e35ce134
Unified name translations handling in admin grid index 2026-04-08 12:51:09 +02:00
Kamil Grygierzec
69c2aa78a6
Restore missing page titles for admin resource show pages (#18940)
| Q               | A
|-----------------|-----
| Branch?         | 1.14, 2.0 or 2.1 <!-- see the comment below -->
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #18934
| License         | MIT
2026-04-08 12:44:18 +02:00
Kamil Grygierzec
37d3ce70e8
[UPMERGE] 2.1 -> 2.2 (#18964)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.3/.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.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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.
2026-04-08 10:40:13 +02:00
Grzegorz Sadowski
3e62259af2
Resolve flash alert correctly without breaking translation (#18961)
| Q               | A
|-----------------|-----
| Branch?         | 2.1 <!-- see the comment below -->
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file
-->
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.14 or 2.1 branch
 - Features and deprecations must be submitted against the 2.2 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
-->


<img width="552" height="422" alt="image"
src="https://github.com/user-attachments/assets/4e4c0084-d99f-49da-9165-3772c5e2cd89"
/>

The core issue is that we are overwriting the type in the loop, to show
correct alert, but it breaks the translation key when iterating on more
than one error
2026-04-07 13:05:31 +02:00
TheMilek
6da5daa0d7
Resolve flash alert correctly without overwriting type, to show translation correctly 2026-04-07 12:21:59 +02:00
Marek Rzytki
5c0e79ff9d Restore missing page titles for admin resource show pages 2026-04-07 12:02:25 +02:00
Francis Hilaire
4e1955c5fa
Update UPGRADE-API-2.2.md
Co-authored-by: Dmitri Perunov <diimpp@gmail.com>
2026-04-06 10:59:01 +02:00
Francis Hilaire
4a1d5cf490
Document API Platform resource classes as container parameters for overrides 2026-04-04 23:15:56 +02:00
Francis Hilaire
096349a18f
Refactor command class references to use parameters in XML configuration 2026-04-04 23:15:06 +02:00
Kamil Grygierzec
7d6918b100
[UPMERGE] 2.1 -> 2.2 (#18954)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.3/.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.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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.
2026-04-03 19:37:16 +02:00
Kamil Grygierzec
d570c626b5
[BUGFIX] Make mailer services public to allow usage in state machine callbacks (#18953)
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes https://github.com/Sylius/Sylius/issues/18939
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.14 or 2.1 branch
 - Features and deprecations must be submitted against the 2.2 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
-->
2026-04-02 14:57:51 +02:00
Kamil Grygierzec
fcbde944a0
[UPMERGE] 2.1 -> 2.2 (#18949)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.3/.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.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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.
2026-04-02 09:38:16 +02:00
Mateusz
dc17d19929 Make mailer services public to allow usage in state machine callbacks 2026-04-02 08:56:33 +02:00
Kamil Grygierzec
c7abbeefda
[BUGFIX] Allow updating provinceName when provinceCode is null in API (#18926)
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes https://github.com/Sylius/Sylius/issues/17751
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.14 or 2.1 branch
 - Features and deprecations must be submitted against the 2.2 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
-->
2026-03-30 15:19:14 +02:00
Kamil Grygierzec
ece082b04b
Add payment enabled in channel validation (#18941)
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | yes
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes https://github.com/Sylius/Sylius/issues/18937
| License         | MIT
2026-03-30 15:17:18 +02:00
Marek Rzytki
593d93f233 Update upgrade 2026-03-30 10:48:14 +02:00
Marek Rzytki
3adcb55bd7 Move payment in channel check from separated validator into existing one 2026-03-30 10:48:14 +02:00
Marek Rzytki
23ce2c435d Add payment enabled in channel validation 2026-03-30 10:48:14 +02:00
Kamil Grygierzec
2a633968f2
[UPMERGE] 2.1 -> 2.2 (#18925)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.3/.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.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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.
2026-03-27 14:15:51 +01:00
TheMilek
f07b8c32d5
Resolve conflicts between 2.1 and 2.2 2026-03-27 14:01:30 +01:00
Kamil Grygierzec
4a65219a6e
Fix build after APIPlatform 4.3.2 release (#18943)
| Q               | A
|-----------------|-----
| Branch?         | 2.1 <!-- see the comment below -->
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.14 or 2.1 branch
 - Features and deprecations must be submitted against the 2.2 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
-->
related to https://github.com/Sylius/Sylius/pull/18887 changes
2026-03-27 13:54:40 +01:00
Marek Rzytki
2a960a0093
Update response json to fix tests 2026-03-27 13:35:26 +01:00
Kamil Grygierzec
1994c3d0b3
fix: add default filter to breadcrumbs configuration title to prevent ScalarDataBag exception (#18933)
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes Sylius/Stack#354
| License         | MIT

## Description

When the `configuration.title` is not set in the hookable metadata,
accessing it directly on a `ScalarDataBag` throws an exception. Adding
`|default('')` prevents the crash.
2026-03-25 08:13:14 +01:00
Kamil Grygierzec
2e1bea2736
TASK: improve german translations for CH, DE, and AT (#18932)
| Q               | A
|-----------------|-----
| Branch?         | 2.2
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #X, partially #Y, mentioned in #Z
| License         | MIT

In this PR i added and improved the translations in the admin bundle for
german CH, german AT, and german DE.
2026-03-24 15:26:32 +01:00
Jan Góralski
1e59e2e47c
Fix problem with empty taxon product index (#18579)
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Related tickets | https://github.com/Sylius/Sylius/issues/18566
| License         | MIT




<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Product queries now support locale fallback behavior, allowing items
to display with default language content when specific language
translations are unavailable.
* Relaxed product filtering to include items even when exact locale
translations don't exist.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-03-23 14:09:36 +01:00
camilleislasse
5201d3f1df fix: add default filter to breadcrumbs configuration title to prevent ScalarDataBag exception 2026-03-21 18:59:47 +01:00
Simon Krull
d6147b4a38 TASK: improve german translations for CH, DE, and AT 2026-03-21 11:40:52 +01:00
Mateusz
755beff9f2 Do not overwrite province fields when both are null 2026-03-20 13:24:27 +01:00
Mateusz
71cb8d9b9f Add API test for updating cart address with provinceName only 2026-03-19 09:20:39 +01:00
TheMilek
668e6e84e2
Change application's version to v2.2.5-dev 2026-03-18 20:28:54 +01:00
TheMilek
9ed462324b
Generate changelog for v2.2.4 2026-03-18 20:27:11 +01:00
TheMilek
2c53b603d7
Change application's version to v2.2.4 2026-03-18 20:25:24 +01:00
Kamil Grygierzec
3e449b0f38
[UPMERGE] 2.1 -> 2.2 (#18923)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.3/.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.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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.
2026-03-18 20:18:56 +01:00
TheMilek
a56b847e91
Change application's version to v2.1.14-dev 2026-03-18 20:18:00 +01:00
TheMilek
25212bf2e2
Change application's version to v2.1.13 2026-03-18 20:17:04 +01:00
Jan Góralski
4176a8b205
Telemetry improvements 2.1 (#18920)
| Q               | A
|-----------------|-----
| Branch?         | 2.1 <!-- see the comment below -->
| Bug fix?        | yes
| New feature?    | no
| Related tickets | fixes #18905
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.14 or 2.1 branch
 - Features and deprecations must be submitted against the 2.2 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
-->
 ### What changed

**Per-query SQL timeouts** - Telemetry has been improved with per-query
database timeouts. If any query exceeds the limit, it is immediately
  interrupted and falls back gracefully with empty data.

The global query timeout (in milliseconds, default: 60000, minimum:
1000) is configurable via environment variable:
```
  SYLIUS_TELEMETRY_QUERY_TIMEOUT=30000
```
**Improved TelemetryListener caching** - Telemetry collection is now
rate-limited. Once triggered, it will be skipped for the next hour,
preventing concurrent and redundant data collection on frequent admin
page loads.

**PostgreSQL compatibility** - Fixed boolean comparisons in telemetry
providers (`enabled = 1` → `enabled = true`)
2026-03-18 17:06:20 +01:00
TheMilek
291be2a7c7
Add upgrade file 2026-03-18 15:34:17 +01:00
TheMilek
7458fb9fc8
Telemetry improvements 2026-03-18 15:34:16 +01:00
Mateusz
9756a8296c Allow updating provinceName when provinceCode is null in API address mapper 2026-03-18 13:20:59 +01:00
Jan Góralski
f01ac8dbd7
[UPMERGE] 2.1 -> 2.2 (#18902)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.3/.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.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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.
2026-03-17 15:10:18 +01:00
Jan Goralski
1e226ce8cc
Resolve conflicts between 2.1 and 2.2 2026-03-17 13:54:08 +01:00
Kamil Grygierzec
caab66d400
[BUGFIX] fix build errors (#18911)
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes build errors
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.14 or 2.1 branch
 - Features and deprecations must be submitted against the 2.2 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
-->
2026-03-17 12:10:09 +01:00