Skip to content

Commit 0f487b2

Browse files
authored
Merge pull request #99 from vienthuong/release-2-2-0
Release 2.2.0
2 parents 716fe70 + 855faea commit 0f487b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1251
-853
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,35 @@ 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:
13-
php_version: 8.1
13+
php_version: 8.2
1414
ssh_key: ${{ secrets.ssh_key }}
1515
ssh_key_pub: ${{ secrets.ssh_key_pub }}
1616

1717
- name: PHPStan Static Analysis
1818
uses: php-actions/phpstan@v3
1919
with:
20-
php_version: 8.1
20+
php_version: 8.2
2121
path: src/
2222
memory_limit: 256M
2323

2424
build-test:
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:
31-
php_version: 8.1
31+
php_version: 8.2
3232
ssh_key: ${{ secrets.ssh_key }}
3333
ssh_key_pub: ${{ secrets.ssh_key_pub }}
3434

3535
- name: PHPUnit Tests
3636
uses: php-actions/phpunit@v2
3737
with:
38-
php_version: 8.1
38+
php_version: 8.2
3939
bootstrap: vendor/autoload.php
4040
configuration: phpunit.xml
4141
ssh_key: ${{ secrets.ssh_key }}

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)