Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,35 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
php_version: 8.1
php_version: 8.2
ssh_key: ${{ secrets.ssh_key }}
ssh_key_pub: ${{ secrets.ssh_key_pub }}

- name: PHPStan Static Analysis
uses: php-actions/phpstan@v3
with:
php_version: 8.1
php_version: 8.2
path: src/
memory_limit: 256M

build-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
php_version: 8.1
php_version: 8.2
ssh_key: ${{ secrets.ssh_key }}
ssh_key_pub: ${{ secrets.ssh_key_pub }}

- name: PHPUnit Tests
uses: php-actions/phpunit@v2
with:
php_version: 8.1
php_version: 8.2
bootstrap: vendor/autoload.php
configuration: phpunit.xml
ssh_key: ${{ secrets.ssh_key }}
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ All notable changes to `shopware-php-sdk` will be documented in this file.

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

### 2.2.0
- Compatibility with Shopware 6.6.10.0
- Update Criteria to support partial loading (Criteria.addFields)
- Added `Repository::aggregate` method to fetch aggregated data
- Fixes #89 Missing associated entities with same type in repository requests
- Fixes #86 Notification classes (definition, entity, collection) are missing
- Fixes #96 Class "Vin\ShopwareSdk\Data\Entity\Custom\CustomDefinition" not found
- Fixes #98 Deleting a Version does not work
- Fixes add custom definition, @see: examples/custom-entity.php for code example
- Throw ShopUnreachableException when the shop server is unreachable
- Fixes `Repository.syncDeleted` to use the same http client as the repository
- Fixes #87 Extensions not loaded into ProductEntity
- Fixes #50 Work with custom entities
- Fixes #78 Allowed memory size exhausted
- Added #77 Add support for criteria in SyncService / SyncPayload (@see: examples/sync-service.php)

### 2.1.0
- Updated the entity-schema for Shopware version 6.6

### 2.0.0
- Updated the entity-schema for Shopware version 6.5
- Added EndPointTrait for supporting to remove the unnecessary last slashes of an endpoint
Expand Down
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A PHP SDK for Shopware 6 Platform",
"type": "library",
"license": "MIT",
"version": "2.1.0",
"version": "2.2.0",
"authors": [
{
"name": "vin",
Expand All @@ -15,15 +15,16 @@
"php": "^8.0 || ^8.1 || ^8.2 || ^8.3",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.0",
"psr/http-client": "^1.0"
"psr/http-client": "^1.0",
"guzzlehttp/psr7": "^2.7"
},
"require-dev": {
"phpunit/phpunit": "*",
"squizlabs/php_codesniffer": "3.*",
"symplify/easy-coding-standard": "9.3.20",
"symplify/config-transformer": "^9.3",
"phpstan/phpstan": "^0.12.89",
"symfony/var-dumper": "^5.3"
"symfony/var-dumper": "^5.3",
"phpstan/phpstan": "^2.1"
},
"autoload": {
"psr-4": {
Expand All @@ -36,7 +37,7 @@
}
},
"scripts": {
"ecs": "vendor/bin/ecs check src",
"ecs": "vendor/bin/ecs check src --fix",
"test": "vendor/bin/phpunit",
"check-style": "phpcs src",
"analyse": "vendor/bin/phpstan analyse src",
Expand Down
Loading
Loading