Skip to content
Merged
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -609,6 +610,7 @@ cp phpunit.xml.dist phpunit.xml
Modify environment variables in the phpunit.xml-file:

```xml

<env name="DOCUWARE_URL" value="https://domain.docuware.cloud"/>
<env name="DOCUWARE_USERNAME" value="user@domain.test"/>
<env name="DOCUWARE_PASSWORD" value="password"/>
Expand Down Expand Up @@ -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)
Expand Down
27 changes: 15 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -57,18 +60,18 @@
}
},
"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,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"phpstan/extension-installer": true,
"pestphp/pest-plugin": true

}
},
"extra": {
Expand Down