Skip to content

Commit d0494d4

Browse files
authored
Merge pull request #64 from codebar-ag/feature-backwards
Feature Backwards
2 parents 7e5d0b1 + 62a06f4 commit d0494d4

File tree

4 files changed

+49
-18
lines changed

4 files changed

+49
-18
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
test:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
13-
fail-fast: true
13+
fail-fast: false
1414
matrix:
1515
os: [ ubuntu-latest, windows-latest ]
16-
php: [ 8.2 ]
17-
laravel: [ 9.* ]
16+
php: [ 8.2,8.1 ]
17+
laravel: [9.* ]
1818
stability: [ prefer-lowest, prefer-stable ]
1919
include:
2020
- laravel: 9.*

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22

33
All notable changes to `laravel-docuware` will be documented in this file.
44

5+
## 2.0.0 pre-release
6+
### General
7+
- Dropped support below PHP 8.1
8+
- Dropped Support below Laravel 9.0
9+
10+
### DocuWare
11+
- Added dynamic timeout via the configuration file
12+
```
13+
'timeout' => env('DOCUWARE_TIMEOUT', 30),
14+
```
15+
16+
- Dropped date methods dateFrom & dateUntil (**BREAKING**!)
17+
```
18+
->dateFrom(Carbon::create(2021, 3, 1))
19+
->dateUntil(Carbon::create(2021, 4, 1))
20+
```
21+
22+
- Added a more flexible way to filter date fields
23+
24+
```
25+
->filterDate('DWSTOREDATETIME','>=',Carbon::create(2021, 3, 1))
26+
->filterDate('DWSTOREDATETIME','<',Carbon::create(2021, 4, 1))
27+
```
28+
29+
530
## 1.3.0 - 2022-12-21
631

732
- Added support for Table Fields that have been implemented in Docuware >= 7.1

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ then optimize the processes that power the core of your business.
2222

2323
### > = v2.0
2424

25-
- PHP: `^8.2`
26-
- Laravel: `^9.*` || Laravel: `^10.*`
25+
- PHP: `^8.1` |`^8.2`
26+
- Laravel: `^9.*`
2727
- DocuWare Cloud Access
28-
-
28+
-
29+
2930
### > = v1.2
3031

3132
- PHP: `^8.1`
@@ -609,6 +610,7 @@ cp phpunit.xml.dist phpunit.xml
609610
Modify environment variables in the phpunit.xml-file:
610611

611612
```xml
613+
612614
<env name="DOCUWARE_URL" value="https://domain.docuware.cloud"/>
613615
<env name="DOCUWARE_USERNAME" value="[email protected]"/>
614616
<env name="DOCUWARE_PASSWORD" value="password"/>
@@ -649,6 +651,7 @@ Please review [our security policy](.github/SECURITY.md) on how to report securi
649651
## 🙏 Credits
650652

651653
- [Sebastian Fix](https://github.com/StanBarrows)
654+
- [Faissal Wahabali](https://github.com/faissaloux)
652655
- [Ruslan Steiger](https://github.com/SuddenlyRust)
653656
- [All Contributors](../../contributors)
654657
- [Skeleton Repository from Spatie](https://github.com/spatie/package-skeleton-laravel)

composer.json

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,28 @@
1818
"homepage": "https://www.codebar.ch",
1919
"role": "Sofware-Engineer"
2020
},
21+
{
22+
"name": "Faissal Wahabali",
23+
"role": "Software-Developer"
24+
},
2125
{
2226
"name": "Ruslan Steiger",
2327
"role": "Software-Developer"
24-
2528
}
2629
],
2730
"require": {
28-
"php": "^8.2",
31+
"php": "^8.1",
2932
"guzzlehttp/guzzle": "^7.5",
30-
"illuminate/contracts": "^9.0",
33+
"illuminate/contracts": "^9.0|^10.0",
3134
"spatie/laravel-ignition": "^1.6",
32-
"spatie/laravel-package-tools": "^1.13.0",
35+
"spatie/laravel-package-tools": "^1.14.0",
3336
"nesbot/carbon": "^2.64.0"
3437
},
3538
"require-dev": {
36-
"laravel/pint": "^1.3",
39+
"laravel/pint": "^1.0",
3740
"nunomaduro/collision": "^6.0",
38-
"nunomaduro/larastan": "^2.0",
39-
"orchestra/testbench": "^7.0",
41+
"nunomaduro/larastan": "^2.0.1",
42+
"orchestra/testbench": "^7.7|^8.0",
4043
"pestphp/pest": "^1.21",
4144
"pestphp/pest-plugin-laravel": "^1.1",
4245
"pestphp/pest-plugin-parallel": "^1.2",
@@ -57,18 +60,18 @@
5760
}
5861
},
5962
"scripts": {
60-
"psalm": "vendor/bin/psalm",
61-
"test": "./vendor/bin/testbench package:test --no-coverage",
62-
"test-coverage": "vendor/bin/pest --coverage-html coverage",
63-
"format": "vendor/bin/php-cs-fixer fix --allow-risky=yes"
63+
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
64+
"analyse": "vendor/bin/phpstan analyse",
65+
"test": "vendor/bin/pest",
66+
"test-coverage": "vendor/bin/pest --coverage",
67+
"format": "vendor/bin/pint"
6468
},
6569
"config": {
6670
"sort-packages": true,
6771
"allow-plugins": {
6872
"composer/package-versions-deprecated": true,
6973
"phpstan/extension-installer": true,
7074
"pestphp/pest-plugin": true
71-
7275
}
7376
},
7477
"extra": {

0 commit comments

Comments
 (0)