-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
68 changed files
with
280 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
TEST_PROJECT_ROOT_DIR: "${{ github.workspace }}" | ||
|
||
PIMCORE_CODECEPTION_FRAMEWORK: "${{ github.workspace }}/pimcore-codeception-framework" | ||
PIMCORE_CODECEPTION_VERSION: "2.0" | ||
PIMCORE_CODECEPTION_VERSION: "3.0" | ||
|
||
APP_ENV: test | ||
PIMCORE_TEST_DB_DSN: "mysql://root:[email protected]:3306/dachcom_bundle_test" | ||
|
@@ -37,12 +37,12 @@ jobs: | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
strategy: | ||
matrix: | ||
php: [ 8.1 ] | ||
symfony: [ ^5.4 ] | ||
pimcore: [ ~10.6.0 ] | ||
php: [ 8.2 ] | ||
symfony: [ ^6.2 ] | ||
pimcore: [ ~11.0.0 ] | ||
include: | ||
- pimcore: ~10.6.0 | ||
template_tag: v10.2.5 | ||
- pimcore: ~11.0.0 | ||
template_tag: v11.0.0 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
@@ -105,7 +105,7 @@ jobs: | |
run: | | ||
composer config "minimum-stability" "dev" | ||
composer config "prefer-stable" true | ||
sed -i 's,\("dachcom-digital\/dynamic-search"\): "\(.*\)",\1: "2.x-dev",g' ${{ github.workspace }}/lib/test-bundle/composer.json | ||
sed -i 's,\("dachcom-digital\/dynamic-search"\): "\(.*\)",\1: "3.x-dev",g' ${{ github.workspace }}/lib/test-bundle/composer.json | ||
chmod +x ./pimcore-codeception-framework/src/_etc/scripts/composer.sh | ||
./pimcore-codeception-framework/src/_etc/scripts/composer.sh | ||
|
@@ -117,4 +117,4 @@ jobs: | |
continue-on-error: true | ||
run: | | ||
bin/console cache:warmup --env=test | ||
vendor/bin/ecs check ${{ github.workspace }}/lib/test-bundle/src/DsTrinityDataBundle --config ${{ github.workspace }}/lib/test-bundle/ecs.php | ||
vendor/bin/ecs check ${{ github.workspace }}/lib/test-bundle/src --config ${{ github.workspace }}/lib/test-bundle/ecs.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
TEST_PROJECT_ROOT_DIR: "${{ github.workspace }}" | ||
|
||
PIMCORE_CODECEPTION_FRAMEWORK: "${{ github.workspace }}/pimcore-codeception-framework" | ||
PIMCORE_CODECEPTION_VERSION: "2.0" | ||
PIMCORE_CODECEPTION_VERSION: "3.0" | ||
|
||
APP_ENV: test | ||
PIMCORE_TEST_DB_DSN: "mysql://root:[email protected]:3306/dachcom_bundle_test" | ||
|
@@ -37,12 +37,12 @@ jobs: | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
strategy: | ||
matrix: | ||
php: [ 8.1 ] | ||
symfony: [ ^5.4 ] | ||
pimcore: [ ~10.6.0 ] | ||
php: [ 8.2 ] | ||
symfony: [ ^6.2 ] | ||
pimcore: [ ~11.0.0 ] | ||
include: | ||
- pimcore: ~10.6.0 | ||
template_tag: v10.2.5 | ||
- pimcore: ~11.0.0 | ||
template_tag: v11.0.0 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
@@ -105,7 +105,7 @@ jobs: | |
run: | | ||
composer config "minimum-stability" "dev" | ||
composer config "prefer-stable" true | ||
sed -i 's,\("dachcom-digital\/dynamic-search"\): "\(.*\)",\1: "2.x-dev",g' ${{ github.workspace }}/lib/test-bundle/composer.json | ||
sed -i 's,\("dachcom-digital\/dynamic-search"\): "\(.*\)",\1: "3.x-dev",g' ${{ github.workspace }}/lib/test-bundle/composer.json | ||
chmod +x ./pimcore-codeception-framework/src/_etc/scripts/composer.sh | ||
./pimcore-codeception-framework/src/_etc/scripts/composer.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,10 @@ | ||
# Upgrade Notes | ||
|
||
## 2.0.2 | ||
- [BUGFIX] `object_relations_getter_extractor` respect arguments (#23) | ||
- [FEATURE] `object_getter_extractor` more flexibility (#24) | ||
- support mixed types | ||
- `transform_callback` option | ||
|
||
## 2.0.1 | ||
- [BUGFIX] Add null coalescing operator to `$options['asset_limit']` in `AssetListBuilder:getList()` | ||
- [BUGFIX] Allow `null` as locale value `normalizer_value_callback` | ||
|
||
## Migrating from Version 1.x to Version 2.0.0 | ||
## Migrating from Version 2.x to Version 3.0.0 | ||
|
||
### Global Changes | ||
- PHP8 return type declarations added: you may have to adjust your extensions accordingly | ||
- `ProxyResolverInterface` (also the corresponding `ObjectProxyResolver` service) and tag `ds_trinity_data.proxy_resolver`has been removed, you have to use | ||
the [resource validator](https://github.com/dachcom-digital/pimcore-dynamic-search/blob/master/docs/40_ResourceValidator.md) now: | ||
- Method `checkResourceProxy` from `DataProviderService` has been removed | ||
- Option `object_proxy_identifier` and `object_proxy_settings` in provider configuration have been removed | ||
- Event `DataProxyEvent` via `DsTrinityDataEvents::PROXY_DEFAULT_DATA_OBJECT` has been removed | ||
- The option `object_ignore_unpublished` and `object_ignore_unpublished` has [been removed](https://github.com/dachcom-digital/pimcore-dynamic-search-data-provider-trinity/issues/16) | ||
- ⚠️ By default, unpublished elements will be fetched **by default**. Read more about this problematic fact [here](./docs/10_publishUnpublishedElements.md) | ||
- Recommended folder structure by symfony adopted | ||
|
||
*** | ||
|
||
1.x Upgrade Notes: https://github.com/dachcom-digital/dynamic-search-data-provider-trinity/blob/1.x/UPGRADE.md | ||
2.x Upgrade Notes: https://github.com/dachcom-digital/pimcore-dynamic-search-data-provider-trinity/blob/2.x/UPGRADE.md |
Oops, something went wrong.