diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bcce1410..b032778f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,11 +10,11 @@ jobs: test: runs-on: ${{ matrix.os }} strategy: - fail-fast: true + fail-fast: false matrix: os: [ ubuntu-latest, windows-latest ] - php: [ 8.2 ] - laravel: [ 9.* ] + php: [ 8.2,8.1 ] + laravel: [9.* ] stability: [ prefer-lowest, prefer-stable ] include: - laravel: 9.* diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e8e08b5..272543fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ All notable changes to `laravel-docuware` will be documented in this file. +## 2.0.0 pre-release +### General +- Dropped support below PHP 8.1 +- Dropped Support below Laravel 9.0 + +### DocuWare +- Added dynamic timeout via the configuration file +``` + 'timeout' => env('DOCUWARE_TIMEOUT', 30), +``` + +- Dropped date methods dateFrom & dateUntil (**BREAKING**!) +``` + ->dateFrom(Carbon::create(2021, 3, 1)) + ->dateUntil(Carbon::create(2021, 4, 1)) +``` + +- Added a more flexible way to filter date fields + +``` + ->filterDate('DWSTOREDATETIME','>=',Carbon::create(2021, 3, 1)) + ->filterDate('DWSTOREDATETIME','<',Carbon::create(2021, 4, 1)) +``` + + ## 1.3.0 - 2022-12-21 - Added support for Table Fields that have been implemented in Docuware >= 7.1 diff --git a/README.md b/README.md index a78a21b5..5c921161 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,11 @@ then optimize the processes that power the core of your business. ### > = v2.0 -- PHP: `^8.2` -- Laravel: `^9.*` || Laravel: `^10.*` +- PHP: `^8.1` |`^8.2` +- Laravel: `^9.*` - DocuWare Cloud Access -- +- + ### > = v1.2 - PHP: `^8.1` @@ -609,6 +610,7 @@ cp phpunit.xml.dist phpunit.xml Modify environment variables in the phpunit.xml-file: ```xml + @@ -649,6 +651,7 @@ Please review [our security policy](.github/SECURITY.md) on how to report securi ## 🙏 Credits - [Sebastian Fix](https://github.com/StanBarrows) +- [Faissal Wahabali](https://github.com/faissaloux) - [Ruslan Steiger](https://github.com/SuddenlyRust) - [All Contributors](../../contributors) - [Skeleton Repository from Spatie](https://github.com/spatie/package-skeleton-laravel) diff --git a/composer.json b/composer.json index 3d6676c7..4bfdacf4 100644 --- a/composer.json +++ b/composer.json @@ -18,25 +18,28 @@ "homepage": "https://www.codebar.ch", "role": "Sofware-Engineer" }, + { + "name": "Faissal Wahabali", + "role": "Software-Developer" + }, { "name": "Ruslan Steiger", "role": "Software-Developer" - } ], "require": { - "php": "^8.2", + "php": "^8.1", "guzzlehttp/guzzle": "^7.5", - "illuminate/contracts": "^9.0", + "illuminate/contracts": "^9.0|^10.0", "spatie/laravel-ignition": "^1.6", - "spatie/laravel-package-tools": "^1.13.0", + "spatie/laravel-package-tools": "^1.14.0", "nesbot/carbon": "^2.64.0" }, "require-dev": { - "laravel/pint": "^1.3", + "laravel/pint": "^1.0", "nunomaduro/collision": "^6.0", - "nunomaduro/larastan": "^2.0", - "orchestra/testbench": "^7.0", + "nunomaduro/larastan": "^2.0.1", + "orchestra/testbench": "^7.7|^8.0", "pestphp/pest": "^1.21", "pestphp/pest-plugin-laravel": "^1.1", "pestphp/pest-plugin-parallel": "^1.2", @@ -57,10 +60,11 @@ } }, "scripts": { - "psalm": "vendor/bin/psalm", - "test": "./vendor/bin/testbench package:test --no-coverage", - "test-coverage": "vendor/bin/pest --coverage-html coverage", - "format": "vendor/bin/php-cs-fixer fix --allow-risky=yes" + "post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi", + "analyse": "vendor/bin/phpstan analyse", + "test": "vendor/bin/pest", + "test-coverage": "vendor/bin/pest --coverage", + "format": "vendor/bin/pint" }, "config": { "sort-packages": true, @@ -68,7 +72,6 @@ "composer/package-versions-deprecated": true, "phpstan/extension-installer": true, "pestphp/pest-plugin": true - } }, "extra": {