Skip to content

Commit 336d766

Browse files
committed
Release 2.2.0
1 parent 716fe70 commit 336d766

38 files changed

+1129
-726
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111
- uses: php-actions/composer@v6
1212
with:
1313
php_version: 8.1
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626

2727
steps:
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v3
2929
- uses: php-actions/composer@v6
3030
with:
3131
php_version: 8.1

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@ All notable changes to `shopware-php-sdk` will be documented in this file.
44

55
Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
66

7+
### 2.2.0
8+
- Compatibility with Shopware 6.6.10.0
9+
- Update Criteria to support partial loading (Criteria.addFields)
10+
- Added `Repository::aggregate` method to fetch aggregated data
11+
- Fixes #89 Missing associated entities with same type in repository requests
12+
- Fixes #86 Notification classes (definition, entity, collection) are missing
13+
- Fixes #96 Class "Vin\ShopwareSdk\Data\Entity\Custom\CustomDefinition" not found
14+
- Fixes #98 Deleting a Version does not work
15+
- Fixes add custom definition, @see: examples/custom-entity.php for code example
16+
- Throw ShopUnreachableException when the shop server is unreachable
17+
- Fixes `Repository.syncDeleted` to use the same http client as the repository
18+
- Fixes #87 Extensions not loaded into ProductEntity
19+
- Fixes #50 Work with custom entities
20+
- Fixes #78 Allowed memory size exhausted
21+
- Added #77 Add support for criteria in SyncService / SyncPayload (@see: examples/sync-service.php)
22+
23+
### 2.1.0
24+
- Updated the entity-schema for Shopware version 6.6
25+
726
### 2.0.0
827
- Updated the entity-schema for Shopware version 6.5
928
- Added EndPointTrait for supporting to remove the unnecessary last slashes of an endpoint

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "A PHP SDK for Shopware 6 Platform",
44
"type": "library",
55
"license": "MIT",
6-
"version": "2.1.0",
6+
"version": "2.2.0",
77
"authors": [
88
{
99
"name": "vin",
@@ -15,15 +15,16 @@
1515
"php": "^8.0 || ^8.1 || ^8.2 || ^8.3",
1616
"ext-json": "*",
1717
"guzzlehttp/guzzle": "^7.0",
18-
"psr/http-client": "^1.0"
18+
"psr/http-client": "^1.0",
19+
"guzzlehttp/psr7": "^2.7"
1920
},
2021
"require-dev": {
2122
"phpunit/phpunit": "*",
2223
"squizlabs/php_codesniffer": "3.*",
2324
"symplify/easy-coding-standard": "9.3.20",
2425
"symplify/config-transformer": "^9.3",
25-
"phpstan/phpstan": "^0.12.89",
26-
"symfony/var-dumper": "^5.3"
26+
"symfony/var-dumper": "^5.3",
27+
"phpstan/phpstan": "^2.1"
2728
},
2829
"autoload": {
2930
"psr-4": {
@@ -36,7 +37,7 @@
3637
}
3738
},
3839
"scripts": {
39-
"ecs": "vendor/bin/ecs check src",
40+
"ecs": "vendor/bin/ecs check src --fix",
4041
"test": "vendor/bin/phpunit",
4142
"check-style": "phpcs src",
4243
"analyse": "vendor/bin/phpstan analyse src",

0 commit comments

Comments
 (0)