Commit graph

40444 commits

Author SHA1 Message Date
Kamil Grygierzec
4265c13e88
Fix menu taxon code 2026-01-15 08:47:05 +01:00
Kamil Grygierzec
e4d3df0dfe
[DX] Update branch aliases to 1.14-dev (#18707)
Updates the `branch-alias` in all `composer.json` files from `1.13-dev`
to `1.14-dev`.

Affects all bundles and components (41 files).
2026-01-14 17:05:36 +01:00
Rafikooo
2f3fdb3a51
[DX] Update branch aliases to 1.14-dev 2026-01-14 14:29:44 +01:00
TheMilek
e8ce73da70
Minor fix and extend the MetadataMerger tests 2026-01-14 14:08:12 +01:00
Jan Esser
eaca439f27
fix merging of data failes or has existing data go missing
in case certain xml keys are missing from extending config
like properties, item opteration, collection operations or resources
2026-01-14 12:14:24 +01:00
Loïc Frémont
b1a230de56 Fix tests application error templates 2026-01-14 09:05:19 +01:00
TheMilek
168158a911
Remove duplicated require-dev packages 2026-01-13 14:43:59 +01:00
Kamil Grygierzec
d2dd2011fd
[UPMERGE] 2.1 -> 2.2 (#18695)
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.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.

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

* **Chores**
* Removed an unused import and broadened PSR HTTP Message compatibility
in project manifests.
* **Tests**
  * Minor formatting adjustments in test files; no behavioral changes.

<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-01-13 12:59:39 +01:00
Grzegorz Sadowski
b1cb92010b
Try to fix build with PHP 8.5 and 8.4 (#18716)
| Q               | A
|-----------------|-----
| Branch?         | 2.2 <!-- 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.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-01-13 11:14:47 +01:00
TheMilek
6804edaa31
Try to fix build with PHP 8.5 and 8.4 2026-01-13 10:50:03 +01:00
Rafikooo
f3c445417a
[DX] Improve AI contribution guidelines with reference files and patterns 2026-01-09 14:48:43 +01:00
Rafał Jaskulski
2dc4d88452
[UPMERGE] 1.14 -> 2.1 (#18694)
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 1.14 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.
2026-01-07 00:27:52 +01:00
Rafikooo
c4303d3faf
Resolve conflicts between 1.14 and 2.1 2026-01-06 23:52:55 +01:00
Rafikooo
3f8b267176
[Composer] Add liip/imagine-bundle 2.17.0 conflict
Version 2.17.0 adds AssetMapper support but breaks container compilation
when AssetMapper is not being used.
2026-01-05 16:06:04 +01:00
Rafikooo
c9bfc5b989
[AdminBundle][ApiBundle][CoreBundle] Add willdurand/hateoas-bundle to require-dev
ResourceBundle 1.12 moved willdurand/hateoas-bundle from require to require-dev.
These bundles use BazingaHateoasBundle in their test kernels.
2026-01-05 16:01:25 +01:00
Rafikooo
d17ef7b3f0
[Bundles] Add missing dev dependencies for functional tests
ResourceBundle 1.12 moved several packages from require to require-dev.
Bundle functional tests that use these packages now need explicit deps.
2026-01-05 16:01:25 +01:00
Rafikooo
e57a5caa62
[Composer] Remove outdated twig/twig conflicts from bundles
Remove legacy twig/twig version conflicts:
- Remove ^3.0 conflict (added in 2019, already removed in Sylius 2.0+)
- Remove ^1.0 conflict (Twig 1.x reached EOL years ago)

Keep twig/twig:3.9.0 conflict as it's a specific buggy version
documented in CONFLICTS.md.

Since Twig 2.x reached EOL in December 2023, these conflicts blocked
users of standalone bundles from upgrading to Twig 3.x.

Closes #18700
2026-01-05 16:01:25 +01:00
Jan Góralski
f9b84cef6c
[Deps] Allow psr/http-message ^2.0 (#18703)
Adding this to 1.14 for better flexibility when upgrading projects. This
is not a BC break - it only extends the allowed versions without forcing
any changes.

Many modern libraries now require `psr/http-message: ^2.0` exclusively.
Sylius only uses the interfaces as type hints without implementing them,
so supporting both versions is safe. Backporting to 1.14 benefits end
applications that want to upgrade their dependencies.

Ref: https://github.com/Sylius/Sylius/issues/18698
2026-01-05 14:26:06 +01:00
Rafikooo
9998fa4140
[Deps] Allow psr/http-message ^2.0 2026-01-05 13:49:08 +01:00
Jan Góralski
84b970ed07
[CI] Standardize job timeouts to 15 minutes (#18693)
Standardizes `timeout-minutes` across all CI workflow files to 15
minutes. Previously values ranged from 5 to 45 minutes.

Affected workflows:
- `ci__full_*.yaml` - notification jobs (5 -> 15)
- `ci_e2e-*.yaml` - e2e tests (45 -> 15)
- `ci_js.yaml` - JS tests (10 -> 15)
- `ci_packages*.yaml` - package tests (25 -> 15)
- `refactor.yaml`, `upmerge_pr.yaml` - utility jobs (5 -> 15)

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

## Summary by CodeRabbit

* **Chores**
* Adjusted CI/CD pipeline job timeout configurations across multiple
workflows to better align with actual execution requirements, with some
jobs having increased timeouts and others optimized to reduced
durations.

<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-01-05 11:58:35 +01:00
Rafał Jaskulski
06d402e560
[CS][DX] Refactor (#18689)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/2.1/.github/workflows/refactor.yaml).
2025-12-19 15:29:06 +01:00
Rafikooo
bcf064385c
[CI] Standardize job timeouts to 15 minutes 2025-12-19 14:38:55 +01:00
Rafał Jaskulski
1b49612af2
[CS][DX] Refactor (#18690)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/2.1/.github/workflows/refactor.yaml).
2025-12-19 09:17:05 +01:00
Rafał Jaskulski
88c123e98e
[CS][DX] Refactor (#18691)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/2.1/.github/workflows/refactor.yaml).
2025-12-19 09:16:34 +01:00
Sylius Bot
9f631378db [CS][DX] Refactor 2025-12-19 02:36:57 +00:00
Sylius Bot
a8dfa7e95c [CS][DX] Refactor 2025-12-19 02:36:26 +00:00
Sylius Bot
3b90c8a170 [CS][DX] Refactor 2025-12-19 02:36:19 +00:00
Grzegorz Sadowski
2496e95495
Change application's version to v2.2.2-dev 2025-12-18 17:06:14 +01:00
Grzegorz Sadowski
9838fdf9da
Generate changelog for v2.2.1 2025-12-18 17:05:24 +01:00
Grzegorz Sadowski
47d39a04a6
Change application's version to v2.2.1 2025-12-18 17:04:14 +01:00
Grzegorz Sadowski
880b081f50
Merge branch '2.1' into 2.2
* 2.1:
  Change application's version to v2.1.11-dev
  Generate changelog for v2.1.10
  Change application's version to v2.1.10
2025-12-18 17:03:29 +01:00
Grzegorz Sadowski
8a15fa8ba0
Change application's version to v2.1.11-dev 2025-12-18 17:02:06 +01:00
Grzegorz Sadowski
a41c9d73ff
Generate changelog for v2.1.10 2025-12-18 17:01:25 +01:00
Grzegorz Sadowski
5c71f126a8
Change application's version to v2.1.10 2025-12-18 16:59:54 +01:00
Grzegorz Sadowski
393424c5bb
Merge branch '2.1' into 2.2
* 2.1:
  Change application's version to v1.14.16-dev
  Generate changelog for v1.14.15
  Change application's version to v1.14.15
2025-12-18 16:59:28 +01:00
Grzegorz Sadowski
c0189a2461
Merge branch '1.14' into 2.1
* 1.14:
  Change application's version to v1.14.16-dev
  Generate changelog for v1.14.15
  Change application's version to v1.14.15
2025-12-18 16:59:11 +01:00
Grzegorz Sadowski
ab1f18baea
Change application's version to v1.14.16-dev 2025-12-18 16:53:25 +01:00
Grzegorz Sadowski
d4bef59954
Generate changelog for v1.14.15 2025-12-18 16:53:10 +01:00
Grzegorz Sadowski
52c2f5a194
Change application's version to v1.14.15 2025-12-18 16:52:07 +01:00
Jan Góralski
237accaf31
[UPMERGE] 2.1 -> 2.2 (#18688)
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.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.

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

## Summary by CodeRabbit

* **New Features**
  * Added telemetry collection for enabled countries per channel
* Added metrics tracking for virtual product variants and active
channels count
* Added enabled/disabled status tracking for payment and shipping
methods

* **Bug Fixes**
  * Improved API Platform version detection with fallback mechanism
* Enhanced channel filtering to only include enabled channels in
telemetry data

* **Tests**
* Expanded test coverage for new data providers and schema generation
behavior

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

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-18 16:06:51 +01:00
Jan Góralski
1e1b9e2752
[UPMERGE] 1.14 -> 2.1 (#18687)
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 1.14 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.
2025-12-18 15:17:09 +01:00
TheMilek
c303887ea9
[Telemetry] Fix PHPStan 2025-12-18 14:55:57 +01:00
TheMilek
b894b1a2aa
Resolve conflicts between 1.14 and 2.1 2025-12-18 14:51:48 +01:00
Jan Góralski
897b3e8620
[Telemetry] Fixes and improvements 1.14 (#18680)
| Q               | A
|-----------------|-----
| Branch?         | 1.14 <!-- see the comment below -->
| Bug fix?        | partially
| New feature?    | no
| License         | MIT

  Bug Fixes

  - Fixed hostname resolving in telemetry components
  - Fixed orders count retrieving in telemetry data collection

  New Data Collection

  - Added virtual product variants count to metrics
  - Added enabled channels count to metrics
  - Added countries data collection
  - Improved data structure for payment and shipping providers

  Technical Improvements

- Added listener to skip optional telemetry index from schema validation
  - Added fallback check for API Platform version detection
  - Bumped telemetry schema version
<!--
 - 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
-->
2025-12-18 14:42:19 +01:00
TheMilek
2b81a42b5a
Fix unit versiondataprovider unit test for telemetry 2025-12-18 13:51:38 +01:00
TheMilek
65a4a0cfcd
Fix phpstan for telemetry 2025-12-18 13:42:49 +01:00
TheMilek
375c144f5a
Telemetry fixes 2025-12-18 13:34:30 +01:00
Grzegorz Sadowski
07db78a6ec
Change application's version to v2.2.1-DEV 2025-12-17 13:08:34 +01:00
Grzegorz Sadowski
7aa47be3a6
Generate changelog for v2.2.0 2025-12-17 13:03:57 +01:00
Grzegorz Sadowski
4910f91043
Change application's version to v2.2.0 2025-12-17 12:57:22 +01:00